Closed
Bug 1000671
Opened 10 years ago
Closed 2 years ago
Video codec fallback mechanism
Categories
(Core :: Audio/Video: Playback, defect, P2)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: bwu, Unassigned)
References
Details
For some platforms, when some HW codec is not available, we need to fallback to SW codec. Currently there is no such fallback mechanism in the Gecko. We need to have one to choose a better codec. Take webm for example (bug 986381), current FFOS only use internal SW decoder. But some platforms support VP8 HW decoder, we need to use it for smoother playback. However, we need to a fallback mechanism for those platforms that don't have a HW decoder.
Comment 1•10 years ago
|
||
I think in the WebM case we should instead have an abstraction layer in WebMReader where we can choose which decoder to use. This would end up being similar to the PlatformDecoderModule that we're using in MP4Reader. That way we can use our own WebM demuxer, and then choose to either use OMX's HW decoder, or libvpx software decoder. We already have Intel working on integrating a VP8 HW decoder for next generation ATOM chipsets on Windows 8.1 in bug 922314. They need something like this for bug 922314, so we make the decoders pluggable here, we could use that on desktop with Intel's HW decoder too.
Reporter | ||
Comment 2•10 years ago
|
||
Cool. This is a good idea. Once I finish PlatformDecoderModule on B2G, I can leverage it for B2G webm decoder!
Reporter | ||
Comment 3•9 years ago
|
||
Besides webm, since we are going to have open h.264 supported on firefox, on B2G it is required to be flexible to use either open h.264 decoder or omx decoder. For Android's h.264 SW decoder, it only supports baseline profile[1]. [1]http://developer.android.com/guide/appendix/media-formats.html#core
Assignee: nobody → bwu
Updated•9 years ago
|
Component: Audio/Video → Audio/Video: MSG/cubeb/GMP
Jean-Yves - this is related to what we were discussing today.
Comment 5•9 years ago
|
||
Oh, I just created bug 1206977 for that :)
Updated•9 years ago
|
Component: Audio/Video: MSG/cubeb/GMP → Audio/Video: Playback
Comment 6•9 years ago
|
||
It is now up to GonkDecoderModule::SupportsMimeType to do the right thing and tell if it supports VP8/VP9
Updated•6 years ago
|
Rank: 15
Priority: -- → P2
Comment 7•2 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months.
:jimm, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee: blakewu0205 → nobody
Flags: needinfo?(jmathies)
Updated•2 years ago
|
Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(jmathies)
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•