Open Bug 1887512 Opened 2 years ago Updated 11 months ago

4:2:2 VP9 videos do not display correctly on arm64 macOS

Categories

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

Firefox 124
ARM64
macOS
defect

Tracking

()

UNCONFIRMED

People

(Reporter: me, Assigned: chunmin)

References

(Blocks 1 open bug)

Details

(Keywords: correctness)

Attachments

(2 files)

Attached image broken_colour.png

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:124.0) Gecko/20100101 Firefox/124.0

Steps to reproduce:

Attempt to play a 4:2:2 encoded VP9 video in Firefox 124.0.1 on a M1 Max based computer running macOS 14.3.1

For example, use the following command:
ffmpeg -i /Users/foxt/Downloads/BigBuckBunny_320x180.mp4 -pix_fmt yuv422p video.webm

Actual results:

The video did not render correctly. It appears to me that the luma channel is rendered correctly, but the chroma channel is scaled up 2x vertically.

Expected results:

The video shows with correct colours.

Attached video video.webm

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
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1325847
Resolution: --- → DUPLICATE

Hi Jim,
Don't want to be a bother, but that other bug seems different? The bug 1325847 seems to be 422 H.264 playback on Windows Intel not working at all, whereas this bug is 422 VP9 on Apple Silicon on macOS playing but having warped colours?

Thanks

Flags: needinfo?(jmathies)
Status: RESOLVED → REOPENED
No longer duplicate of bug: 1325847
Ever confirmed: true
Resolution: DUPLICATE → ---
Flags: needinfo?(jmathies)
Status: REOPENED → UNCONFIRMED
Ever confirmed: false
Keywords: correctness
OS: Unspecified → macOS
Hardware: Unspecified → ARM64
Summary: 4:2:2 VP9 videos do not display correctly → 4:2:2 VP9 videos do not display correctly on arm64 macOS

I can reproduce this on my test mac.

Blocks: media-triage

Maybe there are something wrong in some color-related settings in AppleVTDecoder?

See Also: → 1325847

I plan to work on 422 (and 444) in the future. I can take it now, but feel free to steal it if anyone knows what's going on.
IIRC, 422 is not really popular, so I am going to set this S4.

Assignee: nobody → cchang
Severity: -- → S4
Priority: -- → P3
Blocks: 1779655
No longer blocks: media-triage
See Also: → 1931436
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: