Investigate using VPXDecoder for decoding VP9 in WebRTC
Categories
(Core :: WebRTC: Audio/Video, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox120 | --- | fixed |
People
(Reporter: pehrsons, Assigned: pehrsons)
References
(Depends on 1 open bug, Blocks 2 open bugs)
Details
Attachments
(4 files)
There are several issues with decoding VP9 SVC streams with MediaDataDecoder codecs. Both FFmpegVideoDecoder and AppleVTDecoder have issues reported on them.
We could use libwebrtc's libvpx decoder as that is basically the libwebrtc reference codec. It runs in the content process however.
The MediaDataDecoder stack also has VPXDecoder which IIRC can handle SVC just as well, and would run in the RDD process. Let's verify this and see if we can make it the default in webrtc.
Assignee | ||
Comment 1•1 year ago
|
||
There are reports that Apple's VideoToolbox VP9 decoder, which is always in
hardware, cannot always decode SVC streams properly. For now disable it for all
low-latency VP9 decoding -- this is mainly WebRTC.
Assignee | ||
Comment 2•1 year ago
|
||
There are reports that FFmpegVideoDecoder cannot always decode SVC streams
properly. For now disable it for all low-latency VP9 decoding -- this is mainly
WebRTC.
Assignee | ||
Comment 3•1 year ago
|
||
This patch should fix hw decode with WebRTC for all codecs supported by WMF.
Assignee | ||
Comment 4•1 year ago
|
||
WMFVideoMFTManager cannot decode SVC streams with multiple spatial layers.
For now disable it for low-latency VP9 decoding -- this is mainly WebRTC.
Depends on D191447
Comment 6•1 year ago
|
||
Backed out for causing bustages on FFmpegDecoderModule.h
Comment 9•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/015c26be53dd
https://hg.mozilla.org/mozilla-central/rev/f3322110cf34
https://hg.mozilla.org/mozilla-central/rev/7e8153f9bf53
https://hg.mozilla.org/mozilla-central/rev/0546c85daa8d
Description
•