Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
media-video/mplayer-1.2_pre20150214 fails emerging [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Mon Jul 13, 2015 8:44 pm    Post subject: media-video/mplayer-1.2_pre20150214 fails emerging [solved] Reply with quote

this is going on for a while now, wasn't really arsed to find what was going on, tried unmasking the latest unstable but this didn't change anything.

Code:
libmpcodecs/vd_ffmpeg.o: In function `set_format_params':
vd_ffmpeg.c:(.text+0x731): undefined reference to `av_alloc_vdpaucontext'
collect2: error: ld returned 1 exit status
Makefile:752: recipe for target 'mencoder' failed
make: *** [mencoder] Error 1
make: *** Waiting for unfinished jobs....
libmpcodecs/vd_ffmpeg.o: In function `set_format_params':
vd_ffmpeg.c:(.text+0x731): undefined reference to `av_alloc_vdpaucontext'
collect2: error: ld returned 1 exit status
Makefile:752: recipe for target 'mplayer' failed
make: *** [mplayer] Error 1


It might as well be something glaring I'm completely missing.

any idea?
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom


Last edited by Peach on Sun Jul 26, 2015 3:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
Pearlseattle
Apprentice
Apprentice


Joined: 04 Oct 2007
Posts: 162
Location: Switzerland

PostPosted: Fri Jul 17, 2015 7:00 pm    Post subject: Reply with quote

Shot in the dark: maybe you're using "libav" instead of "ffmpeg"?
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Sat Jul 18, 2015 9:28 am    Post subject: Reply with quote

off topic.

peeps claim mpv much better and mplayer afaik dead end ...
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Sun Jul 26, 2015 2:09 pm    Post subject: Reply with quote

Pearlseattle wrote:
Shot in the dark: maybe you're using "libav" instead of "ffmpeg"?


hey, thanks for the reply.
That was my first thought, but no, currently using ffmpeg, (I've used libav roughly for one year, uninstalled exactly one year ago)

Code:

[I] media-video/ffmpeg
     Available versions:  2.2.14(0/52.55.55)^d ~2.2.16(0/52.55.55)^d 2.6.3(0/54.56.56)^d ~2.7.1(0/54.56.56)^d ~2.7.2(0/54.56.56)^d **9999(0/54.56.56)^d {X aac aacplus alsa altiv
ec amr amrenc armv5te armv6 armv6t2 armvfp bluray bs2b +bzip2 cdio celt cpudetection debug doc +encode examples faac fdk flite fontconfig frei0r fribidi gme gnutls +gpl gsm +har
dcoded-tables +iconv iec61883 ieee1394 jack jpeg2k ladspa libass libcaca libsoxr libv4l lzma mips32r2 mipsdspr1 mipsdspr2 mipsfpu modplug mp3 neon +network openal opengl openssl
 opus oss pic +postproc pulseaudio quvi rtmp samba schroedinger sdl snappy speex ssh static-libs test theora (+)threads truetype twolame v4l vaapi vdpau vorbis vpx wavpack webp
x264 x265 xcb xvid +zlib zvbi ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" CPU_FLAGS_X86="3dnow 3dnowext avx avx2 fma3 fma4 mmx mmxext sse sse2 ss
e3 sse4_1 sse4_2 ssse3 xop" FFTOOLS="+aviocat +cws2fws +ffescape +ffeval +ffhash +fourcc2pixfmt +graph2dot +ismindex +pktdumper +qt-faststart +trasher"}
     Installed versions:  2.6.3(15:48:10 29/06/15)(X aac alsa bzip2 encode gpl hardcoded-tables iconv jpeg2k mp3 network opengl opus postproc pulseaudio samba schroedinger sdl t
heora threads truetype v4l vorbis wavpack x264 xvid zlib -aacplus -altivec -amr -amrenc -armv5te -armv6 -armv6t2 -armvfp -bluray -bs2b -cdio -celt -cpudetection -debug -doc -exa
mples -faac -fdk -flite -fontconfig -frei0r -fribidi -gme -gnutls -gsm -iec61883 -ieee1394 -jack -ladspa -libass -libcaca -libsoxr -libv4l -lzma -mipsdspr1 -mipsdspr2 -mipsfpu -
modplug -neon -openal -openssl -oss -pic -quvi -rtmp -speex -ssh -static-libs -test -twolame -vaapi -vdpau -vpx -webp -x265 -xcb -zvbi ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64
" ABI_S390="-32 -64" ABI_X86="32 64 -x32" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 -3dnow -3dnowext -avx -avx2 -fma3 -fma4 -xop" FFTOOLS="aviocat cws2fws ffes
cape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart trasher")
     Homepage:            http://ffmpeg.org/
     Description:         Complete solution to record, convert and stream audio and video. Includes libavcodec

_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Sun Jul 26, 2015 2:10 pm    Post subject: Reply with quote

tw04l124 wrote:
off topic.

peeps claim mpv much better and mplayer afaik dead end ...


thanks for the suggestion. quite used with mplayer, also a dependency of other packages I'm using. Dunno if you can hotswap it that easily.
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Sun Jul 26, 2015 2:22 pm    Post subject: Reply with quote

Peach wrote:
Dunno if you can hotswap it that easily.

No, you can't.
A workaround for your problem is probably to use USE=-vdpau for mplayer unless you really need the speed. (In any case, it is better to have something slower than not working at all...)
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Sun Jul 26, 2015 3:26 pm    Post subject: Reply with quote

Smplayer works with mpv, others may too.
_________________
Life is a tragedy for those who feel and a comedy for those who think.
Back to top
View user's profile Send private message
mir3x
Guru
Guru


Joined: 02 Jun 2012
Posts: 455

PostPosted: Sun Jul 26, 2015 3:41 pm    Post subject: Reply with quote

mplayer is still dependency for many video programs

Quote:
vd_ffmpeg.c:(.text+0x731): undefined reference to `av_alloc_vdpaucontext


This should be easy - u just misss some vdpau lib.
FFmpeg doesnt have vdpau flag, right ?

Maybe just add it globally and update with --deep.
_________________
Sent from Windows
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Sun Jul 26, 2015 3:46 pm    Post subject: Reply with quote

mv wrote:
A workaround for your problem is probably to use USE=-vdpau for mplayer unless you really need the speed. (In any case, it is better to have something slower than not working at all...)


That works, thanks.

Anyway I should have checked bugzilla:

there is a missing check in mplayer ebuild: if you want vdpau support, you need to have that built into ffmpeg too.

see: https://bugs.gentoo.org/show_bug.cgi?id=549842
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Sun Jul 26, 2015 4:04 pm    Post subject: Reply with quote

If you have a nVidia card then it makes sense to enable vdpau globally.
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Sun Jul 26, 2015 4:39 pm    Post subject: Reply with quote

Buffoon wrote:
If you have a nVidia card then it makes sense to enable vdpau globally.

Which is the case.
I've found I've disabled it in ffmpeg a while ago for some other reasons (compilation issues, I'm assuming) and never re-enabled it after that. Until I found this error in mplayer.
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum