Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 570010 - www-client/chromium:please make dependency on media-video/ffmpeg[opus,vorbis,vpx] optional
Summary: www-client/chromium:please make dependency on media-video/ffmpeg[opus,vorbis,...
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:
Blocks:
 
Reported: 2015-12-28 17:46 UTC by om3i
Modified: 2016-01-22 09:10 UTC (History)
1 user (show)

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


Attachments
Bundled configure log (chrome-ffmpeg-config.txt,3.03 KB, text/plain)
2016-01-05 15:45 UTC, Mike Gilbert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description om3i 2015-12-28 17:46:40 UTC
ffmpeg has internal codecs for decoding these(and almost any other) formats, external libs requied only for high quality encoding.

If i re-emerge ffmpeg with --nodeps USE='-opus -vorbis -vpx' and re-launch chromium these formats are still playnig fine.

Reproducible: Always
Comment 1 om3i 2015-12-28 17:52:36 UTC
Yes, flash is disabled, i'm sure its with html5.
Comment 2 Alex Xu (Hello71) 2015-12-28 18:52:45 UTC
pretty sure they are required for webrtc.
Comment 3 Alexis Ballier gentoo-dev 2016-01-05 14:00:44 UTC
(In reply to Alex Xu (Hello71) from comment #2)
> pretty sure they are required for webrtc.

you'd probably need ffmpeg[encode] dep too then, otherwise you'd get only the decoders which won't be used by default with ffmpeg[-encode]
Comment 4 Mike Gilbert gentoo-dev 2016-01-05 15:45:13 UTC
Created attachment 422018 [details]
Bundled configure log

I have attached a section from a build log of www-client/chromium-49.0.2587.3[system-ffmpeg]. It shows the configure command that is used for the bundled ffmpeg library.

Maybe this will help with figure out what ffmpeg USE flags are actually needed.
Comment 5 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2016-01-05 19:44:27 UTC
(In reply to xpue from comment #0)
> If i re-emerge ffmpeg with --nodeps USE='-opus -vorbis -vpx' and re-launch
> chromium these formats are still playnig fine.

What are your testing steps (starting from a fresh profile)? I'd like to make sure they're documented on this bug, that we can repeat them, and that they cover all needed scenarios.

(In reply to Alex Xu (Hello71) from comment #2)
> pretty sure they are required for webrtc.

Could you provide evidence for above statement? FWIW I'm not aware of any webrtc-specific requirements.
Comment 6 om3i 2016-01-08 14:42:41 UTC
>What are your testing steps
I installed chromium-48.0.2564.23 normally with USE=system-ffmpeg

re-built ffmpeg with --nodeps USE='-opus -vorbis -vpx'

disabled flash in chromium settings

opened these:
http://opus-codec.org/examples
http://vorbis.com/music
http://webmfiles.org/demo-files
http://youtube.com (it's vp9 by default)

have not tested re-building chromium after disabling codecs in ffmpeg.
Comment 7 om3i 2016-01-08 14:50:00 UTC
Forgot, of course i re-launched chromium after re-building ffmpeg.
Comment 8 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2016-01-22 09:10:53 UTC
Fixed. Thanks for the report and testing!