HD Video Playback Using $20 CPU, $30 GPU

HardOCP News

[H] News
Joined
Dec 31, 1969
Messages
0
The latest article at Phoronix examines the feasibility of using low cost hardware to get high definition video playback under Linux. How low cost is this hardware? How about a $20 processor and a $30 video card? Think it’s possible? Hit the link for the complete rundown.

Our initial benchmarks of this video decoding API within NVIDIA's binary driver were quite favorable as it was able to dramatically cut down on the CPU usage when playing H.264 video files. To see how well NVIDIA's VDPAU really is though, we have carried out some more thorough testing now and our hardware consists of a CPU we purchased for $20 USD and a NVIDIA GeForce graphics card that retails for just $30. Can this very low-end hardware manage to play high definition videos under Linux?
 
Why do you even need a video card? Modern onboard video is good enough w/ a $20 CPU. It has been here a for a while...and you don't even need "linux".
 
Why do you even need a video card? Modern onboard video is good enough w/ a $20 CPU. It has been here a for a while...and you don't even need "linux".

because the video cards have more advanced decoding and output for HD video sources - as to weather it makes a noticeable difference i don't really know as i'm still quite happy with dvd.
 
You can use whatever cheap system you want as long as it has a pci-e x16 slot. I am using a e6320 but have used a e2180 with my hd3450 and get a great HD picture. I have also used that gpu on an older p4 computer and got the same great picture. And yes, there is a noticeable difference between dvd and hd.
 
Why do you even need a video card? Modern onboard video is good enough w/ a $20 CPU. It has been here a for a while...and you don't even need "linux".

Uh, what? A $20 CPU and $30 video card combo is much cheaper than a copy of Windows, so if a low-cost HTPC box is the goal this looks like a perfect solution. The point is that as far as I know nvidia's VDPAU is the first with HD (h264, etc..) accelerated playback on Linux, so onboard could only handle it if it is an nvidia chipset that works with VDPAU.

With this you could easily have a cool, quiet HTPC for under $200 (if you left the encoding and storage to a server hiding in a closet somewhere, that is)
 
Why do you even need a video card? Modern onboard video is good enough w/ a $20 CPU. It has been here a for a while...and you don't even need "linux".

Linux is free. Windows is not. If you can do it under linux, than you should say...

"and you don't even need 'Windows.' "
 
Only reason my HTPC cost more then $200 was because I liked the antec fusion case too much and I love windows media center :D

4850e FTW!
 
Rakinos said:
now if only xbmc supported it
If only xbmc supported ANY hardware accel. The fact that xbmc does not, and doesn't include any TV tuning/scheduling has me using media portal (with the Aeon xbmc skin, though!)
 
Linux is free. Windows is not. If you can do it under linux, than you should say...

"and you don't even need 'Windows.' "
Except lots of people have access to a free copy of Windows.
And beyond that, unless people value their time at approximately jack-shit, odds are going to even look at Linux as a valid solution for an OS for 97% of people.
 
If only xbmc supported ANY hardware accel. The fact that xbmc does not, and doesn't include any TV tuning/scheduling has me using media portal (with the Aeon xbmc skin, though!)

XBMC kept crashing on my HTPC as well, and its renderer was doing *something* weird - I switched to MediaPortal w/ Aeon skin as well to reap the benefits of CoreAVC decoding and much lower CPU usage.

Takes an eternity (IMO) to get all the parts of MediaPortal configured and working properly.
 
Except lots of people have access to a free copy of Windows.
And beyond that, unless people value their time at approximately jack-shit, odds are going to even look at Linux as a valid solution for an OS for 97% of people.

Who has access to a free copy of windows? If you mean it came with your computer...I have news for you...you paid for it.

And what does "odds are going to even look at linux as a valid solution for an OS for 97% of people" even mean? That is gibberish. If you are trying to say that it takes time set up Linux...I will come back at you and say it takes time to install and run anti-spyware scans on windows.
 
Let's not forget to take into consideration the factors that determine whether a certain H.264 video streams. Anything higher than 1080p and that combination would throw a fit. Anything higher than the ref@xx-resolution threshold would throw a fit. :|
 
I think websites and others need to start mentioning WHICH type of HD we're talking about: HD 720i/p or HD 1080i/p 'cause I had an Eee 900 last week with the 1024x600 LCD panel playing back some HD 720 clips (yes I know it gets shrunk a bit to fit) and barely cracked 25% CPU usage, and that was WMV HD 720 content from www.wmvhd.com and other locations (some h.264 content as well). No frames dropped, looked great, was rather surprising to see it function without playback issues, to be honest.

I'm sure what the article is getting at (I admit I haven't looked at it) is more concerned with 1080 playback so yeah, that would be a bit tougher pushing out almost 4x the pixel content, but even so... would be nice if this stuff was labeled for what it is and not just "HD" which needs more clarification.
 
I think websites and others need to start mentioning WHICH type of HD we're talking about: HD 720i/p or HD 1080i/p 'cause I had an Eee 900 last week with the 1024x600 LCD panel playing back some HD 720 clips (yes I know it gets shrunk a bit to fit) and barely cracked 25% CPU usage, and that was WMV HD 720 content from www.wmvhd.com and other locations (some h.264 content as well). No frames dropped, looked great, was rather surprising to see it function without playback issues, to be honest.

