SageTV Community  

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

Notices

SageTV Beta Test Software Discussion related to BETA Releases of the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. regarding SageTV Beta Releases should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-16-2006, 10:57 PM
mikesm mikesm is offline
Sage Icon
 
Join Date: Jul 2003
Posts: 1,293
Sage player support for H.264 with purevideo acceleration

Does the V6 beta have a h.264 video decoder built-in that calls the purevideo decoder in a way that takes advantage of hardware acceleration in the video card, or do we have to buy another decoder that does?

Thanks,
mike
Reply With Quote
  #2  
Old 12-17-2006, 07:25 AM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Quote:
Originally Posted by mikesm
Does the V6 beta have a h.264 video decoder built-in that calls the purevideo decoder in a way that takes advantage of hardware acceleration in the video card, or do we have to buy another decoder that does?

Thanks,
mike
The purevideo decoder is a decoder that would use its hardware acceleration on it's own. You wouldn't have a decoder call a decoder unless you're referring to pre- or post- processing. If you are then it is all done in software.


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
  #3  
Old 12-17-2006, 10:46 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
No the built in decoder (mplayer for H.264) is not accellerated at all.

The only decoders that offer "PureVideo" accelleration for H.264 at the moment are Cyberlink's I think (maybe Intervideo). And I don't know how you would specify them. Perhaps filter merit will be enough.
Reply With Quote
  #4  
Old 12-17-2006, 07:03 PM
corykim corykim is offline
Sage Advanced User
 
Join Date: Apr 2003
Posts: 153
Quote:
Originally Posted by stanger89
No the built in decoder (mplayer for H.264) is not accellerated at all.

The only decoders that offer "PureVideo" accelleration for H.264 at the moment are Cyberlink's I think (maybe Intervideo). And I don't know how you would specify them. Perhaps filter merit will be enough.
The situation is worse than that. The SageTV 6 beta is completely broken for playing h.264 content using DirectShow filters. My HTPC is configured such that WMP and GraphEdit play back h.264 smoothly with 5.1 channel PCM audio using ffmpeg. If I play an h.264-encoded file in Sage, I get whatever crappy decoder is built-in. If I choose the "always_use_directshow" (something like that) option, I instead get a bunch of screeching, a black screen, and usually a locked system. It's a good thing I currently don't have a need to play back h.264 content, or I'd be off Sage by now.
Reply With Quote
  #5  
Old 12-17-2006, 08:03 PM
mikesm mikesm is offline
Sage Icon
 
Join Date: Jul 2003
Posts: 1,293
Quote:
Originally Posted by gplasky
The purevideo decoder is a decoder that would use its hardware acceleration on it's own. You wouldn't have a decoder call a decoder unless you're referring to pre- or post- processing. If you are then it is all done in software.


Gerry
Sorry, I know that. Cyberlink and other applications seem to be able to use hardware acceleration in purevideo for H.264 support. I don't know if it's their decoder, or app that does this, but it sure would be nice for Sage to be able to support using a nero or cyberlink decoder for h.264 that gets the hardware assist.

I am somewhat confused about how all this works. You still need purevideo I believe to get this boost, even though purevideo is a mpeg-2 only decoder.

H.264 support is going to be very important, and not just for archiving. Pretty much everyone is going in that direction, and hardware assist for it would be nice.


thanks,
mike
Reply With Quote
  #6  
Old 12-18-2006, 06:48 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by mikesm
I am somewhat confused about how all this works. You still need purevideo I believe to get this boost, even though purevideo is a mpeg-2 only decoder.
Only part of PureVideo is the MPEG-2 decoder, the rest consists of the drivers and hardware. The PureVideo decoders only work for MPEG-2. Unfortunately nVidia hasn't released an H.264 decoder, choosing instead to rely on third parties.

Quote:
H.264 support is going to be very important, and not just for archiving. Pretty much everyone is going in that direction, and hardware assist for it would be nice.
Unfortunately, in general H.264 sources are exceedingly locked down, and I have my concerns about if Sage will be able to even access them.
Reply With Quote
  #7  
Old 01-07-2007, 12:34 AM
otakucode otakucode is offline
Sage User
 
Join Date: Dec 2006
Posts: 41
Has anyone tried CoreAVC? I don't know too much about it, but I was reading some stuff about it a week or so ago. It is a software H.264 decoder that uses 70% less CPU than other decoders... or at least thats what their marketing department claims, although I did see a lot of advantages in a few reviews I saw. I'm still wrestling with Sage just trying to get it to play MPEG-4 competently, I'll get into the H.264 extensions later...
Reply With Quote
  #8  
