Hi,
Someone (sorry, I don't remember who !) spoke here about vdpau (the
nvidia project for linux video hardware acceleration playback).
As my plain old (agp) video card died last week, I did build a new
system. (Not only for freevo I think it could be a little oversized :-) ) :
Pentium E8400
4 Gigabyte memory
NVIDIA 9800 GT
Mandriva 2009 Spring x64
I wanted a Nvidia video board, to test if my future freevo box could be
built around one of the really nice zotac ion mother boards :
http://www.zotac.com/index.php?option=com_content&task=view&id=331&Itemid=555.
I catched a piece of a HD-DVB stream, and did some tests :
# playing the file with mminfo, default values :
time ./mplayer -fs -ao pulse a.ts
27.18user 0.48system 0:36.95elapsed 74%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+21197minor)pagefaults 0swaps
# Playing the same file, throught vdpau
time ./mplayer -fs -ao pulse -vc ffh264vdpau -vo vdpau a.ts
0.41user 0.38system 0:36.97elapsed 2%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+17481minor)pagefaults 0swaps
As you can see, there is a little difference !
BTW, mminfo is unable to decode the video file (and mediainfo is able to
do that).
My test file is 35 second long, and it's size is 35 Mb !
I think it can be downloaded without troubles : it a part of an actor's
presentation, at the end of a show.
The file is available here :
http://schirrms.free.fr/vdpau-test.tar.bz2
(Remember : the bzip2 file is big ! 34 Mb )
You'll also find some other informations in the attached text file.
Unfortunately, it seems that vdpau is still a little young. Playing an
hd movie, but in mpeg2 format give that (for a 30 Mb / 26 second extract) :
time ./mplayer -fs -ao pulse ~/HP2.ts
7.19user 0.39system 0:26.61elapsed 28%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+9546minor)pagefaults 0swaps
time ./mplayer -fs -ao pulse -vc ffmpeg12vdpau -vo vdpau ~/HP2.ts
2.34user 0.34system 0:26.65elapsed 10%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+7148minor)pagefaults 0swaps
(And I don't think that this extract is free, so it's not available for
download :-( )
Also, in some cases, artifact can be seen (on my system, that's not a
demonstration!)
Finally, a question :-)
As far as I understand, in the current stage of mplayer/vdpau
integration, it seems that the vdpau option are to be activated for each
source or file (vdpau works also if I watch the HD-DVB directly). Is
that possible now in freevo ? And if yes, how ?
Don't hesitate, if you feel that some other tests can be useful.
Thanks,
Pascal
# Catching HD-DVB (Unfortunately -endpos doesn't work ....)
# Sunday May, 24 around 11:24 AM (In France !)
./mplayer -endpos 30 -dumpfile a.ts -dumpstream dvb://"ARTE HD"
# MMinfo about the file doesn't work, either..
mminfo a.ts
/usr/lib64/python2.6/site-packages/kaa/popen.py:53: DeprecationWarning: The
popen2 module is deprecated. Use the subprocess module.
import popen2
/usr/lib64/python2.6/site-packages/kaa/metadata/disc/cdrom.py:37:
DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
a.ts: unable to identify file
# mediainfo give the following informations :
mediainfo a.ts
General
ID : 4
Complete name : a.ts
Format : MPEG-TS
File size : 32.8 MiB
Duration : 35s 816ms
Overall bit rate : 7 685 Kbps
Video
ID : 720 (0x2D0)
Menu ID : 1031 (0x407)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : m...@l4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Duration : 35s 816ms
Bit rate : 6 896 Kbps
Width : 1 440 pixels
Height : 1 080 pixels
Display aspect ratio : 16/9
Frame rate : 25.000 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : MBAFF
Bits/(Pixel*Frame) : 0.177
Stream size : 29.4 MiB (90%)
Audio
ID : 730 (0x2DA)
Menu ID : 1031 (0x407)
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 2
Duration : 35s 760ms
Bit rate mode : Constant
Bit rate : 256 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Resolution : 16 bits
Video delay : -980ms
Stream size : 1.09 MiB (3%)
Language : French
Menu
ID : 710 (0x2C6)
Menu ID : 1031 (0x407)
Format : AVC / MPEG Audio
List : 720 (0x2D0) (AVC) / 730 (0x2DA) (MPEG Audio,
fra)
Language : / fra
# playing the file with mminfo, default values :
time ./mplayer -fs -ao pulse a.ts
27.18user 0.48system 0:36.95elapsed 74%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+21197minor)pagefaults 0swaps
# Playing the same file, throught vdpau
time ./mplayer -fs -ao pulse -vc ffh264vdpau -vo vdpau a.ts
0.41user 0.38system 0:36.97elapsed 2%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+17481minor)pagefaults 0swaps
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel