Open Bug 1711812 Opened 4 years ago Updated 2 months ago

yuv420p10 (10-bit) video h264.mp4 fails to play

Categories

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

defect

Tracking

()

People

(Reporter: jgilbert, Assigned: bradwerth)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

Other codecs seem fine.
I found this while generating testcases for bug 1459526.

FYI :bryce

On Mac the VideoToolbox H.264 decoder generates error: kVTVideoDecoderBadDataErr. I guess Apple only supports 10-bit video in H.265/HEVC.
On Windows there is no error when decoding but the image cannot be shown.

Bryce, do you know what might go wrong? Thanks a lot.

Flags: needinfo?(bvandyk)

Acking and holding NI. I don't know off the top of my head why this would fail if the Windows decoder is doing the decode. My primary suspects are

  • The Windows decoder is actually failing but doesn't report it.
  • Our pipeline isn't handling the 10 bit output correctly.

I don't have time to investigate right now, but will try and take a further look if I get time.

Severity: -- → S3
Priority: -- → P3

Neither the Mac nor Windows h264 decoder supports yuv420/10 bits (nor YUV444) ; While ffmpeg on linux would, for consistency between platforms it's disabled there too.

I believe this was the testcase that didn't surface any error or success to JS, which is bad.

I will try to make progress on this.

Assignee: nobody → bwerth

I can reproduce on Windows. I'll try to improve behavior here.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: