Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: atrpms: devel

vlc 1.1.1 and libvdpau/libva for rhel5

 

 

atrpms devel RSS feed   Index | Next | Previous | View Threaded


promac at gmail

Jul 22, 2010, 6:56 AM

Post #1 of 5 (768 views)
Permalink
vlc 1.1.1 and libvdpau/libva for rhel5

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

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/~pcavalcanti/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

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

Thanks.

--
Paulo Roma Cavalcanti
LCG - UFRJ


promac at gmail

Jul 22, 2010, 7:05 AM

Post #2 of 5 (765 views)
Permalink
Re: vlc 1.1.1 and libvdpau/libva for rhel5 [In reply to]

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


--
Paulo Roma Cavalcanti
LCG - UFRJ


promac at gmail

Jul 22, 2010, 7:25 AM

Post #3 of 5 (756 views)
Permalink
Re: vlc 1.1.1 and libvdpau/libva for rhel5 [In reply to]

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

--
Paulo Roma Cavalcanti
LCG - UFRJ


promac at gmail

Jul 22, 2010, 12:10 PM

Post #4 of 5 (746 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


Axel.Thimm at ATrpms

Jul 31, 2010, 5:39 AM

Post #5 of 5 (726 views)
Permalink
Re: vlc 1.1.1 and libvdpau/libva for rhel5 [In reply to]

On Thu, 2010-07-22 at 16:10 -0300, Paulo Cavalcanti wrote:
> [...many package enhancements...]

10^6 thanks Paulo, everything has just been uploaded for all distros. :)
--
http://ATrpms.net/
Attachments: signature.asc (0.19 KB)

atrpms devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.