Closed Bug 1780905 Opened 2 years ago Closed 2 years ago

MP4 videos with moov box at the end of the file will display as corrupted if they do not load fully.

Categories

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

Firefox 104
defect

Tracking

()

RESOLVED DUPLICATE of bug 1781063
Tracking Status
firefox-esr91 --- unaffected
firefox-esr102 --- fixed
firefox103 --- wontfix
firefox104 --- affected
firefox105 --- fixed
firefox106 --- fixed

People

(Reporter: Zaggy1024, Assigned: karlt)

References

(Regression)

Details

(Keywords: regression)

Videos recorded by some real-time recording apps will write video data into one large MP4 mdat box before writing the metadata, so the moov box will not be written until the end of the file.

Chrome seems to buffer videos like this until it finds the moov box, but currently it appears that Firefox just considers the video corrupt because it can't find the box in the initial data sent to the parser.

I've tested this with a two videos other than the one linked below. One was generated by the Windows Game Bar like the example, and one was generated by Overwatch's in-game highlight recording system. Both exhibited the issue when played through an internet connection. Playing the affected videos locally avoids the issue.

Example: https://user-images.githubusercontent.com/15205088/175407710-39c2f6dc-2643-450f-b64b-ed6adad60feb.mp4

Regressed by: CVE-2022-31736
See Also: → 1781063
Assignee: nobody → karlt

The severity field is not set for this bug.
:jimm, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jmathies)

Thank you for filing. The patch in bug 1781063 fixes this, so I'll dupe there.

Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(jmathies)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.