Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 518528 - gstreamer does not decodes h264 videos when gst-plugins-libav built against ffmpeg-2.3
Summary: gstreamer does not decodes h264 videos when gst-plugins-libav built against f...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-29 19:39 UTC by nE0sIghT
Modified: 2015-06-03 10:52 UTC (History)
5 users (show)

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


Attachments
screenshot of http://www.youtube.com/html5 (Selection_001.png,48.79 KB, image/png)
2014-07-29 19:39 UTC, nE0sIghT
Details
Output of "GST_DEBUG=9 firefox http://youtube.com/html5" (firefox.err.bz2,135.56 KB, application/x-bzip)
2014-07-30 14:33 UTC, nE0sIghT
Details
Output of "strace firefox http://youtube.com/html5" (strace.err.bz2,76.64 KB, application/x-bzip)
2014-07-30 14:35 UTC, nE0sIghT
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nE0sIghT 2014-07-29 19:39:27 UTC
Created attachment 381838 [details]
screenshot of http://www.youtube.com/html5

Same with clean profile
Same with v30

emerge -pv firefox
[ebuild   R   ~] www-client/firefox-31.0  USE="dbus gstreamer jit minimal pulseaudio system-cairo system-icu system-jpeg system-sqlite -bindist -custom-cflags -custom-optimization -debug -hardened (-pgo) (-selinux) -startup-notification {-test} -wifi" LINGUAS="ru -af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -csb -cy -da -de -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -ku -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -uk -vi -xh -zh_CN -zh_TW -zu" 0 kB

emerge -pv gstreamer
[ebuild   R    ] media-libs/gstreamer-1.2.4-r2:1.0  USE="introspection nls orc {-test}" ABI_X86="32 (64) (-x32)" 0 kB

emerge --info
Portage 2.2.8-r1 (default/linux/amd64/13.0, gcc-4.8.3, glibc-2.17, 3.15.6-gentoo x86_64)
=================================================================
System uname: Linux-3.15.6-gentoo-x86_64-Intel-R-_Core-TM-_i5-2400_CPU_@_3.10GHz-with-gentoo-2.2
KiB Mem:    16391316 total,   8647796 free
KiB Swap:    2095100 total,   2095100 free
Timestamp of tree: Tue, 29 Jul 2014 18:15: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.6, 3.3.3
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
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.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.6.4, 4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo vortex gamerlay systemd qt qutim
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=native -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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"
CXXFLAGS="-O3 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.corbina.net/gentoo"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/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="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/vortex /var/lib/layman/gamerlay /var/lib/layman/systemd /var/lib/layman/qt /var/lib/layman/qutim"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X a-like-o a52 aac aacplus aacs aalib acl acpi alsa amd64 apng applet archive artworkextra audacious audiofile automount avx bazaar berkdb bidi bittorrent bittorrent-external bluray branding bsf bzip2 cairo caps chardet chdir cjk cli collada cover cracklib crypt css cuda cue cupsddk curl cvs cxx dbus dconf device-mapper dga dhcp dhcpcd dht diff dirac disk-partition divx djvu dnsretry dos drawing dri dv eap-tls enca encode exif experimental extensions extras facedetect fat fbcondecor ffmpeg fftw fileinfo firefox flac fontconfig fortran frei0r fts3 fuse g3dvl gd gdbm gdm geoip gif glade glib glitz gnome gnome-keyring gnome-online-accounts gnome-shell gphoto2 gpm graphite grp grub gstreamer gtk gtk3 gtkstyle gudev gzip hddtemp highlight histman hog hvm hwdb iconsets iconv icq id3tag idle idn infinality inifile intl introspection ioemu ipv6 iso jabber java javascript jingle joystick jpeg jpeg2k kate keymap kinetic kvm ladspa lame lcms libass libcaca libkms libnotify libsamplerate libsecret libtiger lights lm_sensors loop-aes lto lucene lyrics lzma lzo mad matroska melt mercurial minizip mmx mmxext mng modules mp2 mp3 mp4 mp4live mpeg mpeg2 mpg123 mplayer mpris mpu401 mtp mudflap multilib multimedia musepack mvl mysql mysqli nautilus ncurses netplay network nls nptl nsplugin nss ntfs ntfsprogs nvidia offensive ofx ogg ogm oodict openal opencore-amr opengl openmp openssl opensslcrypt optimization optimized-qmake oscar pam parse-clocks pcf pch pcre pcre16 pdf pdo pgo php player plugins png policykit ppds pppd projectm psf pulseaudio purple qml qpak quicktime rar readline realmedia realtime reiserfs resolvconf romio rtsp ru-dv ru-g ru-i ru-k sasl scale0tilt screen screenshot sdl secure-delete sendto session skins slp smp sndfile sound sounds speex spell sqlite sqlite3 sse sse2 sse2_4way sse3 sse4 sse4_1 sse4_2 ssl ssse3 stream strong-optimization subtitles subversion svg system-cairo system-icu system-jpeg system-sqlite systemd t1lib taglib tcpd textures theora threads thunderbird tiff tint2conf tk tls toolbar trayicon truetype tta tweak-mode twolame udev udisks unicode unzip upower usb utils uvm v4l2 vaapi vala vamp vdpau verse vkontakte vorbis vorbis-psy vpx wad wav wavpack webgl webkit webp webphoto whiteboarding winbind wma wmp x264 x265 xanim xattr xcb xcomposite xhtml xinetd xkb xml xmlreader xmlrpc xmlwriter xorg xosd xpm xsl xslt xulrunner xv xvfb xvid zip zlib" ABI_X86="32 64" 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" 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 author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" DRACUT_MODULES="plymouth systemd" 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 ublox ubx" GRUB_PLATFORMS="pc efi-64" INPUT_DEVICES="evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru ru_RU en" NETBEANS_MODULES="apisupport cnd enterprise harness ide j2ee java nb php profiler webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Ian Stakenvicius (RETIRED) gentoo-dev 2014-07-29 19:45:00 UTC
Works fine here.

