Open Bug 1989491 Opened 28 days ago Updated 15 days ago

Support Matroska in MediaRecorder (Opus, VP8, VP9, et al. codecs)

Categories

(Core :: Audio/Video: Recording, enhancement)

Firefox 144
enhancement

Tracking

()

People

(Reporter: guest271314, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36

Steps to reproduce:

["video/x-matroska;codecs=vp8",
"video/x-matroska;codecs=vp9",
"video/x-matroska;codecs=opus,vp9",
"video/x-matroska;codecs=opus,vp8",
"video/x-matroska;codecs=av1",
"video/x-matroska;codecs=opus"]
.forEach((mimeType) => console.log(`MediaRecorder.isTypeSupported(${mimeType}): ${MediaRecorder.isTypeSupported(mimeType)}`));

Actual results:

Firefox 144

MediaRecorder.isTypeSupported(video/x-matroska;codecs=vp8): false debugger eval code:7:32
MediaRecorder.isTypeSupported(video/x-matroska;codecs=vp9): false debugger eval code:7:32
MediaRecorder.isTypeSupported(video/x-matroska;codecs=opus,vp9): false debugger eval code:7:32
MediaRecorder.isTypeSupported(video/x-matroska;codecs=opus,vp8): false debugger eval code:7:32
MediaRecorder.isTypeSupported(video/x-matroska;codecs=av1): false debugger eval code:7:32
MediaRecorder.isTypeSupported(video/x-matroska;codecs=opus): false

Expected results:

Chromium 142

MediaRecorder.isTypeSupported(video/x-matroska;codecs=vp8): true
MediaRecorder.isTypeSupported(video/x-matroska;codecs=vp9): true
MediaRecorder.isTypeSupported(video/x-matroska;codecs=opus,vp9): true
MediaRecorder.isTypeSupported(video/x-matroska;codecs=opus,vp8): true
MediaRecorder.isTypeSupported(video/x-matroska;codecs=av1): true
MediaRecorder.isTypeSupported(video/x-matroska;codecs=opus): true
Blocks: matroska

The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core

Currently, we don’t have plans to add Matroska support to MediaRecorder, but I’ll keep this bug open for further discussion. Our preference is still for people to use WebM rather than Matroska.

Severity: -- → N/A
Status: UNCONFIRMED → NEW
Type: defect → enhancement
Ever confirmed: true
Priority: -- → P3

Currently, we don’t have plans to add Matroska support to MediaRecorder, but I’ll keep this bug open for further discussion.

Huh?

Our preference is still for people to use WebM rather than Matroska.

Well, if we were dealing with only in-house Firefox preferences there wouln't be Matroska support at all. The whole point is users want Matroska support across all media encoding and decoding API's.

Component: Audio/Video: Playback → Audio/Video: Recording

The component has been changed since the backlog priority was decided, so we're resetting it.
For more information, please visit BugBot documentation.

Priority: P3 → --
You need to log in before you can comment on or make changes to this bug.