Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 654208 - =www-client/chromium-67.0.3396.18[proprietary-codecs] video and audio codecs (youtube videos, etc) do not play (=media-video/ffmpeg-3.3.6)
Summary: =www-client/chromium-67.0.3396.18[proprietary-codecs] video and audio codecs ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on: ffmpeg-4
Blocks:
  Show dependency tree
 
Reported: 2018-04-27 19:08 UTC by Nick
Modified: 2019-08-18 18:00 UTC (History)
5 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 Nick 2018-04-27 19:08:33 UTC
With proprietary-codecs enabled, youtube videos and other video / audio media do not play in chromium (playing videos / audio works in =www-client/google-chrome-unstable-67.0.3396.18).

When chromium is launched from the command line and I attempt to play a video on youtube, the following errors appear:

[1:22:0427/115529.369188:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"video decoder initialization failed"}
[1:1:0427/115529.392712:ERROR:render_media_log.cc(30)] MediaEvent: PIPELINE_ERROR DECODER_ERROR_NOT_SUPPORTED
[1:22:0427/115530.943368:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"audio decoder initialization failed"}
[1:1:0427/115530.948624:ERROR:render_media_log.cc(30)] MediaEvent: PIPELINE_ERROR DECODER_ERROR_NOT_SUPPORTED

Similarly, when trying to do a lesson / start practice on https://www.duolingo.com, the following errors appear:

[1:23:0427/115547.977008:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"audio decoder initialization failed"}
[1:1:0427/115547.980916:ERROR:render_media_log.cc(30)] MediaEvent: PIPELINE_ERROR DECODER_ERROR_NOT_SUPPORTED
[1:23:0427/115548.228466:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"audio decoder initialization failed"}
[1:1:0427/115548.229112:ERROR:render_media_log.cc(30)] MediaEvent: PIPELINE_ERROR DECODER_ERROR_NOT_SUPPORTED
[23996:23996:0427/115602.149302:ERROR:CONSOLE(6)] "Uncaught ReferenceError: gbar is not defined", source: https://clients5.google.com/pagead/drt/dn/ (6)
[23996:23996:0427/115625.329754:ERROR:CONSOLE(6)] "Uncaught ReferenceError: gbar is not defined", source: https://clients5.google.com/pagead/drt/dn/ (6)
[1:22:0427/115630.750550:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"FFmpegDemuxer: open context failed"}
[1:22:0427/115630.750650:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"FFmpegDemuxer: open context failed"}
[1:22:0427/115630.750699:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"FFmpegDemuxer: open context failed"}
[1:1:0427/115630.750729:ERROR:render_media_log.cc(30)] MediaEvent: PIPELINE_ERROR DEMUXER_ERROR_COULD_NOT_OPEN
[1:1:0427/115630.750855:ERROR:render_media_log.cc(30)] MediaEvent: PIPELINE_ERROR DEMUXER_ERROR_COULD_NOT_OPEN
[1:1:0427/115630.750940:ERROR:render_media_log.cc(30)] MediaEvent: PIPELINE_ERROR DEMUXER_ERROR_COULD_NOT_OPEN
[1:22:0427/115630.752441:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"FFmpegDemuxer: open context failed"}
[1:1:0427/115630.752711:ERROR:render_media_log.cc(30)] MediaEvent: PIPELINE_ERROR DEMUXER_ERROR_COULD_NOT_OPEN
[1:22:0427/115630.753883:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"FFmpegDemuxer: open context failed"}
[1:1:0427/115630.754056:ERROR:render_media_log.cc(30)] MediaEvent: PIPELINE_ERROR DEMUXER_ERROR_COULD_NOT_OPEN
[1:22:0427/115630.754287:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"FFmpegDemuxer: open context failed"}
[1:1:0427/115630.754393:ERROR:render_media_log.cc(30)] MediaEvent: PIPELINE_ERROR DEMUXER_ERROR_COULD_NOT_OPEN

emerge -pv www-client/chromium

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   #] www-client/chromium-67.0.3396.18::gentoo  USE="cups gnome-keyring hangouts (pic) proprietary-codecs pulseaudio system-ffmpeg system-icu -component-build -custom-cflags -jumbo-build -kerberos (-neon) (-selinux) -suid (-system-libvpx) (-tcmalloc)" L10N="am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv sw ta te th tr uk vi zh-CN zh-TW" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

