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
  #21  
Old 11-12-2008, 08:41 AM
quantumstate quantumstate is offline
Sage User
 
Join Date: Nov 2008
Posts: 42
Hm, as I learn more about this, I find that DirectShow is the way to hardware acceleration of HD video. And that M$ did not provide any sort of user interface for configuring DirectShow filters, because software developers are supposed to do that!

So it seems that SageTV has failed to provide filters to decode our video, and has left us to haphazardly work this out on our own.

Why is this, SageTV?
Reply With Quote
  #22  
Old 11-12-2008, 11:05 AM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Sage provides the SageTV decoder which handles mpeg2 files including HD. It also does hardware acceleration which you can configure in Detailed Settings. h.264 format for HD from the HD-PVR is realitively new. Sage doesn't provide those but if you bought an HD-PVR then you also have TME from Arcsoft which is the decoder you need. The more decoders Sage would provide you the more SageTV would cost you. Those decoders aren't free. No one selling or freely creating a PVR includes a decoder for HD h.264 files. Are you having an issue? Or just whining about the state of affairs in HTPC land?

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #23  
Old 11-12-2008, 11:41 AM
quantumstate quantumstate is offline
Sage User
 
Join Date: Nov 2008
Posts: 42
I am finally getting a handle on this whole process.

Using GSpot to analyze a transport stream for what it needs in a codec, I find that it cannot understand mpeg4 transport streams at all, so is of little use.

Using GraphStudio to see what filters are put in place by my system for a given transport stream, I find that for mpeg4 files the video pin has nothing! And indeed only the audio stream plays when I play the video in WMC. (Of course it shows fine in VLC, but that has internal decoders) GraphStudio also showed me that the MPC-HC MpaDecFilter audio filter caused the audio stream to be decoded, encoded, and decoded again, so I deregistered that.

I do have MPCVideoDec, and it is registered, but it is not being engaged at all for mpeg4 for some reason.

I am only beginning to understand the meaning of this (from nVidia forum):
Quote:
With DXVA H.264 VLD mode PowerDVD8 and MPC-HC will have the exact same image quality as the raw H.264 video stream will be passed to the GPU for decoding and it's the exact same stream being decoded.

To enable H.264 decoding on MPC-HC, you need to use EVR as the renderer for Vista and VMR9 Renderless as the renderer for XP.
OK, so this is the most direct way to show a transport stream with HA. Unfortunately, no idea how to implement.
Reply With Quote
  #24  
Old 11-12-2008, 12:19 PM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
It's also going to depend on what video card you are using. Hardware Acceleration for h.264 files are not dependant on just one thing. Download yourself DXVA checker.
DXVA Checker
Website:
DXVA website
Load a video and see what your video card does as far as hardware acceleration and see which Directshow filters are on your PC and how it will handle the acceleration.

On my PC I see both Arcsoft and PowerDVD8 can be used but only PowerDVD8 is showing hardware acceleration with my video card. Arcsoft doesn't show any.

Watching h.264 videos using DXVA is a good website that will step you through exactly what you need.

For me, the easiest way to watch a h.264 ts recording with hardware acceleratrion is with SageTV and PowerDVD8. Works everytime. No stutter. No video issues.

gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #25  
Old 11-12-2008, 01:24 PM
quantumstate quantumstate is offline
Sage User
 
Join Date: Nov 2008
Posts: 42
Thanks. For mpeg4 it says:
ModeH264_VLD_FGT DXVA1 NV12 720x480 / 1280x720 / 1920 x 1080
ModeH264_VLD_NoFGT DXVA1 NV12 720x480 / 1280x720 / 1920 x 1080

And check directshow filters fails when I point it at MPCVideoDec. ("CheckFilter failed")

As I say, loading an mpeg4 video shows no video, but does give audio. I'll go through the Watching. Trying to avoid paying for Cyberlink's codecs, as I'm unemployed at the moment. Hope to make this work with MPC's.
Reply With Quote
  #26  
Old 11-12-2008, 02:55 PM
quantumstate quantumstate is offline
Sage User
 
Join Date: Nov 2008
Posts: 42
OK, I guess it's hopeless. The guide "Watching h.264 videos using DXVA" should actually read, "Watching h.264 videos using DXVA in MPC-HC only". Mpeg4 works in MPC-HC, but not in anything else. And even in MPC-HC, standard def is still using ~9% CPU.

Can't afford PowerDVD, so it's hopeless.

Why didn't SageTV include H.264?! Don't most of us watch HD?
Reply With Quote
  #27  
Old 11-12-2008, 03:20 PM
paulbeers paulbeers is offline
SageTVaholic
 
Join Date: Jun 2005
Posts: 2,550
Quote:
Originally Posted by quantumstate View Post
OK, I guess it's hopeless. The guide "Watching h.264 videos using DXVA" should actually read, "Watching h.264 videos using DXVA in MPC-HC only". Mpeg4 works in MPC-HC, but not in anything else. And even in MPC-HC, standard def is still using ~9% CPU.

