Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 541476 - media-video/smplayer-14.9.0.6690-r1: mplayer rebuilt against media-video/libav-9.17 fails with vf-add: pp doesn't exist
Summary: media-video/smplayer-14.9.0.6690-r1: mplayer rebuilt against media-video/liba...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL: http://sourceforge.net/p/smplayer/bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-26 22:48 UTC by Coacher
Modified: 2015-03-22 19:46 UTC (History)
0 users

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


Attachments
emerge --info (info,5.33 KB, text/plain)
2015-02-26 22:48 UTC, Coacher
Details
smplayer.ini (smplayer.ini,11.87 KB, text/plain)
2015-02-26 22:56 UTC, Coacher
Details
.mplayer/config (config,103 bytes, text/plain)
2015-02-26 22:57 UTC, Coacher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Coacher 2015-02-26 22:48:07 UTC
Hello.

Earlier today after the usual sync with tree portage suggested to merge media-video/libav-9.17. I've read the news item regarding global ffmpeg and libav USE flags and I have both of them enabled in my make.conf. After successful update portage suggested to rebuild mplayer via @preserved-rebuild set. This rebuild also went fine. No other package changes aside from gegl rebuild to support libav USE flag were made on my system.

After a while I've tried to open a random mp3 file on my machine in smplayer and now it throws 'Oops' complaining about mplayer error. I've tried other multimedia files that smplayer was able to playback without any problems before, but I got the same error. I haven't changed smplayer configuration one bit.

Clearly the playback problems I am experiencing are caused by libav introduction to my system. Not sure who is misbehaving here libav, mplayer or smplayer. I've attached all the info I could've thought of. If you need additional info I am ready to provide it.

Please fix.

Reproducible: Always
Comment 1 Coacher 2015-02-26 22:48:41 UTC
Created attachment 397576 [details]
emerge --info
Comment 2 Coacher 2015-02-26 22:51:01 UTC
=================================================================
                        Package Settings
=================================================================

media-video/mplayer-1.2_pre20130729 was built with the following:
USE="X a52 alsa bidi bluray cddb cdparanoia dts dvd dvdnav enca encode faac faad ftp gif iconv ipv6 jpeg jpeg2k libass lzo mad mp3 network openal opengl osdmenu png pulseaudio rtc shm theora truetype twolame unicode vorbis x264 xinerama xscreensaver xv xvid xvmc -aalib (-altivec) (-aqua) -bindist -bl -bs2b -cdio -cpudetection -debug -dga -directfb -doc -dv -dvb -fbcon -ggi -gsm -jack -joystick -ladspa -libcaca -libmpeg2 -lirc -live -md5sum -mng -nas -nut -oss -pnm -pvr -radio -rar -rtmp -samba -sdl (-selinux) -speex -tga -toolame -tremor -v4l -vdpau (-vidix) -xanim -zoran" ABI_X86="64" CPU_FLAGS_X86="mmx mmxext sse sse2 ssse3 -3dnow -3dnowext" VIDEO_CARDS="-mga -s3virge -tdfx"
Comment 3 Coacher 2015-02-26 22:51:36 UTC
=================================================================
                        Package Settings
=================================================================

virtual/ffmpeg-9-r1 was built with the following:
USE="X encode jpeg2k mp3 theora threads truetype vaapi x264 -gsm -opus -sdl -speex -vdpau" ABI_X86="64 -32 -x32"
CHOST=""
Comment 4 Coacher 2015-02-26 22:52:07 UTC
=================================================================
                        Package Settings
=================================================================

