vdpau error when compiling vlc-git

*nix specific usage questions
andrew46
Blank Cone
Blank Cone
Posts: 60
Joined: 01 Jun 2009 11:36
Operating System: Linux

vdpau error when compiling vlc-git

Postby andrew46 » 26 Feb 2014 04:01

I have an error when compiling vlc from git, using FFmpeg 2.1.3:

Code: Select all

make[5]: Entering directory `/home/andrew/vlc_build/vlc/modules/hw/vdpau' CC libvlc_vdpau_la-vlc_vdpau.lo CC libvlc_vdpau_la-instance.lo CC libvdpau_avcodec_plugin_la-avcodec.lo CC libvdpau_avcodec_plugin_la-picture.lo avcodec.c: In function ‘Open’: avcodec.c:283:5: error: implicit declaration of function ‘av_vdpau_alloc_context’ [-Werror=implicit-function-declaration] sys->context = av_vdpau_alloc_context(); ^ avcodec.c:283:18: warning: assignment makes pointer from integer without a cast [enabled by default] sys->context = av_vdpau_alloc_context(); ^ cc1: some warnings being treated as errors make[5]: *** [libvdpau_avcodec_plugin_la-avcodec.lo] Error 1
Thanks for looking at this...

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: vdpau error when compiling vlc-git

Postby Rémi Denis-Courmont » 26 Feb 2014 17:34

Use libav please. If you really want to use FFmpeg, upgrade to a more recent version of it, but this is unsupported.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

andrew46
Blank Cone
Blank Cone
Posts: 60
Joined: 01 Jun 2009 11:36
Operating System: Linux

Re: vdpau error when compiling vlc-git

Postby andrew46 » 01 Mar 2014 10:12

Thanks you Rémi for looking at this. I went with a newer version of FFmpeg and now all is well.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 13 guests