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 08-03-2008, 04:37 AM
GollyJer's Avatar
GollyJer GollyJer is offline
Sage Aficionado
 
Join Date: Nov 2006
Posts: 318
HD-PVR h.264, XP, Vista, Demux, Overlay, VMR9, EVR, DXVA 1/2, What I know...

This post is so I have something to come back to and remind myself about all the things I've determined during the last couple days of research, trial, error, and success. Maybe it will help someone else out and/or spark some good discussion...

I have one basic overriding request of my SageTV system. "Play video flawlessly". The best way to accomplish this is to ensure the DXVA Hardware decoding feature of the video card is being utilized.

I once wrote a post in hopes of helping others attain full dxva support with shiny see-through vmr9 menu effects. That was back in the "dark ages" of Windows XP. I've since moved on to Vista and an Nvidia 8600GT video card which removed the requirement for Full Screen Exclusive mode. Now I can switch between Firefox or any other program without having to exit Sage. All was right with the world. Those were the "good old days..."

Today, we have the HD-PVR. It provides unadulterated HD goodness (ex the HD audio for now) straight from your cable provider of choice. I've made the full switch to three HD-PVRs hooked to three Motorola-DCT6200's controlled by SageTV via firewire channel changing. All my other tuners are now extinct (HVR-950, HD-Fusion, HDHR) and the overall setup is MUCH simpler. However, we're no longer dealing with MPEG2. We're now dealing with h.264. You only have to search for "hd-pvr" to feel the trouble people are having.

Here's what I know:
  1. DXVA = GPU "Hardware" Accelerated video decoding.
  2. Windows XP uses DXVA1. Windows Vista uses DXVA2.
  3. DXVA2 is part of the Microsoft Media Foundation (MF); the multimedia framework/structure built into Windows Vista.
  4. DXVA2 provides superior hardware decoding (among other improvements) but can only be used with Enhanced Video Renderer (EVR) and a compatible decoder.
  5. Modern decoders (Arcsoft, Cyberlink, etc.) are DXVA2 compatible.
  6. DXVA2 is not supported by the Overlay or VMR9 renderers.
  7. Most video software now support EVR. This is why playback looks great in Arcsoft Total Media Extreme, Media Player Classic HC, WMP 11, etc, when using Vista.
  8. Sage does not yet have EVR support. It is difficult to implement with the complexity of SageTV. They are working on it.
  9. DXVA1 is supported in Vista through a realtime translator when using Overlay or VMR9 renderers (which is why there are no problems with MPEG2 recordings in Sage).
  10. For a reason I can't determine, Vista does not execute the DXVA1 translation for h.264 video (which is why we're hitting this hd-pvr playback roadblock with Sage).

Armed with this knowledge, here's what I've done to get DXVA support for HD-PVR 1080i (always the hardest to decode) recordings.
  1. Install a spare hard drive in my Vista/SageTV client machine.
  2. Boot to this drive and install Windows XP with all the Windows Updates and newest hardware drivers so it matches my Vista install.
  3. Install Sage 6.4.6 & Arcsoft Total Media Extreme.
  4. Set SageTV's Audio/Video settings all to "default" except for the renderer which is set to VMR9.
  5. Play an HD-PVR recording while watching the CPU utilization.
  6. 0-2% CPU utilization. Yes! DXVA is working.
  7. Video is stuttering. Damn!
  8. Turn on Full Screen Exclusive (FSE) mode, just like the "dark ages". No stuttering, but pixelated interlacing during fast movement. hmm...
  9. Turn off FSE and switch to Overlay renderer. Perfect playback!

So, it's been two steps forward, one step back, and a shimmy sideways.
What I've gained: A straight forward HD-PVR server setup.
What I've lost: Support for modern shiny see-through menus, a small amount of video quality, the use of Vista as an OS (yes, I know that last one is a matter of personal opinion).

I'll take the gain over the loss at this point. When Sage supports EVR (which will be sweet), or Vista starts translating to DXVA1 for h.264, I'll boot back to my Vista hard drive and get all the losses back.

What do you think? Do you have a different experience with HD-PVR recordings and hardware accelerated video playback? Come with some hard facts if so! I'll keep this post updated with changes as more information comes to light.

TIP: Before trying to fix playback issues determine what video formats your GPU can accelerate. Scroll down to the DXVA Checker section of this Japanese page and click the link that has a size next to it (currently 110kb). The application is in English.

