Closed Bug 1790164 Opened 2 years ago Closed 2 years ago

Vendor in libwebm and build a signs-of-life mkv demuxer

Categories

(Core :: Audio/Video: Playback, task, P4)

task

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: bradwerth, Assigned: bradwerth)

References

(Blocks 1 open bug)

Details

Attachments

(5 files, 1 obsolete file)

libwebm is capable of webm and mkv encode and decode. Using it would allow us to replace our usage of libnestegg and libmkv and give us more capabilities. Vendor in libwebm and build a minimum MKV demuxer that demonstrates that the library is correctly integrated.

Depends on D157015

Attachment #9294056 - Attachment is obsolete: true
Attachment #9294760 - Attachment description: WIP: Bug 1790164 Part 3: Add more capability to MKV decoder and demuxer. → WIP: Bug 1790164 Part 3: Make MKVDemuxer read and report track info.
Attached file HDR_Furby_VP9.mkv

This signs-of-life is at a good point to pause work and evaluate. The current stack of patches is capable of playing the attached VP9 encoded MKV with the following restrictions:

  1. No seek support. Reload to play the video from the top.
  2. In some cases the video fails to play the first time.
  3. No audio is played, though the audio packets are being decoded.

Jeff, would you please evaluate the work thus far and indicate if we want to proceed further, and if so what capabilities would you like to see next?

Flags: needinfo?(jmuizelaar)

We're going to leave this as a proof-of-concept that we might pick up again if we decide for sure to add MKV support. libwebm is viable, but no other browser is currently using it for MKV demuxing. Other options include using ffmpeg or expanding libnestegg to handle MKV. For now, we'll resolve this as INCOMPLETE.

Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(jmuizelaar)
Resolution: --- → INCOMPLETE

What codecs do you plan on supporting for MKV? If just VP9, VP8, and Opus all we have to do is change metadata to WebM and extension to .webm, correct?

Comment on attachment 9294055 [details]
WIP: Bug 1790164 Part 2: Add stub MKV decoder and demuxer.

Revision D157015 was moved to bug 1631735. Setting attachment 9294055 [details] to obsolete.

Attachment #9294055 - Attachment is obsolete: true
Attachment #9294055 - Attachment description: WIP: Bug 1790164 Part 2: Add a stub MKV decoder and demuxer. → Bug 1790164 Part 2: Add stub MKV decoder and demuxer.
Attachment #9294055 - Attachment is obsolete: false
Attachment #9294055 - Attachment description: Bug 1790164 Part 2: Add stub MKV decoder and demuxer. → WIP: Bug 1790164 Part 2: Add stub MKV decoder and demuxer.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: