Add support to ffvpx to use MediaCodec FLAC/Opus/Vorbis for EME playback
Categories
(Core :: Audio/Video: Playback, enhancement, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox159 | --- | fixed |
People
(Reporter: aosmond, Assigned: aosmond)
References
(Blocks 1 open bug, )
Details
Attachments
(2 external files)
We currently advertise support for Opus/FLAC/Vorbis for EME playback:
https://searchfox.org/firefox-main/rev/3682546ac2c02610537306ca16849de2c24aea45/dom/media/eme/KeySystemConfig.cpp#162-165,172-175
But we don't implement this path in ffvpx as ffmpeg doesn't supply the necessary hooks. We need to implement this for the EME playback path only, as otherwise we prefer our software implementations built into ffvpx.
| Assignee | ||
Comment 1•1 month ago
|
||
I added a more complete patch to https://github.com/aosmond/FFmpeg/commit/47c92b0bb3946257636d883e7fc8186406419b75 which contains tests which I ran against the Android emulator.
| Assignee | ||
Comment 2•1 month ago
|
||
Our only implementation for AAC is the MediaCodec NDK, and our pure
software encoders do not support decrypting as that also requires
the NDK.
| Assignee | ||
Comment 3•1 month ago
|
||
This will allow EME playback for content encrypting audio of these
types.
| Assignee | ||
Updated•1 month ago
|
Comment 5•1 month ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/c20566c207d1
https://hg.mozilla.org/mozilla-central/rev/4b843c27d0df
| Assignee | ||
Updated•1 month ago
|
Updated•1 month ago
|
Description
•