I'm sure what the article is getting at (I admit I haven't looked at it) is more concerned with 1080 playback so yeah, that would be a bit tougher pushing out almost 4x the pixel content, but even so... would be nice if this stuff was labeled for what it is and not just "HD" which needs more clarification.

It's relatively easy to playback HD content that is not compressed too much, but if you take a 1080p H.264 movie that is 35GB to start with and compress it to 9GB while trying to maintain as much quality as you can...that's when this stuff becomes a very processor intensive task to decode. As far as I know, no accelerated playback is available for content compressed like this.
 
Why do you even need a video card? Modern onboard video is good enough w/ a $20 CPU. It has been here a for a while...and you don't even need "linux".
Outputting 1920x1080 with onboard video with a $20 CPU while decoding high-bitrate 1080p H.264 is not a good idea. It will barely run.

In theory, the lowest-power system you could build for 1080p H.264 would be the dual-core Atom board and a Radeon 2400 Pro PCI card. I'm not sure if that video card is compatible or not, but if it is, then that system will be fine for decoding with lower quality settings (ie. less aggressive deblocking and deinterlacing). On Windows, there's ffdshow tryouts for CPU-based decoding (free), CoreAVC (not free) for very efficient CPU-based decoding, and Cyberlink PowerDVD's codec (not free) for GPU-based decoding. If you can get GPU decoding working with a 2400 Pro on Atom, the single-core version might even work.

If we go the $20 CPU route, you could score a Sempron for $20, or a single-core Celeron (Core microarchitecture, though) for about $30. Any Radeon 2000 or newer (except 2900), Geforce 8 or newer (except G80: GTS 640MB, GTX/Ultra 768MB) should do GPU-based H.264 decoding provided you have the right software.
 
It's relatively easy to playback HD content that is not compressed too much, but if you take a 1080p H.264 movie that is 35GB to start with and compress it to 9GB while trying to maintain as much quality as you can...that's when this stuff becomes a very processor intensive task to decode. As far as I know, no accelerated playback is available for content compressed like this.

Uhmmm... no, because decompression is a snap compared to the actual compression. I've got an Intel GMA950 in this test box I'm using with Win7 at the moment, DDR2 667 at 4-4-4-12, off a 7200 rpm SATA I 16MB hard drive, and I can easily play back 1080 content (at 1920x1200 resolution, or straight 1920x1080 also) that goes as high as 30 Mbps for the encoding rate. It's easy for today's graphics processors (note I said today...), and I've grabbed numerous sample files from BBC and even NASA (extreme bitrate h.264 content) that get played back without issues, soooo...
 
If only xbmc supported ANY hardware accel. The fact that xbmc does not, and doesn't include any TV tuning/scheduling has me using media portal (with the Aeon xbmc skin, though!)

I hear you on that, XBMC could get support once it makes its way in to FFMpeg/libavcodec.
 
Uhmmm... no, because decompression is a snap compared to the actual compression. I've got an Intel GMA950 in this test box I'm using with Win7 at the moment, DDR2 667 at 4-4-4-12, off a 7200 rpm SATA I 16MB hard drive, and I can easily play back 1080 content (at 1920x1200 resolution, or straight 1920x1080 also) that goes as high as 30 Mbps for the encoding rate. It's easy for today's graphics processors (note I said today...), and I've grabbed numerous sample files from BBC and even NASA (extreme bitrate h.264 content) that get played back without issues, soooo...

Yes, the commercially encoded stuff is easy to play back, but the personally encoded stuff is much harder. If you take that same NASA video that is 30Mbps, and re-encode it to 15Mbps using 2-pass ultra quality settings, I guarantee that your system will choke with a 1.8GHz processor.

The commercially encoded stuff has a high bit-rate intentionally, so that when you are decompressing it all you have to do is basically unzip it. The personally encoded stuff, and by that I also mean pirate encoded, is compressed much more and the CPU has to do many more calculations. Send me a PM if you want proof.
 
I hear you on that, XBMC could get support once it makes its way in to FFMpeg/libavcodec.
There's this discussion at the xbmc forums (xbmc.org). Initial module builds and integration into xmbc (bottom, page 1) don't look too promising, but it's a start. As the phoronix article says, the current implementation seems really picky about codec/container particulars.

For those who don't want to deal with xbmc or media portal, the newest gbpvr release (forums.gbpvr.com) includes an Aeon-ish skin, includes TV tuning, scheduling, program guides, etc. Windows only, though.
 
God damn...I want to add one more thing:

The bitrate isn't the only metric that determines how difficult it is to decode an h.264 file. An "extreme" bitrate does not mean that a file takes a lot of juice to decode. There are many other settings available when encoding h.264. You can make a good looking h.264 video by leaving all the quality settings off and letting the bitrate explode, or you can crank up the quality settings and try to squeeze into the lowest bitrate you possibly can.
 
Back
Top