emerge -pv ffmpeg

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] media-video/ffmpeg-3.3.6:0/55.57.57::gentoo  USE="X alsa bzip2 encode fdk gpl hardcoded-tables iconv libass modplug mp3 network opengl opus postproc pulseaudio sdl threads truetype vaapi vdpau vorbis x264 xcb xvid zlib (-altivec) -amr -amrenc -bluray -bs2b -cdio -celt -chromaprint -chromium -cpudetection -debug -doc -flite -fontconfig -frei0r -fribidi -gcrypt -gme -gmp -gnutls -gsm -iec61883 -ieee1394 -jack -jpeg2k -kvazaar -ladspa -libcaca -libilbc -librtmp -libsoxr -libv4l -lzma (-mipsdspr1) (-mipsdspr2) (-mipsfpu) (-mmal) -nvenc -openal -openh264 -openssl -oss -pic -rubberband -samba -schroedinger -snappy -sofalizer -speex -ssh -static-libs {-test} -theora -twolame -v4l -vpx -wavpack -webp -x265 -zeromq -zimg -zvbi" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="mmx mmxext sse sse2 -3dnow -3dnowext -aes -avx -avx2 -fma3 -fma4 -sse3 -sse4_1 -sse4_2 -ssse3 -xop" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Comment 1 Michael Cook 2018-04-30 17:03:26 UTC
I'm seeing this too. I guess I'll try without system-ffmpeg ... Will let you know in tomorrow I guess -.-
Comment 2 Michael Cook 2018-04-30 17:22:20 UTC
I should also note I have =media-video/ffmpeg-3.4.2-r1. Looking at the archive it looks like it's bundled with a pre-release of ffmpeg 4.
Comment 3 Yuriy Dmitriev 2018-05-01 11:27:14 UTC
Same problem. I confirm.


[1:15:0501/141252.308367:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_
LOG_ENTRY {"error":"audio decoder initialization failed"}
[1:1:0501/141252.660704:ERROR:render_media_log.cc(30)] MediaEvent: PIPELINE_ERRO
R DECODER_ERROR_NOT_SUPPORTED
Comment 4 hariskar 2018-05-01 14:59:58 UTC
I confirm too. Any workaround till solved?
Comment 5 Ben Kohler gentoo-dev 2018-05-01 15:49:40 UTC
FWIW, unmasking ffmpeg-4.0 fixes the chromium issue here.  Of course that may break some of your other packages (https://bugs.gentoo.org/show_bug.cgi?id=ffmpeg-4)

You could also disable system-ffmpeg until 4.0 gets unmasked.
Comment 6 Michael Cook 2018-05-01 16:48:48 UTC
Took a while, but I can confirm -system-ffmpeg does work (although, now I'm building ffmpeg at least 3 times for my @world! :P)
Comment 7 Larry the Git Cow gentoo-dev 2018-05-01 18:02:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8124dddb2e26fac664f3287ed84332e487f5df91

commit 8124dddb2e26fac664f3287ed84332e487f5df91
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2018-05-01 18:02:36 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2018-05-01 18:02:36 +0000

    www-client/chromium: depend on >=media-video/ffmpeg-4
    
    Closes: https://bugs.gentoo.org/654208
    Package-Manager: Portage-2.3.31_p60, Repoman-2.3.9_p116

 www-client/chromium/chromium-67.0.3396.18.ebuild | 2 +-
 www-client/chromium/chromium-68.0.3409.2.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7d315110b9dbccd28e49214298a2b5ff089ccd7

commit f7d315110b9dbccd28e49214298a2b5ff089ccd7
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2018-05-01 18:00:14 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2018-05-01 18:01:29 +0000

    profiles: mask >=www-client/chromium-67[system-ffmpeg]
    
    Bug: https://bugs.gentoo.org/654208

 profiles/base/package.use.mask | 4 ++++
 1 file changed, 4 insertions(+)
Comment 8 Larry the Git Cow gentoo-dev 2019-08-18 18:00:44 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e2fb2814c1ade1966fbfa8d51aac6c8afa70c26

commit 8e2fb2814c1ade1966fbfa8d51aac6c8afa70c26
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
AuthorDate: 2019-08-18 05:12:22 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2019-08-18 18:00:20 +0000

    profiles: Drop obsolete www-client/chromium[system-ffmpeg] masks.
    
    Bug: https://bugs.gentoo.org/654208
    Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 profiles/arch/arm/package.use.mask | 4 ----
 profiles/base/package.use.mask     | 4 ----
 2 files changed, 8 deletions(-)