SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-06-2008, 11:33 AM
bond00 bond00 is offline
Sage User
 
Join Date: Nov 2007
Posts: 36
SageTV Client Choppy HD - Need a Codec Expert!

Here's my problem. It's kind of in-depth, but I'll do my best to explain. I'm using DVB Dream (DVB-S software) as a network encoder to SageTV on my server. I stream the video to a client PC in my living room. I can watch/record h264 HD just fine on the server. The problem is the client. Playback is very choppy. I'm using PowerDVD 7 as my mpeg4 codec on the client and server. Here's what i don't get. If I record the h264 content in DVB Dream and then transfer it to the client pc, I can watch the video just fine using PowerDVD...no problems. If I record the h264 video using SageTV and then transfer to the client, it won't display video in PowereDVD, only audio. When I try to watch live or recorded h264 TV from the client, playback is very choppy. Basically if I recording using DVB Dream, the client will playback the h264 video, but with sagetv, the h264 (.ts file) won't display video in PowerDVD and playback is choppy within the SageTV client software.

I currently have the client configured to use Directshow, but it's almost like its still using the built in sage mpeg4 decoder. I added the following line to my sageclient.properties file., but it didn't do anything.

videoframe/h264_video_decoder_filter=CyberLink H.264/AVC Decoder (PDVD7.x)

At this point, I am totally stumped. I just really want this work! I'm thinking it has something to do with codecs, but I don't know. please let me know of your ideas. Thanks!

Here are my specs:

Server
AMD X2 3.0 Ghz
2 GB RAM
Sage 6.3.10 RC
DVB Dream 1.4i
ATI 2600 Pro - 512 MB

Client
AMD Athlon 2.2 Ghz
1 GB RAM
Nvidia 6200 - 256 MB
Sage Client 6.3.10 RC
Windows XP
Reply With Quote
  #2  
Old 10-05-2008, 09:04 PM
friken friken is offline
New Member
 
Join Date: Oct 2008
Posts: 2
I have a similar setup with slightly differing issue:

I have dvbdream/network encoder setup and working. I use cyberlink 8.x which I have the following issue with:

dvbdream, or through livetv sage mpeg4 is viewable. Both are similar and almost ok. The issue with live sage or dvbdream is the rendering seems like 15-20 FPS and pans/fast motion is really hard to follow. There is also some tearing of the image similar to what you would see in an FPS game with v-sync turned off.

Now for the really crappy part of my problem, recorded mpeg4/h264 channels playback through sage or mplayer both pause out, jerk and get out of sync audio. I have tried other h264 codecs and cyberlink so far is the best I have found. CoreAVC is really bad and crashes at times. Arcsoft, shows first frame and then no video, audio only.

looking at the saved files, they are saved as .mpeg. I expected the h.264 files to be saved in raw stream format (.ts)? I'm wondering if Sagetv is decoding and then mpeg2 encoding them? Anyway to have it not do that assuming that theory is even true?
Reply With Quote
  #3  
Old 10-06-2008, 06:22 AM
jerryt jerryt is offline
Sage Fanatic
 
Join Date: Oct 2007
Posts: 832
There is a DeMux buffer hack that is needed for any H.264 codec on a client except Arcsoft Video Decoder.

This line needs to read the exact "Friendly name" of your H.264 codec;
videoframe/h264_video_decoder_filter=CyberLink H.264/AVC Decoder (PDVD7.x)

Verify the 7.x part of the name with a program like DirectShow Filter manager
Reply With Quote
  #4  
Old 10-06-2008, 07:50 AM
redondo_se redondo_se is offline
Sage Advanced User
 
Join Date: May 2007
Posts: 191
Quote:
Originally Posted by jerryt View Post
There is a DeMux buffer hack that is needed for any H.264 codec on a client except Arcsoft Video Decoder.
The hack you're referring to is a registy setting for the SageTV demux filter:

HKEY_LOCAL_MACHINE\SOFTWARE\FreyTechnologies\Common\DSFilters\MpegDeMux\NumBuffers

It's default value is 40 (hex). I use 80 (hex). Others have reported that 60 works ...
Reply With Quote
  #5  
Old 10-06-2008, 12:29 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
I'm afraid your client machine probably isn't powerful enough to playback 1080 H.264. It may be able to do 720p but doubtful if it can do 1080i/p well, if at all.

Your processor isn't powerful enough for software decoding and your video card doesn't have acceleration for H.264 video.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #6  
Old 10-06-2008, 01:10 PM
CollinR CollinR is offline
Sage Icon
 