Old 01-07-2007, 04:05 AM
morfinx's Avatar
morfinx morfinx is offline
Sage Advanced User
 
Join Date: Sep 2006
Posts: 147
Mike, H.264 acceleration is currently broken, see my thread:

http://forums.sagetv.com/forums/showthread.php?t=22379

According to my tests (by setting always_use_dshow_player=true in Sage/SageClient.properties and try to force Sage to use DirectShow filters), SageTV's dshow player cannot correctly separate the H.264 video stream contained in a Quicktime (.MOV) container or a MPEG (.MP4) container, as it tries to use its own video splitter. It does however correctly play a H.264 video stream in a Matroska (.MKV) container by calling Haali Splitter, and uses my preferred DirectShow filter for H.264/AVC (Cyberlink), which provides hardware acceleration.

If always_use_dshow_player=false, then SageTV always uses mplayer to play H.264 contents. This version of mplayer is pretty old, and is not very efficient. It stutters on 1080p H.264 videos despite low CPU utilization. Here's a comparison between the version of mplayer SageTV uses, and the newest version, playing a 1080p H.264 movie trailer:


Note all tests (including the graph in the original thread) are done on a Athlon 64 3800+ single core. Now I have a faster dual core, hardware accelerated H.264 playback is less of a concern, but I'd still like to have it.


otaku, H.264 is MPEG4. It's just a different part of the MPEG4 standard (MPEG4, part 10), where as Divx/Xvid is based on MPEG4, Part 2.
__________________
Athlon X2 4000 @ 2.5Ghz | Antec Veris Fusion v2 | Gigabyte GA-MA69GM-S2H | A-Data 2GB | Westinghouse LVM-37W1 37" LCD | 500GB Samsung | Hauppauge HVR-1800 | VBox DTA-150 | Logitech Harmony 520 | SageTV 6.2.10

Last edited by morfinx; 01-07-2007 at 04:17 AM.
Reply With Quote
  #9  
Old 01-08-2007, 12:16 PM
lobosrul's Avatar
lobosrul lobosrul is offline
Sage Expert
 
Join Date: Aug 2005
Location: Albuquerque, NM
Posts: 573
I had problems playing back seemingly random h.264 encoded files with Sage. I then noticed (by looking at the client log) that sometimes sage was trying to use a filter other than Haali for some reason. So i just unistalled that filter. Everything works fine now.

Question for future reference: How do I turn logging back on (it was on by default in the beta)?
Reply With Quote
  #10  
Old 01-08-2007, 12:56 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Quote:
Originally Posted by lobosrul
Question for future reference: How do I turn logging back on (it was on by default in the beta)?
See the FAQ thread -- link is in my sig lines, below.

- 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
  #11  
Old 01-11-2007, 01:31 PM
Patilan Patilan is offline
Sage Advanced User
 
Join Date: Oct 2006
Location: Lake Forest, Illinois, USA
Posts: 237
Quote:
Originally Posted by morfinx
Here's a comparison between the version of mplayer SageTV uses, and the newest version, playing a 1080p H.264 movie trailer:
<graph>
Something's not right with that graph there... The legend to the right says that the newest version of MPlayer has higher average CPU usage? This can't be true.
Reply With Quote
  #12  
Old 01-11-2007, 04:42 PM
morfinx's Avatar
morfinx morfinx is offline
Sage Advanced User
 
Join Date: Sep 2006
Posts: 147
Quote:
Originally Posted by Patilan
Something's not right with that graph there... The legend to the right says that the newest version of MPlayer has higher average CPU usage? This can't be true.
Can't check it for sure right now as my host appears to be down. But it might have been switched, the newest mplayer should have a lower average CPU utilization by about 10%.

EDIT: fixed
__________________
Athlon X2 4000 @ 2.5Ghz | Antec Veris Fusion v2 | Gigabyte GA-MA69GM-S2H | A-Data 2GB | Westinghouse LVM-37W1 37" LCD | 500GB Samsung | Hauppauge HVR-1800 | VBox DTA-150 | Logitech Harmony 520 | SageTV 6.2.10

Last edited by morfinx; 01-11-2007 at 06:15 PM.
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


All times are GMT -6. The time now is 01:47 AM.


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