Can't afford PowerDVD, so it's hopeless.

Why didn't SageTV include H.264?! Don't most of us watch HD?
I feel you are only reading half posts in this thread, which is why I have chosen not to be involved, but I am going to jump in. First off, MOST HD is in Mpeg2. OTA and QAM are MPEG2. Sage includes this in their Basic codecs. The use of H.264 is relatively new and very limited. Beyond the R5000 mod and the HDPVR, there are no other capture devices that use H.264!! To truly utilize the R5000 mod, you are going to need to find a codec that will work. Plain and simple. You want to blame Sage, but why not blame Nextcomwireless (makers of the R5000) since they didn't provide you with the codec? Truth of the matter is, before spending $350+, one must know what they are buying into and it seems in your case you didn't do this. If you had, you wouldn't even have gone this route since you have to use "winduhs" as you put it.

Just my .02 worth.
__________________
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

Last edited by paulbeers; 11-12-2008 at 03:22 PM.
Reply With Quote
  #28  
Old 11-12-2008, 03:25 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by quantumstate View Post
OK, I guess it's hopeless. The guide "Watching h.264 videos using DXVA" should actually read, "Watching h.264 videos using DXVA in MPC-HC only". Mpeg4 works in MPC-HC, but not in anything else. And even in MPC-HC, standard def is still using ~9% CPU.
I missed it, what video card do you have?

Quote:
Why didn't SageTV include H.264?! Don't most of us watch HD?
Because almost nobody can record H.264. The HD PVR is probably the most prevalent H.264 recorder, and it's only been out a short period of time and it comes with H.264 decoders.
Reply With Quote
  #29  
Old 11-12-2008, 04:02 PM
quantumstate quantumstate is offline
Sage User
 
Join Date: Nov 2008
Posts: 42
Quote:
Originally Posted by paulbeers View Post
I feel you are only reading half posts in this thread, which is why I have chosen not to be involved, but I am going to jump in. First off, MOST HD is in Mpeg2. OTA and QAM are MPEG2. Sage includes this in their Basic codecs. The use of H.264 is relatively new and very limited. Beyond the R5000 mod and the HDPVR, there are no other capture devices that use H.264!! To truly utilize the R5000 mod, you are going to need to find a codec that will work. Plain and simple. You want to blame Sage, but why not blame Nextcomwireless (makers of the R5000) since they didn't provide you with the codec? Truth of the matter is, before spending $350+, one must know what they are buying into and it seems in your case you didn't do this. If you had, you wouldn't even have gone this route since you have to use "winduhs" as you put it.

Just my .02 worth.
Thanks for the Blame The Victim post, paul. Can you explain to me how I should have known that I'd need codecs, filters, pins, and detectors --in Winduhs-- and would need to learn all the technical details about frames, and VMR9, and every thing else this has turned out to involve? I JUST WANT TO WATCH TV!!

Here's your .02 back.


Quote:
Originally Posted by stanger89 View Post
I missed it, what video card do you have?
Because almost nobody can record H.264. The HD PVR is probably the most prevalent H.264 recorder, and it's only been out a short period of time and it comes with H.264 decoders.
I have the R5000-HD, which is a modification to Dish HD boxes that taps into its guts and gets the pure unencrypted digital transport stream, with no de/reencode, as opposed to the HD-PVR. I record the data exactly as Dish uplinks it.

Last edited by quantumstate; 11-12-2008 at 04:07 PM.
Reply With Quote
  #30  
Old 11-12-2008, 04:07 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by quantumstate View Post
I have the R5000-HD, which is a modification to Dish HD boxes that taps into its guts and gets the pure unencrypted digital transport stream, with no de/reencode, as opposed to the HD-PVR. I record the data exactly as Dish uplinks it.
Video card, not capture, I know what an R5000 is, I don't see where you say what video card you have.
Reply With Quote
  #31  
Old 11-12-2008, 04:35 PM
quantumstate quantumstate is offline
Sage User
 
Join Date: Nov 2008
Posts: 42
Oh sorry, the Asus P5N7A-VM mobo with nVidia GeForce 9300 IGP, which is supposed to have integral H.264 and mpeg2 decode.
Reply With Quote
  #32  
Old 11-14-2008, 07:58 AM
quantumstate quantumstate is offline
Sage User
 
Join Date: Nov 2008
Posts: 42
Why do you ask?
Reply With Quote
  #33  
Old 11-14-2008, 08:24 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
To make sure it was one that actually could decode H.264.
Reply With Quote
  #34  
Old 11-14-2008, 08:57 AM
quantumstate quantumstate is offline
Sage User
 
Join Date: Nov 2008
Posts: 42
Now see; here's what I don't understand:

