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 09-12-2008, 01:57 AM
marcdbl's Avatar
marcdbl marcdbl is offline
Sage User
 
Join Date: Sep 2008
Posts: 12
Dropped Frames in LiveTV

Ok, it's my first post, be nice please!

Here is the problem I am seeing:
  1. I select a channel and start watching. Everthing looks OK.
  2. I pause the channel, and then play again. Everything OK still.
  3. I decide I want to go skip ahead to what is currently 'live', so I skip to the end of the timeshift buffer. At this point video frames start getting dropped, so the playback gets very stuttery, audio remains OK.
  4. {I can workaround the problem by skipping back any amount (just one second is enough)}.
Notably this only really happens when I'm watching an HD channel (I'm in the UK, so HDTV is h264 encoded). It doesn't seem to happen with SDTV (mpeg2).
Has anyone else seen this?

I've tried several settings with no improvement:
  • CoreAVC filter/PowerDVD/SageTV filter.
  • DXVA on/off.
  • Overlay/VMR9.
  • 3D Acceleration on/off.
  • MPEG4 timeshifting on/off.
  • DScaler on/off.
  • Full Screen on/off.
My setup:
  • Windows Vista x86
  • ATI HD3400 (Catalyst 8.8).
  • Hauppage Nova-HD-S2.

Last edited by marcdbl; 09-12-2008 at 01:59 AM.
Reply With Quote
  #2  
Old 09-12-2008, 04:57 AM
ryanagler ryanagler is offline
Sage User
 
Join Date: Sep 2008
Posts: 6
UNLESS YOU HAVE A QUAD-CORE CPU, SAGE WILL ALWAYS GIVE YOU CHOPPY h264 HD PLAYBACK IN VISTA.

Plain and simply, Sage will not use hardware acceleration for h264 under Vista, because Sage doesn't support something called EVR.

I had the exact same problem. I had a Core 2 Duo 2.4GHz with an ATI HD 2600XP and cpu would spike to 100% in Sage playing h264, with 0% GPU usage. But in other players like Arcsoft Theater it would be smooth and at 5% CPU and 30% GPU because Arcsoft Theater supports EVR.

You basically have two options: wipe Vista off the machine and replace it with XP (worked for me). Or, throw massive hardware at it for Vista (Q6600, worked for me)

Don't waste your time toiling with settings -- i tried seemingly everything and never was able to get smooth Vista h264 playback without a quad-core.
Reply With Quote
  #3  
Old 09-12-2008, 07:18 AM
marcdbl's Avatar
marcdbl marcdbl is offline
Sage User
 
Join Date: Sep 2008
Posts: 12
I appreciate what you mean, and I'm aware that DXVA is not going to work in SageTV, however, like I said, h264 plays fine most of the time as long as I don't jump to the end of the timeshift-buffer. So I don't think what I'm seeing here is anything to do with processing power.

However, it has prompted me to watch CPU usage whilst I tried it again, and I saw the following.

1. I select a channel and start watching. Everthing looks OK. [CPU=~60%]
2. I pause the channel, and then play again. Everything OK still. [CPU=~60%]
3. I decide I want to go skip ahead to what is currently 'live', so I skip to the end of the timeshift buffer. At this point video frames start getting dropped, so the playback gets very stuttery, audio remains OK. [CPU=~25%]
4. {I can workaround the problem by skipping back any amount (just one second is enough)}.[CPU=~60%]

This gives me the impression that perhaps the Directshow filter simply isn't receiving enough frames, and the drop in CPU accounts for the fact that the filter isn't working as hard as a result.
Reply With Quote
  #4  
Old 09-12-2008, 08:32 AM
elaw elaw is offline
Sage Advanced User
 
Join Date: Mar 2005
Location: Wilmington, MA, USA
Posts: 179
Here's one thing you could try, it's from another thread here that I can never find...

Go into registry editor, and navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Frey Technologies\Common\DSFilters\MpegDeMux.

Reset the values for the following two entries:
"NumBuffers" set to hex 00000200
"BufferSize" set to hex 00020000

This increases the memory used for buffering video, it did wonders for HD stuttering problems that I had.
__________________
Be alert! America needs more lerts.

Eric Law
Reply With Quote
  #5  
Old 09-12-2008, 10:15 AM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Try increasing these properties for the UI used for playback:

videoframe/local_encoding_to_playback_delay=2000
videoframe/time_behind_live_to_disable_fast_forward=6000
videoframe/time_behind_live_to_disable_skip_forward=4000

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #6  
Old 09-15-2008, 01:47 AM
marcdbl's Avatar
marcdbl marcdbl is offline
Sage User
 
Join Date: Sep 2008
Posts: 12
Quote:
Originally Posted by Opus4 View Post
Try increasing these properties for the UI used for playback:

videoframe/local_encoding_to_playback_delay=2000
videoframe/time_behind_live_to_disable_fast_forward=6000
videoframe/time_behind_live_to_disable_skip_forward=4000
Ah, you beat me to it! I did this over the weekend and it worked, but I now have slow channel-changes.

Could you describe what exactly those three settings mean. I think it's the following:

videoframe/local_encoding_to_playback_delay
- this is the lag (in milliseconds) between a channel-change completing, and video actually appearing on screen
videoframe/time_behind_live_to_disable_fast_forward
- this is as close to real 'live TV' as it is possible to get with fast forward
videoframe/time_behind_live_to_disable_skip_forward
- this is as close to real 'live TV' as it is possible to get with skip forward

I think the best thing to do to stop frame-drops is probably to make these all pretty much the same value (especially the last two), and to make that value as small as possible until frame-drops start. Does this sound right?
Reply With Quote
  #7  
Old 09-15-2008, 05:50 AM
paulbeers paulbeers is offline
SageTVaholic
 
Join Date: Jun 2005
Posts: 2,550
Quote:
Originally Posted by marcdbl View Post
I think the best thing to do to stop frame-drops is probably to make these all pretty much the same value (especially the last two), and to make that value as small as possible until frame-drops start. Does this sound right?

That would be correct. Just keep playing with the figures until the buffer is big enough to not cause problems. I have actually seen this behavior in HD MPEG2 streams in the past so while annoying, it isn't unheard of.
__________________
Sage Server: AMD Athlon II 630, Asrock 785G motherboard, 3GB of RAM, 500GB OS HD in RAID 1 and 2 - 750GB Recording Drives, HDHomerun, Avermedia HD Duet & 2-HDPVRs, and 9.0TB storage in RAID 5 via Dell Perc 5i for DVD storage
Source: Clear QAM and OTA for locals, 2-DishNetwork VIP211's
Clients: 2 Sage HD300's, 2 Sage HD200's, 2 Sage HD100's, 1 MediaMVP, and 1 Placeshifter
Reply With Quote
Reply

Tags
dropping, frames, h264, livetv, stuttering


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
Plugin: Sage Job Queue (SJQ) Slugger SageTV Customizations 991 12-11-2009 03:52 PM
Dedicated tuner for LiveTV - suggestions? wado1971 SageTV Software 6 04-20-2008 10:33 PM
LiveTV vs Intelligent Recordings troycheek SageTV Software 6 03-08-2008 01:53 PM
Screensaver kicking in during LiveTV AtomicPenguin SageTV Software 4 12-24-2006 06:01 PM
3d acceleration causing dropped frames or stutter kny3twalker SageTV Software 31 05-27-2004 07:37 PM


All times are GMT -6. The time now is 08:10 PM.


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