Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 326351 - media-video/mplayer-{1.0_rc4_p20100612,9999} subtitles stay on screen until next subtitles are shown
Summary: media-video/mplayer-{1.0_rc4_p20100612,9999} subtitles stay on screen until n...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal with 2 votes (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-30 19:10 UTC by Hanno Zysik (geki)
Modified: 2011-04-30 10:28 UTC (History)
4 users (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 Hanno Zysik (geki) 2010-06-30 19:10:13 UTC
Well, like the summary says, the subtitles stay on screen instead of disappearing after a delay. media-video/mplayer-1.0_rc4_p20100612 introduced it and version 9999 still has it as of today. I wonder if anyone can reproduce this?!

Removing useflag [custom-cpuopts] and changing CFLAGS to "-O2 -pipe" does not help.

Here is my configuration:

___
[ebuild     U ] media-video/mplayer-1.0_rc4_p20100612 [1.0_rc4_p20100506] USE="X a52 alsa custom-cpuopts dts dvd dvdnav encode faac faad gif iconv ipv6 jpeg jpeg2k mad mmx mmxext mp3 opengl png quicktime rtc shm sse sse2 ssse3 theora truetype unicode vdpau vorbis x264 xinerama xscreensaver xv xvid -3dnow -3dnowext -aalib (-altivec) -amr -ass -bidi -bindist -bl -bs2b -cddb -cdio -cdparanoia -cpudetection -debug -dga -dirac -directfb -doc -dv -dvb -dxr3 -enca -esd -fbcon -ftp -ggi -gmplayer -jack -joystick -ladspa -libcaca -lirc -live -lzo -md5sum -mng -nas -network -nut -openal -osdmenu -oss -pnm -pulseaudio -pvr -radio -rar -real -samba -schroedinger -sdl -speex (-svga) -tga -toolame -tremor -twolame -v4l -v4l2 (-vidix) -vpx% (-win32codecs) -xanim -xvmc -zoran" VIDEO_CARDS="-mga -s3virge -tdfx -vesa"

___
Portage 2.2_rc67 (default/linux/amd64/10.0/no-multilib, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34-gentoo x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 30 Jun 2010 13:45:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 AdobeFlash-10"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -mtune=core2 -march=core2 -pipe -fomit-frame-pointer -funswitch-loops"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -mtune=core2 -march=core2 -pipe -fomit-frame-pointer -funswitch-loops -fvisibility-inlines-hidden"
DISTDIR="/mnt/data/distfiles"
FEATURES="assume-digests distlocks fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--sort-common"
LINGUAS="de en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/mnt/data/tmp"
PORTDIR="/mnt/data/portage"
PORTDIR_OVERLAY="/usr/local/src/java-overlay /usr/local/src/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="aac alsa amd64 apache2 avi berkdb bitmap-fonts bzip2 cairo cdr cups custom-cflags custom-cxxflags dbus dts dvd dvdr gd gif glx gpm hardenedphp imap imlib ipv6 java6 jpeg jpeg2k libnotify mad mmx mmxext mp3 mpeg mysql nls nptl nsplugin nvidia ogg oggvorbis opengl openssl pam perl png python3 sse sse2 sse3 ssl svg theora threads truetype truetype-fonts type1-fonts unicode usb vhosts videos vorbis x264 xinerama xml xulrunner xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="empty plug" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CAMERAS="ptp2 sonydscf1 sonydscf55" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Léo 2010-07-15 10:18:29 UTC
I have the same problem.

Another associated problem is subtitle labels and timings being shown on screen, when the subtitle author set them to be shown at specific screen positions with special styles (the problem thus mostly appear for lyrics, credits, and translation notes, in the videos I watch, and is not too problematic for now, but still annoying).

Both problems happened when I updated from mplayer_p20100213 to mplayer_p20100612 and ffmpeg-0.5_p21602 to ffmpeg-0.5_p22846 (and still a problem in ffmpeg-0.6)

I tried to update libass-0.9.8 to libass-0.9.9 without change (well, it happens with various videos, they may not even always use it anyway, I'm not sure).

I have no such problems in VLC 1.0.6, for comparison (although I don't know precisely what they may or may not have in common).


My USE flags:

media-libs/libass-0.9.9  USE="enca fontconfig png"

media-video/ffmpeg-0.6  USE="-3dnow -3dnowext X alsa (-altivec) amr -bindist -cpudetection -custom-cflags -debug dirac doc encode faac faad gsm hardcoded-tables -ieee1394 -jack jpeg2k mmx mmxext mp3 network -oss -pic rtmp schroedinger sdl speex ssse3 -test theora threads v4l v4l2 vaapi -vdpau vorbis vpx x264 xvid zlib" VIDEO_CARDS="-nvidia"

media-video/mplayer-1.0_rc4_p20100612  USE="-3dnow -3dnowext X a52 aalib alsa (-altivec) amr ass bidi -bindist -bl bs2b cddb cdio cdparanoia -cpudetection -custom-cpuopts -debug -dga dirac directfb doc dts dv dvb dvd dvdnav -dxr3 enca encode -esd faac faad fbcon ftp ggi gif -gmplayer iconv ipv6 -jack joystick jpeg jpeg2k ladspa libcaca -lirc live lzo mad md5sum mmx mmxext mng mp3 nas network nut openal opengl osdmenu -oss png pnm -pulseaudio pvr quicktime radio rar real rtc -samba schroedinger sdl shm speex sse sse2 ssse3 -svga tga theora -toolame tremor truetype twolame unicode v4l v4l2 -vdpau -vidix vorbis vpx win32codecs x264 xanim -xinerama xscreensaver xv xvid xvmc -zoran" VIDEO_CARDS="-mga -s3virge -tdfx vesa"

media-video/vlc-1.0.6  USE="X a52 aac aalib alsa (-altivec) -atmo -avahi bidi cdda cddax cddb cdio dbus -dc1394 -debug dirac directfb dts dvb dvd fbcon ffmpeg flac fluidsynth fontconfig gcrypt ggi gnome gnutls hal -httpd id3tag -ieee1394 -jack kate libass libcaca -libnotify libproxy -libsysfs libtiger libv4l2 -lirc live lua matroska mmx modplug mp3 mpeg -mtp musepack ncurses -nsplugin ogg opengl -optimisememory -oss (-pda) png -pulseaudio pvr qt4 -remoteosd rtsp -run-as-root -samba schroedinger sdl sdl-image -shine shout skins speex sse stream svg -svga taglib theora truetype twolame udev -upnp v4l v4l2 vcdinfo vcdx vlm vorbis win32codecs -wma-fixed x264 -xcb -xinerama xml xosd xv zvbi"


# emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.34-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.34-gentoo-r1-i686-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 15 Jul 2010 09:30:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.7.9-r2, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1 dlj-1.1 googleearth sun-bcla-java-vm"
ACCEPT_PROPERTIES="*"
ALSA_CARDS="hda-intel hpet pcsp rtctimer"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol"
ANT_HOME="/usr/share/ant"
APACHE2_MODULES="alias auth_basic auth_digest authn_default authn_file authz_default authz_groupfile authz_host authz_user autoindex cache deflate dir disk_cache env expires file_cache filter headers info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status"
APACHE2_MPMS="prefork"
ARCH="x86"
AUTOCLEAN="yes"
CAMERAS="panasonic"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe"
CHOST="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLISION_IGNORE="/lib/modules"
CONFIG_PROTECT="/etc /etc/env.d/02locale /etc/env.d/99editor /etc/env.d/99pager /etc/udev/rules.d/00-local.rules /home /media /mnt /srv /usr/local/portage /usr/share/X11/xkb /var/bind /var/ftp /var/lib/hsqldb /var/www"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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"
CVS_RSH="ssh"
CXXFLAGS="-O2 -march=core2 -pipe"
DISPLAY=":0.0"
DISTDIR="/usr/portage/distfiles"
EBEEP_IGNORE="yes"
EDITOR="vim"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--alphabetical --with-bdeps=y"
EMERGE_WARNING_DELAY="10"
EPAUSE_IGNORE="yes"
EPREFIX=""
EROOT="/"
FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict suidctl unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FLTK_DOCDIR="/usr/share/doc/fltk-1.1.9-r1/html"
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org ftp://mirror.ovh.net/gentoo-distfiles ftp://mirror.switch.ch/mirror/gentoo"
GUILE_LOAD_PATH="/usr/share/guile/1.8"
HISTCONTROL="ignoredups"
HISTFILE="/root/.bash_history"
HISTFILESIZE="5000"
HISTSIZE="500"
HISTTIMEFORMAT="%Y-%m-%dT%H:%M:%S%z  "
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.20.1/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.3.4/info"
INPUT_DEVICES="evdev joystick keyboard mouse wacom"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVACC_HOME="/usr/share/javacc/"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KERNEL="linux"
LADSPA_PATH="/usr/lib/ladspa"
LANG="en_US.UTF-8"
LANGUAGE="en_US"
LCD_DEVICES="g15"
LC_ADDRESS="en_US.UTF-8"
LC_ALL=""
LC_COLLATE="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_TIME="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
LESS="-R -M --shift 5"
LESSCOLOR="yes"
LESSOPEN="|/usr/bin/lesspipe.sh %s"
LIBGL_DRIVERS_PATH="/usr/lib/dri"
LINGUAS="en_US en"
LOGNAME="root"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:"
MAIL="/var/mail/root"
MAILCHECK="-1"
MAILDIR="/root/.mail/"
MAILPATH="/var/mail/root"
MAKEOPTS="-j3"
MANPAGER="vimmanpager"
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.20.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.3.4/man:/etc/java-config/system-vm/man/:/usr/lib/php5/man/:/opt/opera/share/man"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
OLDPWD="/root"
OPENGL_PROFILE="ati"
PAGER="less"
PAPERSIZE="a4"
PATH="/root/bin:/sbin:/bin:/usr/sbin:/usr/lib/ccache/bin:/usr/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.4.3:/usr/i686-pc-linux-gnu/gcc-bin/4.3.4:/usr/lib/subversion/bin:/opt/sbin:/opt/bin:/usr/games/sbin:/usr/games/bin:/usr/local/sbin:/usr/local/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc x86-openbsd ppc-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris mips-irix m68k sh x86-solaris sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="error warn log info"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] Elog for ${PACKAGE} (${HOST})"
PORTAGE_ELOG_MAILURI="root@localhost localhost"
PORTAGE_ELOG_SYSTEM="save mail"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp/portage"
PORTAGE_TMPFS="/dev/shm"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0750"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
PORT_LOGDIR="/var/log/portage"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PS1="\[\e[31;1m\]\!\[\e[0m\]) \[\e[31m\]\u\[\e[0m\]@\[\e[31m\]\h\[\e[0m\]:\[\e[31m\]\w\[\e[0m\] \[\e[31;1m\]\$\[\e[0m\] "
PS2="\[\e[31;1m\]<<<\[\e[0m\] "
PS3="#? "
PS4="+ "
PWD="/root"
PYTHONDONTWRITEBYTECODE="1"
QEMU_SOFTMMU_TARGETS="i386 x86_64"
QEMU_USER_TARGETS="i386 x86_64"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.3.4:/usr/lib/subversion/bin"
RPMDIR="/usr/portage/rpm"
RUBY_TARGETS="ruby18"
SANE_BACKENDS="hp"
SANE_CONFIG_DIR="/etc/sane.d"
SCHEME_LIBRARY_PATH="/usr/share/slib/"
SGML_CATALOG_FILES="/etc/sgml/sgml-docbook-3.0.cat:/etc/sgml/sgml-ent.cat:/etc/sgml/sgml-lite.cat:/etc/sgml/dsssl-docbook-stylesheets.cat:/etc/sgml/sgml-docbook-3.1.cat:/etc/sgml/xml-docbook-4.1.2.cat:/etc/sgml/sgml-docbook.cat:/etc/sgml/xml-docbook-4.3.cat:/etc/sgml/xml-docbook-4.2.cat:/etc/sgml/xml-docbook-4.5.cat:/etc/sgml/openjade-1.3.2.cat:/etc/sgml/xml-docbook-4.4.cat"
SHELL="/bin/bash"
SHLVL="1"
SSH_AGENT_PID="6195"
SSH_AUTH_SOCK="/tmp/ssh-LLsBEl6193/agent.6193"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="xterm"
TMP="/tmp/.private/root"
TMPDIR="/tmp/.private/root"
USB_DEVFS_PATH="/dev/bus/usb"
USE="X acl bash-completion berkdb bzip2 cdb cjk cli consolekit cracklib crypt cups cxx dri fortran gdbm gnome gpm hal iconv icu idn ipv6 mmx mmxext modules mudflap mysql nano-syntax ncurses networkmanager nls nptl nptlonly odbc openmp pam pcre perl policykit pppd python qdbm readline reflection session spl sqlite sse sse2 sse3 ssl ssse3 sysfs tcpd truetype udev unicode vim-syntax x86 xattr xorg zlib" ALSA_CARDS="hda-intel hpet pcsp rtctimer" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="alias auth_basic auth_digest authn_default authn_file authz_default authz_groupfile authz_host authz_user autoindex cache deflate dir disk_cache env expires file_cache filter headers info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status" APACHE2_MPMS="prefork" CAMERAS="panasonic" ELIBC="glibc" INPUT_DEVICES="evdev joystick keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="g15" LINGUAS="en_US en" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="fglrx v4l vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
USER="root"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="fglrx v4l vesa"
VISUAL="vim"
XAUTHORITY="/root/.xauthrs3gvQ"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
XERCESC_NLS_HOME="/usr/share/xerces-c/msg"
XSESSION="Xsession"
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
XZ_OPT="--memory=max"
_="/usr/bin/emerge"
bash4="4.0.37(2)-release"



I didn't check upstream bugs, and do not have much time to test other things.


Thanks in advance to everyone who will work on this.
Comment 2 Reimar Döffinger 2010-07-18 09:13:27 UTC
Somebody had reported this on the MPlayer lists, but when I asked to reproduce with the latest version (since I couldn't) he didn't succeed. So I guess this is fixed in MPlayer SVN, even though I don't know when or how...
Comment 3 Léo 2010-07-18 11:52:16 UTC
(In reply to comment #2)

I just emerged mplayer-9999 (MPlayer r31749), and I still have the two same problems.

For example, I have a video with both ASS and SRT bundled subtitles.

With ASS subtitles, I still get subtitles staying on screen until the next one even though it should disappear before, and sometimes timings/labels (e.g. "Dialogue: 0,0:23:50.35,0:23:51.05,Default-alt,Fuuko,0000,0000,0000,,Um...", for a "Um..." piece of dialog).

With SRT subtitles, normal subtitles disappear normally, and I do not have timings/labels anymore. However, the subtitles which showed timings/labels with ASS, now stay on screen, apparently indefinitely (even when the same character speaks, supposedly with the same labels).

With version 1.0_rc4_p20100612 (it says MPlayer r30554, but the number is set in the ebuild, and it is the same as 1.0_rc4_p20100506, so I suppose it has not been updated...), no other package change, same video, I have the same problems, except that for SRT subtitles, even the subtitles which showed timings/labels with ASS are removed correctly (however, it is displayed at the end of the line of the previous dialog, while it was correctly on a new line with r31749).

I tested with 1.0_rc4_p20100506 (MPlayer r30554 with `mplayer -v`...), there is no problem at all. I note that there was apparently some changes with seeking, as when I seek with this version, with both ASS and SRT subtitles, the current subtitle is not shown (I have to go back to the time at which it starts showing, for it to show), while with 1.0_rc4_p20100612 and 9999, the current subtitle is properly shown. I thus suppose there has been some direct changes to subtitle handling between 1.0_rc4_p20100506 and 1.0_rc4_p20100612, which may have caused the problems we are seeing.

I know I should post these details upstream, but I don't have enough time, and will bear with it for now.
Comment 4 Léo 2010-07-18 13:16:40 UTC
(Note that 1.0_rc4_p20100506 is apparently r31140, and 1.0_rc4_p20100612 is apparently r31371... I checked them out and did not find any difference with the two Gentoo tarballs... however, I strangely could not compile them with the mplayer-9999 ebuild after having added the revision after the repository URL using '@' -some compilation errors in "stream/stream.c"-, so I cannot test other revisions to find the problematic revision... I'll open a new bug report for the revision number problem in Gentoo ebuilds of MPlayer...)
Comment 5 Joseph Re 2010-08-29 04:31:38 UTC
I'm also having these issues with mplayer svn r32025.
Comment 6 Reimar Döffinger 2010-08-29 06:59:08 UTC
Should be fixed by upstream SVN r32032.
And once again this would have been fixed faster if any of you had sent a proper bug report, in particular including a command line.
I am still completely unclear on who used the -ass commandline-option and who didn't. Since some people here talked about libass I assumed all issues were with -ass, but I can't reproduce any issue then.
If you weren't using -ass, libass is not used at all.
Comment 7 Léo 2010-08-29 11:36:56 UTC
(In reply to comment #6)
> I am still completely unclear on who used the -ass
> commandline-option and who didn't. Since some people
> here talked about libass I assumed all issues were
> with -ass, but I can't reproduce any issue then.
>


I never used it "-ass", and it's not in my system/user configuration file. At first I talked about libass because I didn't think there was an internal version.

However, with mplayer-9999, "--disable-ass-internal" is used, so the external library is always used. Note updating to libass-0.9.11 didn't seem to change anything.

The problem being that with mplayer-9999, I cannot use "mplayer -ass x.mkv", as it says "Error parsing option on the command line: -ass". Without "-ass", with the latest 32032 revision (`mplayer -v`), I still get the same problems.

If I modify mplayer-9999 to use "--enable-ass-internal", or in fact, if I simply use mplayer-1.0_rc4_p20100612 (r31371), with "mplayer -ass x.mkv", it now uses embedded fonts/styles, and there is no problem with subtitles staying on screen, nor timings/labels being displayed...

If "mplayer -ass x.mkv" only switches to external libass, why the problem still appears when "--disable-ass-internal" is used (and why isn't there any use of embedded fonts/styles without "-ass"?)?

Sorry for the confusion, I'm just a simple MPlayer user.

Anyway, I will simply use "-ass" from now on, so as far as I'm concerned, there is no more problem. Thanks for the tip.

But there is still some problems with the basic rendering of ASS subtitle tracks. Maybe ass=yes should be added to /etc/mplayer/mplayer.conf, so other people, who don't know about "-ass", do not run into this problem, if it's ok to always activate it?

(For people reading this bug report, you can of course put it in ~/.mplayer/config instead).


(In reply to comment #6)
> And once again this would have been fixed faster if
> any of you had sent a proper bug report


I couldn't find any sample MKV video with an ASS subtitle tracks. If you don't mind downloading anime fansubs, you can test the original problem with "http://www.megaupload.com/?d=T4Y8KCZO".

At 00:00:20, "Why? We'll get things done faster if you meet her, too", the text stays on indefinitely with the first subtitle track, without using "-ass", even with r32032.

At 00:23:50, "I see. That might be a good idea. Dialogue: 0,0:23:50.35,0:23:51.05,Default-alt,Fuuko,0000,0000,0000,,Um...", timings/labels are displayed.

Again, no problem at all if I use "mplayer -ass x.mkv".
Comment 8 Hanno Zysik (geki) 2010-08-29 12:25:04 UTC
o well, anyway, SVN trunk fixed my problems. both, subtitles that stay on screen that should not as well as the strange:


(comment #7)
> At 00:23:50, "I see. That might be a good idea. Dialogue:
> 0,0:23:50.35,0:23:51.05,Default-alt,Fuuko,0000,0000,0000,,Um...",
> timings/labels are displayed.
> 
> Again, no problem at all if I use "mplayer -ass x.mkv".


I do not use the '-ass' cli option nor 'ass=yes' in the configuration file.

so, thanks! ;)
Comment 9 Reimar Döffinger 2010-08-29 15:04:19 UTC
Do I understand you correctly that you confirm there is no issue in the latest upstream version anymore (whether you use -ass or not)?
Also to clarify: libass is only used for styles etc. rendering. So if you do not use the -ass command line option (not the use flag, that's something else entirely), libass is not used in any way, neither internal nor external.
And I don't blame anyone for not knowing these things, I just want to make sure you know that such seemingly irrelevant things like copy-and-pasting the exact command used and its output can and often are essential for resolving issues quickly!
Comment 10 Hanno Zysik (geki) 2010-08-29 16:09:57 UTC
(In reply to comment #9)
> Do I understand you correctly that you confirm there is no issue in the latest
> upstream version anymore (whether you use -ass or not)?

Yes, as well as 'ass=yes' in configuration file does work.

> And I don't blame anyone for not knowing these things, I just want to make sure
> you know that such seemingly irrelevant things like copy-and-pasting the exact
> command used and its output can and often are essential for resolving issues
> quickly!

Well, they are default ones here, but for video out and xineramascreen, which seemed quite unrelated. :)

With this I am out of this and the bugreport may be closed as fixed upstream.

Well, feel free to discuss other issues here or in a new bugreport since this initial bugreport is fixed.
Comment 11 Léo 2010-08-29 17:38:45 UTC
(In reply to comment #9)
> Do I understand you correctly that you confirm there is
> no issue in the latest upstream version anymore (whether
> you use -ass or not)?
>


Contrarily to Hanno, I still experience the problem if I do not use the "-ass" argument, with the video I linked to at the end of my previous comment, and mplayer-9999 (r32033 now, from `mplayer -v`). I just retested it again.


(In reply to comment #9)
> Also to clarify: libass is only used for styles etc.
> rendering. So if you do not use the -ass command line
> option, libass is not used in any way, neither internal
> nor external.


So there seems to be a problem with the more basic rendering engine, which is not used, or used differently, when using the "-ass" argument.

However, these problems do not appear for SRT subtitles, as said in comment #3 (there is another small rendering problem though, with the two lines at 00:23:50, "I see. That might be a good idea." and "Um..." from the video I linked to, which are displayed on a single line, instead of two with the ASS subtitle track... with mplayer-9999 back then (r31749), it was displayed on two lines, but the "Um..." stayed on screen forever, even with new subtitles being displayed... now it is back to the mplayer-1.0_rc4_p20100506 behavior, with only a single line, which is less problematic, and possibly a completely different problem, so let's forget about it for this bug report).


I tried mplayer-9999 with USE="-ass", and considering that the mplayer-9999 ebuild always disables the internal ASS library, there should not be any relation to ASS anymore. With the ASS subtitle track from the video I linked to, however, I still have the same problems.

It means that without any ASS library, MPlayer still does read ASS subtitle tracks, but simply strips any styling information, right?

- First, the easiest problem is the timing/label being displayed at 00:23:50, meaning it apparently does not strip it properly. Possibly some extension not supported by MPlayer, which trips the stripping process... probably not just a typo leading to some malformation, as I have seen this in various videos from various sources.

- Second, as some subtitles are displayed too long (until another subtitle is displayed, which I suppose is the default behavior), maybe there is some other extension not supported by MPlayer, which leads MPlayer not to be able to read the end time of some subtitles, or something like this.


All this is bypassed when using the `mplayer -ass x.mkv` argument (with USE="ass" to activate libass), so even these extensions work without problem with it, because libass (both internal and external versions) is simply more advanced.
Comment 12 Reimar Döffinger 2010-08-31 18:49:06 UTC
Ok, let me summarize the latest SVN status: Everything should work again for SRT subtitles in MKV. For ASS subtitles in MKV you have to either use the -ass option or -demuxer mkv to avoid this issue.
I hope the latter issue will be fixed soonish as well, but it will take some time since I need to discuss with the libavformat demuxer maintainer first.
Comment 13 Guido Winkelmann 2011-02-05 03:31:51 UTC
The bug is still present exactly as described in media-video/mplayer-1.0_rc4_p20101219 and media-video/mplayer-1.0_rc4_p20101114.
Comment 14 Ricardo Lucca 2011-03-05 16:39:02 UTC
I have this bug in media-video/mplayer-1.0_rc4_p20101114 too.
But mplayer works fine when informed '-ass'.
Comment 15 Hanno Zysik (geki) 2011-04-30 10:28:09 UTC
What about version 20110322? If there is no reply, I will close this. Cleaning my bugreports.