Join Date: Dec 2004
Location: Tulsa, OK
Posts: 1,305
Quote:
Originally Posted by Taddeusz View Post
I'm afraid your client machine probably isn't powerful enough to playback 1080 H.264. It may be able to do 720p but doubtful if it can do 1080i/p well, if at all.

Your processor isn't powerful enough for software decoding and your video card doesn't have acceleration for H.264 video.
Thats kinda what I'm thinking, 85/8600 GT is rather inexpensive and has h.264 hardware support.
Reply With Quote
  #7  
Old 10-06-2008, 11:28 PM
friken friken is offline
New Member
 
Join Date: Oct 2008
Posts: 2
Hmm.. I wouldn't think that my issue is hardware due to <60% cpu usage.

I have several machines, the sagetv server is
My machine CPU core 2 duo 2.2GHz
video is GF 8800GTS

and I have three clients running
AMD X2 5000+ w/ 780G video (~3200HD equiv)

both video cards have hardware accel w/ the cyberlink driver. Avivo for the AMD/ATI and purevideoHD for the 8800GTS (I think)

cpu usage is 60-70% on the server w/ client and 50-60% on the client only amd machines.
Reply With Quote
  #8  
Old 10-07-2008, 03:28 PM
ghostlobster's Avatar
ghostlobster ghostlobster is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 340
Send a message via MSN to ghostlobster
Don't overlook the processor. I tried h.264 content on a single core AMD 3000+ and saw some bad stutter. I then put the same video card in a dual core 4600+ and it was perfect. The dual core requirement for h.264 playback is legit.

Also, the 8500GT and 8600GT cards are OK, but they are pretty much the minimum and you still might see some issues. The HD2400 Pro is ok, I've got one on one of my clients, but again, it's minimal. I'd recommend an HD2600XT. Im using that card on my main client, and it performs very very nicely.
__________________
Ghostlobster
Server: Athlon 3000+, 1GB RAM, 2 Hauppauge 150s, HDHomeRun, HD-PVR driving 3 clients.
Client 1 - Athlon 4600 x2, 2 GB RAM, ATI HD2600 XT
Client 2 - Athlon 4200 x2, 1 GB RAM, ATI HD2400 Pro
Client 3 - Athlon 4200 x2, 1 GB RAM, nVidia 8500 GT

Raleigh Computer Repair
Reply With Quote
  #9  
Old 10-07-2008, 03:49 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Quote:
Originally Posted by friken View Post
Hmm.. I wouldn't think that my issue is hardware due to <60% cpu usage.

I have several machines, the sagetv server is
My machine CPU core 2 duo 2.2GHz
video is GF 8800GTS

and I have three clients running
AMD X2 5000+ w/ 780G video (~3200HD equiv)

both video cards have hardware accel w/ the cyberlink driver. Avivo for the AMD/ATI and purevideoHD for the 8800GTS (I think)

cpu usage is 60-70% on the server w/ client and 50-60% on the client only amd machines.
The 8800GTS does not have the advanced H.264 acceleration that the later 8000 series cards have.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #10  
Old 10-08-2008, 07:10 AM
CollinR CollinR is offline
Sage Icon
 
Join Date: Dec 2004
Location: Tulsa, OK
Posts: 1,305
8800is a gaming card, 85/8600 are multimedia focused. Oddly it seems to only be an issue with h.264.
Reply With Quote
  #11  
Old 10-08-2008, 07:23 AM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Quote:
Originally Posted by CollinR View Post
8800is a gaming card, 85/8600 are multimedia focused. Oddly it seems to only be an issue with h.264.
Well, yes, but the 8800gts came out first and as such did not have the more advanced features included. However it does have full MPEG2 acceleration. It doesn't always help to get the latest and greatest card when one of their goals is to get product to market. Features are generally left out in favor of it hitting the shelves.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HD Video stutters when using client PC showson1 SageTV Software 2 02-29-2008 11:12 PM
Client stopped connecting... nettech_gt SageTV Software 5 01-25-2008 09:51 AM
Hate to say it, but DirectTV makes me use Sage much less... Shield General Discussion 27 01-03-2008 11:45 AM
My HD Future unkyjoe General Discussion 13 12-01-2007 08:04 PM
Sage Client slowing HD playback simonen SageTV Software 2 02-01-2007 08:24 PM


All times are GMT -6. The time now is 05:32 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.