Last edited by GollyJer; 08-09-2008 at 05:04 PM. Reason: Added links to DXVA on MSDN.
Reply With Quote
  #2  
Old 08-04-2008, 03:18 PM
james_k_p james_k_p is offline
Sage Advanced User
 
Join Date: May 2008
Posts: 75
What are your pc specs?

I'd like to get a hd-pvr, but I've had a few issues with mkv stuttering a little with particular 1080p mkv files. This is my main PC, an AMD 6400+ (3.2ghz) with 2 gigs of RAM and a x1900txt radeon on a asrock dual sata2 mb. This is running XP 32bit pro.

Now why I post this is I just found out something interesting last week. I bought a PC from a friend, a INTEL Duo Core 2 6750 (2.6ghz I believe, but I overlocked it to 3ghz) with only 1 gig of RAM. 4GB are on the way from newegg. Anyways, I installed Vista 64bit on it, installed my sagetv on it, and presto...no stuttering on these particular files. This is on a drive with the OS installed on it too without 64k clusters.

So I'm wondering if 64bit OS vs. 32bit really is the difference here, or xp vs. vista, or what. I plan on installing Vista 64bit on a different drive in my AMD to see if I get non-stuttering results too. It's crazy. This intel system is using lame on board video too.

It can't be speed, because the AMD should win out on a test like this. Maybe intel processors do something better when it comes to video decoding? Of course these files play flawless on both systems using media player classic.

So anyways, not to threadjack, but for those reasons...what's your computer specs?

Last edited by james_k_p; 08-04-2008 at 03:21 PM.
Reply With Quote
  #3  
Old 08-04-2008, 05:23 PM
ben_95sl1 ben_95sl1 is offline
Sage Aficionado
 
Join Date: Feb 2005
Posts: 290
Can you include which video card/drivers you are using.
__________________
Server: XP SP3, X2 BE 5000+, WD 1.5TB x 2, PVR150 & HD-PVR, USB-UIRT
Clients: HD300, HD100 x 2, Media MVP in a box somewhere
Reply With Quote
  #4  
Old 08-07-2008, 07:11 AM
bmac.to bmac.to is offline
Sage Advanced User
 
Join Date: Jul 2008
Posts: 127
Great post - thanks.

I am running Vista Ultimate 64-bit with a Hauppauge HVR-2250 tuner connected to OTA. I have one of the ATI Radeon 4850 boards (Avivo mpeg assist).

Since I currently only have one Sage box (no extenders, etc) and I am only running OTA content, I believe I only care about MPEG2 decoding.

What renderer/decoder combination would you expect to yield the best result (quality, low cpu utilization, fancy see-through menus, etc)?

Thanks.
________
EXTREME VAPORIZER REVIEW

Last edited by bmac.to; 03-21-2011 at 05:10 AM.
Reply With Quote
  #5  
Old 08-07-2008, 10:48 PM
GollyJer's Avatar
GollyJer GollyJer is offline
Sage Aficionado
 
Join Date: Nov 2006
Posts: 318
@James & Ben
Asus P5W DH motherboard
Intel E6600
2GB RAM
Nvidia 8600GT Video card (always updated to the newest drivers)
Onboard audio card

@James
That's interesting regarding Vista x64. Are you using VMR9? If so, maybe x64 is able to do the translation to DXVA1 where Vista x86 (32-bit) can't. I have a copy of x64 Vista Ultimate, and although I wouldn't expect it to be different than x86, maybe I'll give it a shot and see.

@BMac
With Vista I never had a problem with the exact specs above and the Cyberlink PowerDVD 7 decoders. With those decoders I followed the same setup as my How I stopped VMR9 Stuttering... post but replace Nvidia with Cyberlink anywhere you read it in the post (mainly the GraphEdit section). Also, Vista releaved the need for Full Screen Exclusive mode.
Reply With Quote
  #6  
Old 08-07-2008, 11:59 PM
GollyJer's Avatar
GollyJer GollyJer is offline
Sage Aficionado
 
Join Date: Nov 2006
Posts: 318
By the way, here the DXVA Checker readout for my card.
Reply With Quote
  #7  
Old 08-08-2008, 03:40 AM
Polypro Polypro is offline
Sage Icon
 