Why does it say right here that the nVidia GPU does H.264/AVC? Why is it that the nVidia driver does not catch an H.264/AVC stream and decode it? If a dummy codec is necessary to route the stream to the GPU, why doesn't that come with the driver?

A GPU with hardware decode is useless if it can't do hardware decode. Why should I have to buy a software decoder for this, when I have it in hardware? I've already paid for it in hardware once, why should I have to pay for it again?
Reply With Quote
  #35  
Old 11-14-2008, 09:27 AM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
The software is the decoder. The hardware does the acceleration of the decoding. It does NOT do the decoding. Any of your mainstream video cards (ATI, nVidia, etc.)is doing acceleration of h.264, mepg2, wmv, etc. They do NOT do the decoding. Thus you need to buy the software decoder. The MVP and the STX-HD100 does the decoding in hardware.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #36  
Old 11-14-2008, 10:13 AM
quantumstate quantumstate is offline
Sage User
 
Join Date: Nov 2008
Posts: 42
It seems to me then, that nVidia should provide a stub decoder that will offload the hard work to the GPU. The GPU has the complexity hard-coded, so why duplicate that in software, with the added expense?

Here's another question. I installed the MPC-HC codecs and manually registered each one. Then when running Sage I found my CPU usage went down by 50%, but the picture was soft focus, on the exact same video. I've developed a theory that the reason Sage's decoder takes more CPU is because it is doing sophisticated post-processing to clean up the picture. The Sage decoder makes a much better image. Is there any proof supporting my theory?

And here's another question. I have the MPC-HC MPCVideoDec decoder registered, and indeed in DirectShow Filter Manager it appears in all its glory. It is set above Preferred, DXVA is checked, and (the formerly unchecked) H264/AVC codec is checked. But Sage will still not play mpeg4 shows. They play in VLC and MPC-HC, but not Sage nor WMC. ("The source filter for this file could not be loaded.") Why would this be?

And another question. I have a couple TV shows in my Sage TV directory, which I used file manager to move to a Videos directory. Apparently Sage doesn't scan on the fly because it didn't notice this when I restarted it. So what's the 'correct' way to move a show from recorded directory to videos?
Reply With Quote
  #37  
Old 11-14-2008, 11:21 AM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
None of the video companies provide a decoder for h.264 with their cards. No one. nVidias used to sell a decoder for mpeg2. ATI provies an ATI mpeg2 decoder and Avivo. But for h.264 that take advantage of hardware acceleration AND that works with SageTV you're going to have either buy it or a product that provides the decoder like the HD-PVR.

Sage uses its own splitter so if your MPCVideodec requires Hali splitter odds are it is not going to work with SageTV.

On the Sage menu look for Refresh Media Directories (or something like that) and thos files should show up. Is the Videos directory defined in the Sage Detailed Setup as an Import Directory for videos?

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #38  
Old 11-14-2008, 11:29 AM
quantumstate quantumstate is offline
Sage User
 
Join Date: Nov 2008
Posts: 42
OK, so refresh, that makes sense.

Hm, I now have h.264/AVC. I deinstalled/deregistered all the prior codecs and software I'd installed to try and make this work, and installed ffdshow. That seems to have installed an H.264/AVC codec which is now available to all apps in the system.

Video quality in Sage is pretty good, and CPU is down like 3% on a 1080i video. Must be using HA.

Only thing is a horrible stutter. Every second it pauses for a second. This is not due to hardware being overtaxed, so it must be some setting or an interloping filter somewhere.

Unfortunately I cannot analyze filters with graphedit or graphstudio any more because both crash when I try to load an H.264 file.
Reply With Quote
  #39  
Old 11-14-2008, 11:42 AM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
ffdshow is a software-only decoder. You won't be getting any HA out of that. If your CPU is low for h.264 Sage will use whatever decoder you listed it to use in the .properties file. videoframe/h264_video_decoder_filter=



Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #40  
Old 11-14-2008, 01:21 PM
quantumstate quantumstate is offline
Sage User
 
Join Date: Nov 2008
Posts: 42
Beg to differ. Running 3%-10% CPU (E8400) on a 1080i h.264 video. Stutters as above though. I deinstalled ffdshow, and then I could no longer play the file. Reinstalled and I could.

Can't find a solution for the stuttering tho.
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
SageTV Software funtionality questions pjpjpjpj SageTV Software 10 11-20-2009 03:19 PM
Thank you SageTV, but I have questions . . . Squeeky4711 SageTV Software 4 09-06-2008 08:56 AM
SageTV questions from a hopefully ex-Tivoer tchapin SageTV Customizations 8 09-16-2007 02:35 PM
General questions about HD from a total HD newbie. pawn General Discussion 25 05-07-2007 07:05 PM
noob hardware questions icky2000 Hardware Support 2 10-01-2006 08:34 PM


All times are GMT -6. The time now is 01:24 PM.


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