
promac at gmail
Jul 22, 2010, 12:10 PM
Post #4 of 5
(750 views)
Permalink
|
|
Re: vlc 1.1.1 and libvdpau/libva for rhel5
[In reply to]
|
|
On Thu, Jul 22, 2010 at 11:25 AM, Paulo Cavalcanti <promac [at] gmail> wrote: > > > On Thu, Jul 22, 2010 at 11:05 AM, Paulo Cavalcanti <promac [at] gmail>wrote: > >> >> >> On Thu, Jul 22, 2010 at 10:56 AM, Paulo Cavalcanti <promac [at] gmail>wrote: >> >>> Hi, Axel >>> >>> libva and vdpau-video are working on rhel5. However, libva should be >>> built for rhel5 using: >>> >>> --without libudev >>> >>> >>> http://people.atrpms.net/~pcavalcanti/srpms/libva-0.31.1-1.sds4.el5.src.rpm<http://people.atrpms.net/%7Epcavalcanti/srpms/libva-0.31.1-1.sds4.el5.src.rpm> >>> >>> and libvdpau should be upgraded to 0.4 (before building vdpau-video). >>> I adapted libvdpau from F12 for using your lib package scheeme: >>> >>> http://people.atrpms.net/~pcavalcanti/srpms/libvdpau-0.4-2.fc12.src.rpm<http://people.atrpms.net/%7Epcavalcanti/srpms/libvdpau-0.4-2.fc12.src.rpm> >>> >>> >>> http://people.atrpms.net/~pcavalcanti/srpms/vdpau-video-0.6.10-1.fc12.src.rpm<http://people.atrpms.net/%7Epcavalcanti/srpms/vdpau-video-0.6.10-1.fc12.src.rpm> >>> >>> This is the new vlc 1.1.1 release: >>> >>> http://people.atrpms.net/~pcavalcanti/srpms/vlc-1.1.1-55.fc12.src.rpm<http://people.atrpms.net/%7Epcavalcanti/srpms/vlc-1.1.1-55.fc12.src.rpm> >>> >>> Also, ffmpeg should be rebuilt with libva enabled: >>> >>> Then it is just a question of activating "Hardware Decoding" in vlc: >>> >>> tools -> preferences -> input / codecs -> Video codecs -> FFmpeg >>> >>> >> libvdpau should be built on rhel5 using >> >> --without docs >> >> >> >> > I added the option i965 for building libva without it, since it does not > build > on rhel5 anyway (it is ignored, not causing error), but maybe it will be > necessary in the future: > > > http://people.atrpms.net/~pcavalcanti/srpms/libva-0.31.1-1.sds4.fc12.src.rpm<http://people.atrpms.net/%7Epcavalcanti/srpms/libva-0.31.1-1.sds4.fc12.src.rpm> > > > And finally, this is ffmpeg with vaapi enabled: http://people.atrpms.net/~pcavalcanti/srpms/ffmpeg-0.6-35.fc12.src.rpm Everything is working. vlc is now decoding h264 via hardware. Game over. ----------------------------------------------------------------------------------------- [lua:~/dwhelper] vlc Nike_Futebol_Escreva_o_Futuro_vers_o_completa.mp4 VLC media player 1.1.1 The Luggage (revision exported) Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS") Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE") Warning: call to signal(13, 0x1) Blocked: call to setlocale(6, "") Blocked: call to sigaction(17, 0x7f544f666b40, 0x7f544f666aa0) Warning: call to signal(13, 0x1) Warning: call to srand(1279762332) Warning: call to rand() Blocked: call to setlocale(6, "") libva: libva version 0.31.1-sds1 Xlib: extension "XFree86-DRI" missing on display ":0.0". libva: va_getDriverName() returns 0 libva: Trying to open /usr/lib64/va/drivers/nvidia_drv_video.so libva: va_openDriver() returns 0 [0x7f5440c27f80] avcodec decoder: Using VA API version 0.31 for hardware decoding. Blocked: call to sigaction(17, 0x7fff36a14730, 0x7fff36a14690) Warning: call to sigaction(17, 0x7fff36a14690, (nil)) -- Paulo Roma Cavalcanti LCG - UFRJ
|