media-video/libav-9.17 was built with the following:
USE="X aac alsa bzip2 encode faac gpl hardcoded-tables jpeg2k mp3 network pulseaudio schroedinger ssl theora threads truetype vaapi vorbis vpx x264 xvid zlib (-altivec) -amr -bindist -cdio -cpudetection -custom-cflags -debug -doc -fdk -frei0r -gsm -ieee1394 -jack (-neon) -openssl -opus -oss -pic -rtmp -sdl -speex -static-libs -test -tools -v4l -vdpau (-vis)" ABI_X86="64 -32 -x32" CPU_FLAGS_X86="mmx mmxext ssse3 -3dnow -3dnowext -avx"
Comment 5 Coacher 2015-02-26 22:53:32 UTC
mplayer crash log as seen in smaplyer:

/usr/bin/mplayer -noquiet -slave -identify -nofs -lavdopts threads=4 -sub-fuzziness 1 -vo xv:adaptor=0 -ao pulse -framedrop -dr -double -stop-xscreensaver -nomouseinput -input nodefault-bindings:conf=/dev/null -nokeepaspect -wid 83886120 -monitorpixelaspect 1 -subfont-osd-scale 3 -ass -embeddedfonts -ass-line-spacing 0 -ass-font-scale 1 -ass-styles /home/coacher/.config/smplayer/styles.ass -subcp enca:ru:UTF-8 -aid 0 -subpos 100 -volume 33 -cache 32768 -osdlevel 0 -vf-add pp -autoq 6 -noslices -channels 2 -af-add scaletempo -af-add equalizer=0:0:0:0:0:0:0:0:0:0 -softvol -softvol-max 150 
*FILE_NAME_HERE*

Option vf-add: pp doesn't exist.
Error parsing option on the command line: -vf-add
MPlayer SVN-r36370 (Gentoo)-4.8.3 (C) 2000-2013 MPlayer Team
ID_EXIT=NONE
Comment 6 Coacher 2015-02-26 22:56:32 UTC
Created attachment 397578 [details]
smplayer.ini
Comment 7 Coacher 2015-02-26 22:57:34 UTC
Created attachment 397580 [details]
.mplayer/config

Only heartbeat-cmd is defined here.
Comment 8 Coacher 2015-02-26 22:59:57 UTC
=================================================================
                        Package Settings
=================================================================

media-video/smplayer-14.9.0.6690-r1 was built with the following:
USE="qt4 -autoshutdown -bidi -debug -qt5 -streaming" ABI_X86="64" LINGUAS="en_GB en_US ru_RU -ar -ar_SY -bg -ca -cs -da -de -el_GR -es -et -eu -fi -fr -gl -he_IL -hr -hu -it -ja -ka -ko -ku -lt -mk -ms_MY -nl -pl -pt -pt_BR -ro_RO -sk -sl_SI -sq_AL -sr -sv -th -tr -uk_UA -vi_VN -zh_CN -zh_TW"
Comment 9 Coacher 2015-02-26 23:02:26 UTC
If I try to playback multimedia files with `mplayer *filename*`, then there is no problems. mplayer opens files fine, so this is smplayer issue.
Comment 10 Coacher 2015-02-26 23:05:31 UTC
After quick googling I've found the related bug report in smplayer tracker:
http://sourceforge.net/p/smplayer/bugs/665/
Comment 11 Coacher 2015-02-26 23:09:33 UTC
As far as I can tell stable smplayer in Gentoo needs to include changes from smplayer svn r6675 in order to work with stable mplayer/libav combination.
Comment 12 Coacher 2015-02-26 23:22:03 UTC
This is also reproducible with media-video/smplayer-14.9.0.6690-r1, which by the looks of it should be from revision 6690 and therefore include the mentioned fix. However, in reality smplayer is still broken.
Comment 13 Ben de Groot (RETIRED) gentoo-dev 2015-02-27 06:45:32 UTC
It seems there is a missing dependency on media-libs/libpostproc. Could you install that and remerge mplayer, then try again?
Comment 14 Coacher 2015-02-27 08:57:07 UTC
(In reply to Ben de Groot from comment #13)
> It seems there is a missing dependency on media-libs/libpostproc. Could you
> install that and remerge mplayer, then try again?

Yes, this helps. Thank you!
Comment 15 Coacher 2015-03-02 15:01:08 UTC
Ping.
Comment 16 Coacher 2015-03-13 06:21:11 UTC
The solution to this bug was proposed by Ben de Groot and I can confirm it resolves this issue. Can we have it in tree please?
Comment 17 Ben de Groot (RETIRED) gentoo-dev 2015-03-15 15:04:12 UTC
(In reply to Coacher from comment #16)
> The solution to this bug was proposed by Ben de Groot and I can confirm it
> resolves this issue. Can we have it in tree please?

The problem is that it is an indirect dependency, and there is no postproc useflag on mplayer. We could depend on
  || ( media-video/ffmpeg[postproc] media-libs/libpostproc )
but that wouldn't trigger an mplayer rebuild. 

And on the mpv side this option is no longer supported at all.

This should be fixed on the smplayer upstream side.
Comment 18 Coacher 2015-03-15 15:54:28 UTC
(In reply to Ben de Groot from comment #17)
> (In reply to Coacher from comment #16)
> > The solution to this bug was proposed by Ben de Groot and I can confirm it
> > resolves this issue. Can we have it in tree please?
> 
> The problem is that it is an indirect dependency, and there is no postproc
> useflag on mplayer. We could depend on
>   || ( media-video/ffmpeg[postproc] media-libs/libpostproc )
> but that wouldn't trigger an mplayer rebuild. 

Revbump?

> This should be fixed on the smplayer upstream side.

They claim they've fixed this, see URL. Or am I missing something? Can you reproduce this issue on your machine?
Comment 19 Coacher 2015-03-17 10:32:17 UTC
(In reply to Coacher from comment #18)
> (In reply to Ben de Groot from comment #17)
> > (In reply to Coacher from comment #16)
> > > The solution to this bug was proposed by Ben de Groot and I can confirm it
> > > resolves this issue. Can we have it in tree please?
> > 
> > The problem is that it is an indirect dependency, and there is no postproc
> > useflag on mplayer. We could depend on
> >   || ( media-video/ffmpeg[postproc] media-libs/libpostproc )
> > but that wouldn't trigger an mplayer rebuild. 
> 
> Revbump?
> 
> > This should be fixed on the smplayer upstream side.
> 
> They claim they've fixed this, see URL. Or am I missing something? Can you
> reproduce this issue on your machine?

Revbump is now happening with media-video/smplayer-14.9.0.6690-r2, but that version fails to build (see bug #543546). IMHO it is a good time to adjust dependencies to workaround this issue as well. Otherwise all smplayer+mplayer users who decide to go along with the default Gentoo option for libav will be hit by this bug. And since revbump is already planned no additional rebuilds are needed for users.
Comment 20 Ben de Groot (RETIRED) gentoo-dev 2015-03-22 04:28:06 UTC
What we need here is a postproc useflag in mplayer, to make sure it rebuilds against ffmpeg with postproc enabled.
Comment 21 Ben de Groot (RETIRED) gentoo-dev 2015-03-22 04:41:01 UTC
(In reply to Ben de Groot from comment #20)
> What we need here is a postproc useflag in mplayer, to make sure it rebuilds
> against ffmpeg with postproc enabled.

Actually, no. It works fine with mplayer built against ffmpeg with postproc disabled. So it seems it's only a libav problem.
Comment 22 Ben de Groot (RETIRED) gentoo-dev 2015-03-22 04:45:59 UTC
And libav is no longer an option in ~arch mplayer ebuilds, so this is no longer an issue.
Comment 23 Coacher 2015-03-22 19:46:19 UTC
(In reply to Ben de Groot from comment #22)
> And libav is no longer an option in ~arch mplayer ebuilds, so this is no
> longer an issue.

Well, that's some news, but what about stable users with libav+mplayer+smplayer combination and who are affected by this bug now?