Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 483086 - media-video/smplayer2-0.8.0_p20130111 Doesn't work due to unrecognized '-gapless-audio' option
Summary: media-video/smplayer2-0.8.0_p20130111 Doesn't work due to unrecognized '-gapl...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maxim Koltsov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-31 01:37 UTC by Jan Matějka (RETIRED)
Modified: 2013-12-27 16:25 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Matějka (RETIRED) gentoo-dev 2013-08-31 01:37:47 UTC
Doesn't work due to unrecognized '-gapless-audio' option

Reproducible: Always

Steps to Reproduce:
1. emerge kdebase-meta
2. emerge smplayer2
3. login in kdm
4. open dolphin
5. doubleclick video file
6. get an error mplayer2 doesn't recognize '-gapless-audio' option
Comment 1 Nikoli 2013-09-24 16:50:43 UTC
Can not reproduce with media-video/mplayer2-2.0_p20130428-r1
Tried both enabling and disabling gapless. I think you are using mplayer, not mplayer2. Attach mplayer2 log (Ctrl+M in smplayer2). Also did you try running mplayer2 from terminal with this option?
Comment 2 tman 2013-11-04 07:46:29 UTC
i have the same problem

ERROR
###########
mplayer -noquiet -nomouseinput -gapless-audio -sub-fuzziness 1 -identify -slave -nokeepaspect -framedrop -input nodefault-bindings:conf=/dev/null -stop-xscreensaver -wid 25165855 -monitorpixelaspect 1 -volume 50 -nocache -osdlevel 0 -af scaletempo,equalizer=0:0:0:0:0:0:0:0:0:0 -softvol -softvol-max 110



but this problem comes just on my systemd system:





Portage 2.2.7 (default/linux/amd64/13.0/desktop, gcc-4.8.1, glibc-2.17, 3.11.6-gentoo x86_64)
=================================================================
System uname: Linux-3.11.6-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:    24695988 total,  22565028 free
KiB Swap:   25598972 total,  25598972 free
Timestamp of tree: Sun, 03 Nov 2013 23:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r4, 3.2.5-r3, 3.3.2-r2
dev-util/cmake:           2.8.12
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.8.1-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.11 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo lokal
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/mnt/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/mnt/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/mnt/portage"

 


# eix mplayer -I
[I] media-video/mplayer2
     Available versions:  2.0_p20130126 (~)2.0_p20130428-r1 **9999 {3dnow 3dnowext +X +a52 +alsa altivec aqua bluray bs2b cddb +cdio cpudetection debug directfb doc +dts +dv dvb +dvd +dvdnav +enca +faad fbcon ftp gif +iconv ipv6 jack joystick jpeg ladspa lcms +libass libcaca lirc mad md5sum +mmx mmxext mng +mp3 +network nut +opengl oss png pnm portaudio +postproc pulseaudio pvr (+)quvi radio +rar +rtc samba sdl +shm +speex sse sse2 ssse3 symlink tga +theora +threads +unicode v4l vcd vdpau +vorbis xanim xinerama +xscreensaver +xv xvid yuv4mpeg KERNEL="linux"}
     Installed versions:  2.0_p20130428-r1(09:21:33 04.11.2013)(X alsa bluray cdio dvd dvdnav enca ftp gif iconv ipv6 jack jpeg lcms libass mmx mmxext mng mp3 network opengl oss png postproc pulseaudio quvi shm sse sse2 ssse3 tga threads unicode v4l vcd vdpau xscreensaver xv yuv4mpeg -3dnow -3dnowext -altivec -aqua -bs2b -cddb -cpudetection -debug -directfb -doc -dvb -joystick -ladspa -libcaca -lirc -md5sum -pnm -portaudio -pvr -radio -samba -symlink -xinerama)
     Homepage:            http://www.mplayer2.org/
     Description:         Media Player for Linux

[I] media-video/smplayer2
     Available versions:  (~)0.7.0_pre20111120 (~)0.7.1_p20120301 0.7.3_p20120524 (~)0.8.0_p20121214 0.8.0_p20130111 **9999 {dbus debug +download-subs LINGUAS="ar bg ca cs da de el en_US es et eu fi fr gl hu it ja ka ko ku lt mk nl pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_TW"}
     Installed versions:  0.8.0_p20130111(09:22:15 04.11.2013)(dbus download-subs -debug LINGUAS="de vi -ar -bg -ca -cs -da -el -en_US -es -et -eu -fi -fr -gl -hu -it -ja -ka -ko -ku -lt -mk -nl -pl -pt -pt_BR -ro -ru -sk -sl -sr -sv -tr -uk -zh_CN -zh_TW")
     Homepage:            https://github.com/lachs0r/SMPlayer2
     Description:         Qt4 GUI front-end for mplayer2

Found 2 matches.
Comment 3 tman 2013-11-06 23:17:21 UTC
i tested to exercute a xterm and run mplayer a video file. it works fine.


so smplayer2 is defintive the culprit.
Comment 4 tman 2013-11-06 23:37:40 UTC
ok this REPORT can be close.


the problem is solved :)


1. start smplayer2
2. Tools >> Preferences >> General 
3. smplayer exercutable >> instead of mplayer change to mplayer2


or 

1. cd /usr/bin/
2. ln -sf /usr/bin/mplayer2 /usr/bin/mplayer
Comment 5 Jan Matějka (RETIRED) gentoo-dev 2013-11-06 23:55:56 UTC
(In reply to tman from comment #4)
> ok this REPORT can be close.
> 
> 
> the problem is solved :)

No.
 
> 
> 1. start smplayer2
> 2. Tools >> Preferences >> General 
> 3. smplayer exercutable >> instead of mplayer change to mplayer2
> 
> 
> or 
> 
> 1. cd /usr/bin/
> 2. ln -sf /usr/bin/mplayer2 /usr/bin/mplayer

That's just silly considering there are separate packages for smplayer and smplayer2. At least my impression is that's one for each of the mplayers.
Comment 6 Nikoli 2013-11-08 20:01:22 UTC
No, smplayer2 is for mplayer2 only. It may partly work with mplayer(1), but it is completely unsupported by anyone. Also look at ebuild: it explicitly requires mplayer2, not any of mplayer or mplayer2.

smplayer(1) previously supported only mplayer(1), but now it seems to support mplayer2 too.
Comment 7 Maxim Koltsov (RETIRED) gentoo-dev 2013-12-27 15:24:56 UTC
Please do not mix mplayer/smplayer versions. And please note that smplayer2 seems to be undeveloped now.
Comment 8 Jan Matějka (RETIRED) gentoo-dev 2013-12-27 16:25:26 UTC
I haven't been mixing them. I simply emerged smplayer2 and executed.

If it defaults to using mplayer instead of mplayer2 as suggested by comment 4 and the fact that I haven't been fiddling with the configuration in any way, then it's just braindead. I just haven't got around to confirm this.