Failed to play HEVC video with inband config change on MacOS
Categories
(Core :: Audio/Video: Playback, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox136 | --- | fixed |
People
(Reporter: alwu, Assigned: alwu)
References
(Blocks 1 open bug)
Details
Attachments
(5 files)
This test case will fail, we need more investigation to know why it can't be played, and whether this issue will affect other videos with inband config changes.
Assignee | ||
Updated•1 month ago
|
Assignee | ||
Comment 1•1 month ago
|
||
The current implementation of SPSIterator is incorrect; it requires
calling the ++
operator before accessing any SPS. The *
operator
should allow access to the SPS immediately after the SPSIterator is created.
Assignee | ||
Comment 2•1 month ago
|
||
memcmp is unreliable due to (1) padding bytes (2) non-POD Members,
so better to compare their members directly.
Depends on D235526
Assignee | ||
Comment 3•1 month ago
|
||
When recreating a decoder, the VideoToolbox decoder requires extradata containing SPS, PPS,
and VPS to successfully initialize a DecompressionSession.
The current implementation replaces the extradata when a different SPS is detected but does
not ensure that all three NALUs (SPS, PPS, and VPS) are present in the new extradata. For
example, in hevc_white_red_frames.mp4
, the initial extradata contains all required NALUs,
but the inband extradata only includes an SPS without the PPS or VPS. Using such incomplete
extradata to recreate the decoder will result in a failure to create the DecompressionSession.
To resolve this, we should update only the differing NALUs to ensure all essential information
is retained in the extradata.
Depends on D235527
Assignee | ||
Comment 4•1 month ago
|
||
Depends on D235528
Assignee | ||
Comment 5•28 days ago
|
||
Depends on D235529
Comment 7•27 days ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3cea7ede5ec9
https://hg.mozilla.org/mozilla-central/rev/e85efe0deebf
https://hg.mozilla.org/mozilla-central/rev/7db794a2c51f
https://hg.mozilla.org/mozilla-central/rev/c0e426038ce1
https://hg.mozilla.org/mozilla-central/rev/228ff31dd429
Description
•