Open Bug 1709081 Opened 5 years ago Updated 4 years ago

DecodeError on MP4 segment only when using MSE

Categories

(Core :: Audio/Video: Playback, defect, P3)

Firefox 88
defect

Tracking

()

UNCONFIRMED

People

(Reporter: jeroen.tempels, Unassigned)

Details

Attachments

(1 file)

521.08 KB, application/x-zip-compressed
Details
Attached file reproduction.zip

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36

Steps to reproduce:

I appended a certain mp4 segment to a MSE SourceBuffer on mac and got a decode error. In attachment I have added a reproduction.zip archive which contains a reproduction.html page. To reproduce, just extract the zip and host the contents. The reproduction page will create the MediaSource and SourceBuffer, append the segment and seek to the start of the segment. The corrupt segment is also in the archive. It is the concatenated version of the initializer and the media data which can also be found in the archive.

Actual results:

Firefox thows an error Media resource blob:... could not be decoded, error: Error Code: NS_ERROR_DOM_MEDIA_DECODE_ERR (0x806e0004) Details: void mozilla:AppleVTDecoder::OnDecodeError(OSStatus): OnDecodeError:ffffdcf7.

Expected results:

The segment should decode normally. It plays fine on Windows on Firefox, Chrome, and Edge. On mac, I only get the error on Firefox, Chrome and Safari play just fine. Also, if you drag the mp4 in Firefox, to get playback without MSE, the segment plays without any issues.

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

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

bryce, do you know who is in charge of MSE right now?

Severity: -- → S4
Flags: needinfo?(bvandyk)

(In reply to C.M.Chang[:chunmin] from comment #2)

bryce, do you know who is in charge of MSE right now?

Alsastor or myself are covering MSE these days. I don't have time to immediately look at this, but will hold the NI.

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

Attachment

General

Creator:
Created:
Updated:
Size: