Hi,

after a week or so, fidling with vlc,
we have a solution for using hardware acceleration. Best of all, it works
for rhel5 too.

It is necessary the following packages, which should appear in the next few
days:

ffmpeg 0.6 with vaapi enabled (not available on ATrpms yet)
libva
libvdpau 0.4
vdpau-video  (not available on ATrpms yet)
vlc 1.1.1 (not available on ATrpms yet)

No new option will apear in vlc video output preference, such as vdpau.
Instead, one should activate "Hardware Decoding" in vlc:

tools -> preferences -> input / codecs -> Video codecs -> FFmpeg

Note that vdpau-video is not pulled by any package, and should be installed
separatelly,
because not everybody has an nvidia card (series 8000 or higher) with the
closed driver installed.

The instalation can be tested using the program vainfo (from libva):

[cascavel:~/cvs] vainfo
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
vainfo: VA API version: 0.31
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA API -
0.6.10
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :    VAEntrypointVLD
      VAProfileMPEG2Main              :    VAEntrypointVLD
      VAProfileH264Main               :    VAEntrypointVLD
      VAProfileH264High               :    VAEntrypointVLD
      VAProfileVC1Simple              :    VAEntrypointVLD
      VAProfileVC1Main                :    VAEntrypointVLD
      VAProfileVC1Advanced            :    VAEntrypointVLD

Then, when an h264 video is played, one should see something like this:

[cascavel:~/videos3/The_Phantom_of_The_Opera] vlc
The.Phantom.of.The.Opera.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, 0x7f7ea17d4b40, 0x7f7ea17d4aa0)
Warning: call to signal(13, 0x1)
Warning: call to srand(1279960228)
Warning: call to rand()
Blocked: call to setlocale(6, "")
Warning: call to signal(13, 0x1)
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
[0x7f7e90c05e70] avcodec decoder: Using VA API version 0.31 for hardware
decoding.   <--------------------------

Have fun.

-- 
Paulo Roma Cavalcanti
LCG - UFRJ
_______________________________________________
atrpms-users mailing list
[email protected]
http://lists.atrpms.net/mailman/listinfo/atrpms-users

Reply via email to