Join Date: Jun 2005
Posts: 1,804
Nice run down, thanks. Our hardware is identical...so the E6600 gets pegged with HD-PVR files? What about 720p (ABC's Lost looks amazing...don't think I'd miss 1080i)? What do you think about an E8400...they're about $150 right now?

P
Reply With Quote
  #8  
Old 08-08-2008, 04:48 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Is the stuttering caused by the CPU not being fast enough to decode the H.264 files? I am just setting up Sage on a new PC running Vista HP. I have a E8400 CPU and a Radeon HD 3850. Will I see the same problems?

One more questions Gollyjer - where do I find the instructions on using firewire channel change with Sage?
Reply With Quote
  #9  
Old 08-09-2008, 04:53 PM
GollyJer's Avatar
GollyJer GollyJer is offline
Sage Aficionado
 
Join Date: Nov 2006
Posts: 318
On my SageTV Server machine I have a E6600 with an Nvidia 7600GT card that works fine for playback with no stutter. However, I've always preferred the quality of video played through the hardware acceleration of Nvidia cards. They provide better color with a sharper picture. When I built the SageClent machine in our media room I purchases an 8600 card in anticipation of of using the h.264 acceleration in Sage. However, given the issues I've been having with Sage/DXVA/h.264 I'm thinking it's really a SageTV problem and may go back to software decoding until they get it fixed.

I've been trying other codecs today as I still get some problems on certain channels (mainly Comedy Central) with Arcsoft. I've been messing around with Cyerberlink's newest decoder (8.0). When building a graph in Graphedit with everything set to Cyberlink (demux, video decoder, audio decoder), the video plays perfectly. It's when I swap the SageTV MPEG Demultiplexer for the Cyberlink Demux that things hit the fan. The SageTV Demux is from MainConcept. I'm not sure if they alter the code themselves at all, but I'm willing to bet this is the source of the playback problems we're having with hd-pvr recordings. The Demux is the only part of the playback graph that can't be changed when using SageTV and it doesn't seem to play well with HD codecs. I downloaded MainConcept's demo codecs and the demux wouldn't play well with it's own decoders when using an hd-pvr video source. Until this is fixed I don't think we'll get reliable DXVA playback of hd-pvr recordings.

RE: Firewire channel change. If you haven't already found it, the instructions are here.
Reply With Quote
  #10  
Old 10-21-2008, 07:25 AM
jphhughes jphhughes is offline
Sage Aficionado
 
Join Date: Jan 2004
Location: New Jersey
Posts: 427
just my two cents

I recently purchased the SageTV bundel of the HD-PVR and SageTV license (my second license). I have spent many hours trying to get the two to play nice without any success. I came across this thread and some others which seem to say that currently the HD-PVR and SageTV will not work without stuttering or poor playback and that the problems is directly related to SageTV software. Well after much expermentation which included trying the SageTV beta Demux it just does not work. However having been a StageTV user since the Frey days I believe this will eventually be fixed. Meanwhile I have purchased a very expensive piece of electronics that i not usable with SageTV.
__________________
HTPC(self built dedicated )/SageTV 7.1.8 Beta /SG01 Silverstone Case/ Intel Dual Core Q6600/ Gigabyte GA-73PVM-S2H mATX MOBO 2GB RAM /WD 300GB SATA Drive/HD-PVR, Sage HD-300, HDHomerun, Nvidia 8600GTS Graphics Card/Windows 7 SP1/USB-UIRT-controlling one SA4250HD STB's/Harmony 700 Remote.
_________________________
Isn't it nice when things just work?
Reply With Quote
  #11  
Old 10-21-2008, 07:31 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by jphhughes View Post
I came across this thread and some others which seem to say that currently the HD-PVR and SageTV will not work without stuttering or poor playback and that the problems is directly related to SageTV software.
That's not true for everyone - the post above yours says "I have a E6600 with an Nvidia 7600GT card that works fine for playback with no stutter" I do not have any noticable stutter on my Sage PC.
Reply With Quote
  #12  
Old 10-21-2008, 07:45 AM
jphhughes jphhughes is offline
Sage Aficionado
 
Join Date: Jan 2004
Location: New Jersey
Posts: 427
wayner, do you have any suggstions as why this is the case. Perhaps if you shared your current settings that might help me and others. I would say that that if yours works then mine should as well. Any suggestion would be greatly appreicated.

Edit: When I re-read that post I thing it implies that it works if you eliminate hardware accelleration.
__________________
HTPC(self built dedicated )/SageTV 7.1.8 Beta /SG01 Silverstone Case/ Intel Dual Core Q6600/ Gigabyte GA-73PVM-S2H mATX MOBO 2GB RAM /WD 300GB SATA Drive/HD-PVR, Sage HD-300, HDHomerun, Nvidia 8600GTS Graphics Card/Windows 7 SP1/USB-UIRT-controlling one SA4250HD STB's/Harmony 700 Remote.
_________________________
Isn't it nice when things just work?
Reply With Quote
  #13  
Old 10-21-2008, 07:51 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
I am running Vista HP - so that appears to be one difference. My CPU is not as fast as yours as I have a E8400. My GPU is a HD 3650. Maybe Sage works better with ATI cards than Nvidia. I don't think hardware acceleration is even an option with Vista but I could be wrong. By the way, I would recommend using firewire to control your SA4250, assuming that your firewire port is active, which it likely is.
Reply With Quote
  #14  
Old 10-21-2008, 08:47 AM
jerryt jerryt is offline
Sage Fanatic
 
Join Date: Oct 2007
Posts: 832
Quote:
Originally Posted by wayner View Post
Maybe Sage works better with ATI cards than Nvidia.
Sage works great with my Nvidia 8600GTS
Reply With Quote
  #15  
Old 10-21-2008, 08:57 AM
jphhughes jphhughes is offline
Sage Aficionado
 
Join Date: Jan 2004
Location: New Jersey
Posts: 427
jerryt, I'm glad to here that. Perhaps you can tell me hiow you have it configured keeping in mind that I am having the problems with the HD-PVR. Otherwise SageTv does work great with the 8600GTS. Any suggestion on how to get it to work great with the HD-PVr would be appreicated. Thanks
__________________
HTPC(self built dedicated )/SageTV 7.1.8 Beta /SG01 Silverstone Case/ Intel Dual Core Q6600/ Gigabyte GA-73PVM-S2H mATX MOBO 2GB RAM /WD 300GB SATA Drive/HD-PVR, Sage HD-300, HDHomerun, Nvidia 8600GTS Graphics Card/Windows 7 SP1/USB-UIRT-controlling one SA4250HD STB's/Harmony 700 Remote.
_________________________
Isn't it nice when things just work?
Reply With Quote
  #16  
Old 10-21-2008, 09:31 AM
HelenWeathers's Avatar
HelenWeathers HelenWeathers is offline
Sage Icon
 
Join Date: Aug 2008
Location: Miami, Florida
Posts: 1,321
jphhughes: Here's a thread you should read thru. One page only but good variety.

http://forums.freytechnologies.com/f...ad.php?t=36135

The system in my signature was running without error as a SageTV standalone when I had an nVidia 9600GT in it. Decided to make it a Sage server and get client licenses for bedrooms/living room. Everything is still running smoothly as a server w clients.

I do power cycle my server routinely (shuts down at 4AM daily, turns on at 4PM weekdays and 10AM Sat/Sun).
__________________
Server: SageTV 9, Win10/32, Intel DP55KG Mb, Intel QC i5 2.66GHz , 4GB 1333MHz DDR3 SDRAM, 2 Hauppauge 2255s for 4 OTA ATSC tuners, HDHRPrime w Comcast, 3 STP-HD300s 20101007-0 firmware, nVidia Shield. Java v7u55. Plugins:SD EPG, OpenDCT
Reply With Quote
  #17  
Old 10-21-2008, 09:57 AM
jphhughes jphhughes is offline
Sage Aficionado
 
Join Date: Jan 2004
Location: New Jersey
Posts: 427
HelenWeathers, thanks for the link. I read through the thread and the only thing I see suggested that I havent tried is the USB headers connection suggestion. In reading all of these threads it seem the people using server/clent configuration with the HD-100 do not have these problems, but people using "a computer" for recording do. One thing is for sure I am not about to buy a Hd-100 for $200 at this point. Thanks again for the suggestion.
__________________
HTPC(self built dedicated )/SageTV 7.1.8 Beta /SG01 Silverstone Case/ Intel Dual Core Q6600/ Gigabyte GA-73PVM-S2H mATX MOBO 2GB RAM /WD 300GB SATA Drive/HD-PVR, Sage HD-300, HDHomerun, Nvidia 8600GTS Graphics Card/Windows 7 SP1/USB-UIRT-controlling one SA4250HD STB's/Harmony 700 Remote.
_________________________
Isn't it nice when things just work?
Reply With Quote
  #18  
Old 10-21-2008, 10:05 AM
HelenWeathers's Avatar
HelenWeathers HelenWeathers is offline
Sage Icon
 
Join Date: Aug 2008
Location: Miami, Florida
Posts: 1,321
Quote:
Originally Posted by jphhughes View Post
In reading all of these threads it seem the people using server/clent configuration with the HD-100 do not have these problems, but people using "a computer" for recording do.
Well, mine are all computers and no HD-100s. The only issue I had (other that the USB thing) was having CPUs, graphics cards and codecs up to HD standards.

My Sage settings remained at the defaults on server and clients, except I am running my clients in overlay mode rather than VMR9.
__________________
Server: SageTV 9, Win10/32, Intel DP55KG Mb, Intel QC i5 2.66GHz , 4GB 1333MHz DDR3 SDRAM, 2 Hauppauge 2255s for 4 OTA ATSC tuners, HDHRPrime w Comcast, 3 STP-HD300s 20101007-0 firmware, nVidia Shield. Java v7u55. Plugins:SD EPG, OpenDCT

Last edited by HelenWeathers; 10-21-2008 at 10:08 AM.
Reply With Quote
  #19  
Old 03-14-2009, 09:07 PM
judoGTI judoGTI is offline
Sage Advanced User
 
Join Date: Mar 2005
Posts: 131
I want to bring this thread back from the dead because I just upgraded my HTPC and bought a HD-PVR and am having very similiar issues.

Here is my hardware:
CPU: AMD 64 X2 7750 2.7G AM2
Video Card: VGA ASUS EN9500GT TOP/DI/512M RT (nVidia 9500GT)
RAM: 2GB DDR2 1066
HD-PVR: driver 1.0.5.3
OS: XP ServicePack 2

I think Im using hardware acceleration because when I check the CPU usage its under 15%. (is there a way I can turn this off to force software decoding only? This machine should be beefy enough to handle it)

If I use Overlay I get no stuttering full screen at 1920x1080 (60hz)
If I use VMR I get no stuttering if I use sage in a small window, but as soon as I resize the window to about 2/3 max size of the screen it starts to stutter bad. This is what confuses me. Why would VMR no stutter small but stutter in a larger window?

I've even tried adding this to my sage.properties 'videoframe/aac_audio_decoder_filter=ArcSoft Audio Decoder' via this thread, post #13 (http://forums.sagetv.com/forums/show...0&postcount=13)

I'm a little bummed because I was really looking forward to using VMR with my new box, and I bought enough horsepower that I should be able to use it happily with Sage & HD-PVR. I'm open to trying anything, please help!
Reply With Quote
  #20  
Old 03-15-2009, 05:45 PM
GollyJer's Avatar
GollyJer GollyJer is offline
Sage Aficionado
 
Join Date: Nov 2006
Posts: 318
Hi judoGTI. Since this post SageTV has included the ability to use EVR in Vista.
I now run Vista on all my clients and there is zero tearing issues in full screen mode or otherwise. With your video card (I'm using an 8600 with no problem) you should be golden.

Regards,
-Jeremy
__________________
Currently using SageTV Media Center Server on Windows 7, SageTV Client as an HTPC on Windows 7, and an HD Theater HD200. The server controls 3 Motorola DCH-3200 cable boxes and 3 Hauppauge HD-PVRs (all Rev F1) with HD audio and changes channels via firewire WITH NO LOCKUPS. It's awesome.
4 Steps to Perfect Stutter Free Playback for SageTV
Quick Guide: How to Bitstream Audio in Windows 7
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
Video card capable of native HD playback nerdmonkey Hardware Support 2 05-12-2008 06:21 AM
SageMC - Stop button causes AWTThread Hang Mahoney SageMC Custom Interface 7 10-25-2006 12:47 AM
Upgraded PVR machine - now VMR9 looks terrible 1point8turbo SageTV Software 2 09-23-2006 04:44 PM
AUUUGH I Give UP!!! TripleTapper SageTV Media Extender 46 01-03-2006 02:35 PM
PVR 500 MCE Rebooting PC jptaz Hardware Support 30 01-07-2005 01:44 PM


All times are GMT -6. The time now is 11:14 PM.


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