Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 463588 - >media-video/ffmpeg-0.10.6 fails to display subtitles
Summary: >media-video/ffmpeg-0.10.6 fails to display subtitles
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-28 10:08 UTC by foux
Modified: 2013-06-14 00:05 UTC (History)
0 users

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 foux 2013-03-28 10:08:30 UTC
Versions of ffmpeg-1.x doesn't display subtitles anymore in any clients.
Switching back to ffmpeg-0.10.6 displays the subtitles again

Reproducible: Always

Steps to Reproduce:
1.Update to ffmpeg-1.x
2.Try to launch a video with subtitles with a player like mplayer or XBMC
Actual Results:  
Subtitles doesn't show

Expected Results:  
Subtitles should show
Comment 1 foux 2013-03-28 10:09:12 UTC
Emerge info

Portage 2.1.11.59 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.2, glibc-2.16.0, 3.8.3-gentoo-r1 x86_64)
=================================================================
System uname: Linux-3.8.3-gentoo-r1-x86_64-Intel-R-_Core-TM-_i5-3570K_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:     8130656 total,    269868 free
KiB Swap:    3145724 total,   2743356 free
Timestamp of tree: Wed, 27 Mar 2013 22:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.13.1
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo steam-overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.2/conf /usr/share/maven-bin-3.0/conf /usr/share/polkit-1/actions"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo ftp://ftp.swin.edu.au/gentoo ftp://gentoo.in.th/ ftp://mirrors.sohu.com/gentoo/"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/mnt/automount/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/steam"
SYNC="rsync://genbmc.local/gentoo-portage"
USE="X a52 aac aacplus aacs acl acpi addressbook airplay alac alsa amd64 amr apache2 apm avahi bash-completion berkdb bluetooth bluray bonjour branding bzip2 cairo cdda cddb cdr cli consolekit cpudetection cracklib crypt css cups curl cxx dbus declarative device-mapper dga dri dts dvd dvdr emboss encode exif faac fam ffmpeg firefox flac flash fluidsynth fontconfig fortran ftp gdbm geoip gif gphoto2 gpm gps graphviz gtk hal hfs iconv icu imagemagick imap ios ipod ipv6 jabber java jfs jpeg jpeg2k kate kde kipi kontact latex lcms ldap libass libnotify lm_sensors mad matroska midi mmx mmxext mng mod modplug modules mp3 mp4 mpeg mplayer mudflap multilib mysql ncurses nfs nls nptl nsplugin ntfs nvidia offensive ogg opencl opengl openmp openssl pam pango pcre pdf phonon plasma png policykit portmon ppds qt3support qt4 quicktime raw readline rss samba sdl semantic-desktop session spell sse sse2 sse3 sse4 ssl startup-notification subversion svg syslog tcpd threads tiff truetype udev udisks unicode upower usb video vorbis webkit wxwidgets x264 xcb xcomposite xfs xinerama xml xscreensaver xv xvid youtube zeroconf zlib" ABI_X86="64 32" 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="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="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" XFCE_PLUGINS="brightness clock trash" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 foux 2013-04-07 12:16:33 UTC
This bug is still valid with the last version. Anyone to look on it?
Comment 3 Alexis Ballier gentoo-dev 2013-04-11 13:29:41 UTC
could you please provide a sample ?

is it related to: https://github.com/xbmc/xbmc/pull/2525 ?
Comment 4 Alexis Ballier gentoo-dev 2013-04-11 13:39:24 UTC
also, could you please check if mplayer-9999 works?
Comment 5 foux 2013-04-12 17:43:43 UTC
It seems, indeed, related with the bug.
But I can't test with mplayer-9999, it doesn't compile on my system :

x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef  -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99  -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -fpie -DPIC -D_REENTRANT  -I/usr/include -I/usr/include/freetype2 -I/usr/include -I/usr/include/libdvdread -c -o libvo/vo_png.o libvo/vo_png.c
In file included from libvo/vo_dga.c:38:0:
/usr/include/X11/extensions/xf86dga.h:9:2: warning: #warning "xf86dga.h is obsolete and may be removed in the future." [-Wcpp]
/usr/include/X11/extensions/xf86dga.h:10:2: warning: #warning "include <X11/extensions/Xxf86dga.h> instead." [-Wcpp]
libvo/vo_png.c: In function 'config':
libvo/vo_png.c:135:9: error: invalid use of undefined type 'enum AVPixelFormat'
libvo/vo_png.c: In function 'draw_image':
libvo/vo_png.c:173:5: warning: 'avcodec_encode_video' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4272) [-Wdeprecated-declarations]
make: *** [libvo/vo_png.o] Erreur 1
Comment 6 Alexis Ballier gentoo-dev 2013-04-13 17:17:10 UTC
right, indeed

+  13 Apr 2013; Alexis Ballier <aballier@gentoo.org> mplayer-9999.ebuild:
+  trunk now requires ffmpeg 1.1, reported in bug #463588 by foux
+


could you please try with ffmpeg 1.1.4 and mplayer 9999 then ?
Comment 7 Alexis Ballier gentoo-dev 2013-06-13 22:46:52 UTC
+*xbmc-12.2-r1 (13 Jun 2013)
+
+  13 Jun 2013; Alexis Ballier <aballier@gentoo.org> +xbmc-12.2-r1.ebuild:
+  Backport some FFmpeg related fixes from master.
+  Fixes bugs #466718, #463588 and should improve libav compatibility.
+

-> the xbmc part of it is fixed
Comment 8 Alexis Ballier gentoo-dev 2013-06-14 00:05:19 UTC
+*mplayer-1.1.1-r1 (14 Jun 2013)
+
+  14 Jun 2013; Alexis Ballier <aballier@gentoo.org> +mplayer-1.1.1-r1.ebuild,
+  files/mplayer-1.1-libav-9.patch, +files/mplayer-1.1.1-avcodecidsubrip.patch,
+  +files/mplayer-1.1.1-codecidsubrip.patch:
+  Fix subtitles in mkv with recent ffmpeg, bug #463588. Also fix a wrong hunk
+  in the libav-9 patch.
+


-> should be all fixed now