Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 541826 - media-video/mplayer: cannot play video with ffmpeg-2.5.4(0/54.56.56)
Summary: media-video/mplayer: cannot play video with ffmpeg-2.5.4(0/54.56.56)
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-01 16:41 UTC by kulti
Modified: 2015-03-06 11:57 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,15.31 KB, text/plain)
2015-03-06 09:30 UTC, kulti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kulti 2015-03-01 16:41:57 UTC
After upgrading ffmpeg to new API version, I found that mplayer cannot play video files.

At now I downgrade to previous API version 2.2.12(0/52.55.55) - and all works fine.

So, probably mplayer ebuild should have DEPEND to limit max version of ffmpeg.

Reproducible: Always
Comment 1 Yuri Tsimbaloff 2015-03-02 20:13:23 UTC
(In reply to kulti from comment #0)
> After upgrading ffmpeg to new API version, I found that mplayer cannot play
> video files.
> 
> At now I downgrade to previous API version 2.2.12(0/52.55.55) - and all
> works fine.
> 
> So, probably mplayer ebuild should have DEPEND to limit max version of
> ffmpeg.
> 
> Reproducible: Always

I have installed ffmpeg-2.5.4 and mplayer-1.2_pre20150214, all works fine. Maybe you need to install a new version of mplayer?
Comment 2 kulti 2015-03-03 08:25:46 UTC
(In reply to Yuri Tsimbaloff from comment #1)
> (In reply to kulti from comment #0)
> > After upgrading ffmpeg to new API version, I found that mplayer cannot play
> > video files.
> > 
> > At now I downgrade to previous API version 2.2.12(0/52.55.55) - and all
> > works fine.
> > 
> > So, probably mplayer ebuild should have DEPEND to limit max version of
> > ffmpeg.
> > 
> > Reproducible: Always
> 
> I have installed ffmpeg-2.5.4 and mplayer-1.2_pre20150214, all works fine.
> Maybe you need to install a new version of mplayer?

I use latest (~) mplayer version. When it was linked with 54/56 ffmpeg libraies, video was not working, only audio. After downgrade to previous api and rebuild mplayer all works fine.

I can rebuild ffmpeg and mplayer with some different USEs if it can help. At now I have:
media-video/ffmpeg
Installed versions:  2.2.13(07:08:40 PM 03/01/2015)(X aac alsa bzip2 encode hardcoded-tables iconv jack mp3 network opengl opus sdl theora threads v4l vorbis vpx x264 xvid zlib -aacplus -altivec -amr -amrenc -armv5te -armv6 -armv6t2 -armvfp -bindist -bluray -cdio -celt -cpudetection -debug -doc -examples -faac -fdk -flite -fontconfig -frei0r -gme -gnutls -gsm -iec61883 -ieee1394 -jpeg2k -ladspa -libass -libcaca -libsoxr -libv4l -mips32r2 -mipsdspr1 -mipsdspr2 -mipsfpu -modplug -neon -openal -openssl -oss -pic -pulseaudio -quvi -rtmp -schroedinger -speex -ssh -static-libs -test -truetype -twolame -vaapi -vdpau -wavpack -webp -x265 -zvbi ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" CPU_FLAGS_X86="avx mmx sse sse2 sse4_1 sse4_2 ssse3 -3dnow -3dnowext -avx2 -fma3 -fma4 -mmxext -sse3" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart trasher")

media-video/mplayer
Installed versions:  1.2_pre20150214(07:12:10 PM 03/01/2015)(X alsa bidi dvd dvdnav enca encode iconv libass network opengl osdmenu png shm truetype unicode v4l xinerama xscreensaver xv -a52 -aalib -altivec -aqua -bindist -bl -bluray -bs2b -cddb -cdio -cdparanoia -cpudetection -debug -dga -directfb -doc -dts -dv -dvb -faac -faad -fbcon -ftp -ggi -gif -gsm -ipv6 -jack -joystick -jpeg -jpeg2k -ladspa -libcaca -libmpeg2 -lirc -live -lzo -mad -md5sum -mng -mp3 -nas -nut -openal -oss -pnm -pulseaudio -pvr -radio -rar -rtc -rtmp -samba -sdl -selinux -speex -tga -theora -toolame -tremor -twolame -vdpau -vidix -vorbis -x264 -xanim -xvid -xvmc -zoran CPU_FLAGS_X86="mmx sse sse2 ssse3 -3dnow -3dnowext -mmxext" KERNEL="linux" VIDEO_CARDS="-mga -s3virge -tdfx")
Comment 3 Yuri Tsimbaloff 2015-03-04 17:55:25 UTC

(In reply to kulti from comment #0)
> After upgrading ffmpeg to new API version, I found that mplayer cannot play
> video files.
> 
> At now I downgrade to previous API version 2.2.12(0/52.55.55) - and all
> works fine.
> 
> So, probably mplayer ebuild should have DEPEND to limit max version of
> ffmpeg.
> 
> Reproducible: Always

Maybe simply try to rebuild mplayer with new version of ffmpeg?
Comment 4 kulti 2015-03-04 18:44:53 UTC
(In reply to Yuri Tsimbaloff from comment #3)
> Maybe simply try to rebuild mplayer with new version of ffmpeg?

It was my start point =) I rebuild mplayer after update ffmpeg and check by ldd. Only downgrade fix playing video for me.
Comment 5 Andrew Savchenko gentoo-dev 2015-03-06 09:27:54 UTC
Please post your emerge --info when reporting such kind of bugs.
Comment 6 kulti 2015-03-06 09:30:07 UTC
Created attachment 398216 [details]
emerge --info
Comment 7 Alexis Ballier gentoo-dev 2015-03-06 09:48:45 UTC
what video? what does mplayer output when you try to play it (copy/paste here plz)?
Comment 8 kulti 2015-03-06 11:40:43 UTC
(In reply to Alexis Ballier from comment #7)
> what video? what does mplayer output when you try to play it (copy/paste
> here plz)?

I tested it with different types of video files and found, that problem happenes with mpeg4 inside avi-container. Sample can be found here http://sendfile.su/1031090

[mpeg4 @ 0x7f3a55e61840]get_buffer() failed (stride changed)
Error while decoding frame!
Comment 9 Alexis Ballier gentoo-dev 2015-03-06 11:53:34 UTC
(In reply to kulti from comment #8)
> (In reply to Alexis Ballier from comment #7)
> > what video? what does mplayer output when you try to play it (copy/paste
> > here plz)?
> 
> I tested it with different types of video files and found, that problem
> happenes with mpeg4 inside avi-container. Sample can be found here
> http://sendfile.su/1031090
> 
> [mpeg4 @ 0x7f3a55e61840]get_buffer() failed (stride changed)
> Error while decoding frame!

the whole output... here it plays fine
Comment 10 kulti 2015-03-06 11:57:32 UTC
(In reply to Alexis Ballier from comment #9)
> the whole output... here it plays fine
Ok. You can close this issue. I simple mask latest ffmpeg for me and wait new versions of ffmpeg and mplayer.