Aspect ratio (DAR) of MP4 Videos are not respected
Categories
(Core :: Audio/Video: Playback, defect, P2)
Tracking
()
People
(Reporter: armin, Assigned: alwu, NeedInfo)
References
Details
(Keywords: parity-chrome, webcompat:platform-bug)
Attachments
(3 files, 1 obsolete file)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0
Steps to reproduce:
I created a video (720x576) and re-coded it as MP4 (not MP4v2) with Avidemux. In the configuration I selected "Force aspect ratio" and set "Aspect Ratio (DAR)" to 16:9.
Actual results:
When I open the video in VLC, Chromium (and other programs), it is properly displayed as a 16:9 video. When I open this video in FF, it is displayed as 4:3.
I attach a ZIP containing a demonstration video to reproduce this bug and screenshot at second 7 from Chromium 119.0.6045.199 and Firefox 115.5.0esr (64-bit).
Expected results:
The video should be displayed with an aspect ratio of 16:9 in firefox.
Comment 1•1 year ago
|
||
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.
Updated•1 year ago
|
Assignee | ||
Comment 3•26 days ago
|
||
This problem is caused by mp4parse not reading the SAR in the pasp
box. Usually SAR will be included in SPS, but in this case, it only exists in the pasp
box.
Assignee | ||
Updated•26 days ago
|
Assignee | ||
Comment 4•26 days ago
|
||
Assignee | ||
Comment 5•26 days ago
|
||
Depends on D236269
Assignee | ||
Comment 6•25 days ago
|
||
The part1 will be pulled from mp4parse
once the review is finished, this is the PR.
Assignee | ||
Updated•25 days ago
|
Assignee | ||
Comment 7•22 days ago
|
||
Updated•22 days ago
|
Updated•22 days ago
|
Updated•21 days ago
|
Updated•21 days ago
|
Comment 9•20 days ago
|
||
Backed out 3 changesets (Bug 1868032) for causing rust vendor linting failures.
Assignee | ||
Updated•20 days ago
|
Comment 10•20 days ago
|
||
This also may be coming from latest land: https://treeherder.mozilla.org/logviewer?job_id=493509548&repo=autoland
Comment 11•20 days ago
|
||
Comment on attachment 9463619 [details]
Bug 1868032 - part1 : update mp4parse to revision e64650a686e5c5732395cd059e17cfd3b1e5b63b.
Revision D236620 was moved to bug 1946245. Setting attachment 9463619 [details] to obsolete.
Updated•20 days ago
|
Updated•20 days ago
|
Comment 12•17 days ago
|
||
Comment 13•17 days ago
|
||
Backed out for causing bc failures @ browser_changePiPSrcInFullscreen.js
- Backout link
- Push with failures
- Failure Log
- Failure line:
TEST-UNEXPECTED-FAIL | toolkit/components/pictureinpicture/tests/browser_changePiPSrcInFullscreen.js | The actual width: 1600. The expected width: 480.24 - Got 1600, expected 480.24 epsilon: +/- 2
Backed out for causing wpt failures @ resize-during-playback.html
- Push with failures
- Failure Log
- Failure line:
TEST-UNEXPECTED-FAIL | /html/semantics/embedded-content/the-video-element/resize-during-playback.html | mp4 video - assert_equals: Expected resize event, but got ended event instead expected "resize" but got "ended"
—————————————————————
Backed out for causing mda failures @ test_hevc_playback.html
- Backout link
- Push with failures
- Failure Log
- Failure line:
TEST-UNEXPECTED-FAIL | dom/media/test/test_hevc_playback.html | Test timed out. -
————————————————————
Backed out for causing wpt failures @ mediasource-correct-frames.html
Description
•