What are the gst-plugins-*:1.0 packages that you have installed?
Comment 2 nE0sIghT 2014-07-29 19:59:38 UTC
(In reply to Ian Stakenvicius from comment #1)
> Works fine here.
> 
> What are the gst-plugins-*:1.0 packages that you have installed?

eix -x -I --format '<installedversions:NAMESLOT>' gst-plugins | grep :1\\.0
media-libs/gst-plugins-bad:1.0
media-libs/gst-plugins-base:1.0
media-libs/gst-plugins-good:1.0
media-libs/gst-plugins-ugly:1.0
media-plugins/gst-plugins-a52dec:1.0
media-plugins/gst-plugins-assrender:1.0
media-plugins/gst-plugins-dv:1.0
media-plugins/gst-plugins-faad:1.0
media-plugins/gst-plugins-flac:1.0
media-plugins/gst-plugins-lame:1.0
media-plugins/gst-plugins-mad:1.0
media-plugins/gst-plugins-meta:1.0
media-plugins/gst-plugins-mpeg2dec:1.0
media-plugins/gst-plugins-pulse:1.0
media-plugins/gst-plugins-taglib:1.0
media-plugins/gst-plugins-wavpack:1.0
media-plugins/gst-plugins-x264:1.0
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2014-07-29 21:40:52 UTC
You will need gst-plugins-libav for playback.
Comment 4 nE0sIghT 2014-07-30 02:55:25 UTC
It's installed. Do not know why eix display it without slot:

eix gst-plugins-libav
media-plugins/gst-plugins-libav
     Available versions:  (1.0) 1.1.0_pre20130128-r1 ~1.2.0-r1 ~1.2.4
       {+orc ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  1.2.4(1.0)(20:54:07 28.07.2014)(orc ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32")
     Homepage:            http://gstreamer.freedesktop.org/modules/gst-libav.html
     Description:         FFmpeg based gstreamer plugin
Comment 5 nE0sIghT 2014-07-30 02:56:16 UTC
ix -x -I --format '<installedversions:NAMEVERSION>' gst-plugins
media-libs/gst-plugins-bad-0.10.23-r2
media-libs/gst-plugins-bad-1.2.4-r1
media-libs/gst-plugins-base-0.10.36-r1
media-libs/gst-plugins-base-1.2.4-r1
media-libs/gst-plugins-good-0.10.31-r1
media-libs/gst-plugins-good-1.2.4-r1
media-libs/gst-plugins-ugly-0.10.19-r1
media-libs/gst-plugins-ugly-1.2.4-r1
media-plugins/gst-plugins-a52dec-0.10.19-r1
media-plugins/gst-plugins-a52dec-1.2.4-r1
media-plugins/gst-plugins-alsa-0.10.36-r1
media-plugins/gst-plugins-assrender-0.10.23-r1
media-plugins/gst-plugins-assrender-1.2.4-r1
media-plugins/gst-plugins-dv-0.10.31-r1
media-plugins/gst-plugins-dv-1.2.4-r1
media-plugins/gst-plugins-faad-0.10.23-r1
media-plugins/gst-plugins-faad-1.2.4-r1
media-plugins/gst-plugins-ffmpeg-0.10.13_p201211-r2
media-plugins/gst-plugins-flac-0.10.31-r1
media-plugins/gst-plugins-flac-1.2.4-r1
media-plugins/gst-plugins-gconf-0.10.31-r1
media-plugins/gst-plugins-lame-0.10.19-r1
media-plugins/gst-plugins-lame-1.2.4-r1
media-plugins/gst-plugins-libav-1.2.4
media-plugins/gst-plugins-libnice-0.1.7
media-plugins/gst-plugins-mad-0.10.19-r1
media-plugins/gst-plugins-mad-1.2.4-r1
media-plugins/gst-plugins-meta-0.10-r9
media-plugins/gst-plugins-meta-1.0-r2
media-plugins/gst-plugins-mpeg2dec-0.10.19-r1
media-plugins/gst-plugins-mpeg2dec-1.2.4-r1
media-plugins/gst-plugins-musepack-0.10.23-r1
media-plugins/gst-plugins-ogg-0.10.36-r1
media-plugins/gst-plugins-pulse-0.10.31-r1
media-plugins/gst-plugins-pulse-1.2.4-r1
media-plugins/gst-plugins-taglib-0.10.31-r1
media-plugins/gst-plugins-taglib-1.2.4-r1
media-plugins/gst-plugins-theora-0.10.36-r1
media-plugins/gst-plugins-vorbis-0.10.36-r1
media-plugins/gst-plugins-vp8-0.10.23-r2
media-plugins/gst-plugins-wavpack-0.10.31-r1
media-plugins/gst-plugins-wavpack-1.2.4-r1
media-plugins/gst-plugins-x-0.10.36-r1
media-plugins/gst-plugins-x264-0.10.19-r1
media-plugins/gst-plugins-x264-1.2.4-r1
media-plugins/gst-plugins-xvid-0.10.23-r1
media-plugins/gst-plugins-xvideo-0.10.36-r1
Comment 6 Ian Stakenvicius (RETIRED) gentoo-dev 2014-07-30 14:09:52 UTC
The only thing I can think of here that is different from my system is that I don't have USE=pulseaudio (nor anything related to pulseaudio) installed.  I don't know if gst-plugin-libav behaves differently somehow in relation to other gstreamer bits being configured (or not) for pulseaudio, and maybe that's causing firefox to reject libav support and therefore not support h264 ..?

I'll investigate, but this'll take a while as i'll need to convert my test system to use PA..
Comment 7 nE0sIghT 2014-07-30 14:33:42 UTC
Created attachment 381906 [details]
Output of "GST_DEBUG=9 firefox http://youtube.com/html5"

Just tell if i can help somehow

Here is output of "GST_DEBUG=9 firefox http://youtube.com/html5"
Comment 8 nE0sIghT 2014-07-30 14:35:00 UTC
Created attachment 381908 [details]
Output of "strace firefox http://youtube.com/html5"

Output of "strace firefox http://youtube.com/html5"

All logs done with clear profile
Comment 9 equeim 2014-07-30 15:29:44 UTC
I have the same problem (without pulseaudio). h264 playback broke after update to firefox 31.
Comment 10 nE0sIghT 2014-07-30 15:57:08 UTC
For me it was broken in 30 too
It's definitely not firefox problem, but gstreamer

I get "missing plugins" for :1.0 and :0.10 versions

gst-discoverer-1.0 The\ Simpsons\ Movie\ -\ 1080p\ Trailer.mp4 
Analyzing file:///video/simpsons_movie_1080p_hddvd_trailer/The%20Simpsons%20Movie%20-%201080p%20Trailer.mp4
Done discovering file:///video/simpsons_movie_1080p_hddvd_trailer/The%20Simpsons%20Movie%20-%201080p%20Trailer.mp4
Missing plugins

Topology:
  container: Quicktime
    audio: MPEG-4 AAC
      audio: MPEG-4 AAC
    video: H.264
Comment 11 nE0sIghT 2014-07-30 19:01:03 UTC
Downgrading ffmpeg-2.3 to ffmpeg-2.2.5 and rebuilding gst-plugins-libav resolved this issue for me.
Also building libav:9 instead of ffmpeg also works well

So the problem in combination of ffmpeg-2.3 and gst-plugins-libav-1.2.4
Comment 12 nE0sIghT 2014-07-30 19:04:41 UTC
One more: gstreamer:0.10 affected too
Comment 13 Ben Kohler gentoo-dev 2014-07-30 19:44:16 UTC
Are we sure this isn't the same as bug #518338 (and bug #518356)? Does rebuilding gst-plugins-libav (for gstreamer-1.0) or gst-plugins-ffmpeg (for gstreamer-0.10) help?
Comment 14 equeim 2014-07-30 20:02:23 UTC
>>Downgrading ffmpeg-2.3 to ffmpeg-2.2.5 and rebuilding gst-plugins-libav resolved this issue for me.

Same here.

>>Does rebuilding gst-plugins-libav (for gstreamer-1.0) or gst-plugins-ffmpeg (for gstreamer-0.10) help?

Rebuilding gst-plugins-libav didn't fix the problem.
Comment 15 Luciano 2015-03-25 08:26:22 UTC
Is anyone still experiencing these issues? How has this been affected with th change in USE flags (see news 2015-02-01-use-libav )?

I'm using firefox 36, with gst 1.0, and the libav plugin, and having the same problem.
Comment 16 Pacho Ramos gentoo-dev 2015-06-03 10:52:14 UTC
this should be obsolete now with latest plugin version in the tree