WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
287516
WebCodecs VideoDecoder Outputs Frames in Incorrect Order
https://bugs.webkit.org/show_bug.cgi?id=287516
Summary
WebCodecs VideoDecoder Outputs Frames in Incorrect Order
mail
Reported
2025-02-11 14:59:36 PST
Created
attachment 474211
[details]
Video sample exhibiting the issue (if applicable). Description: When using the WebCodecs VideoDecoder API in Safari, video frames are received in an incorrect order. This issue does not occur in Chrome, where frames are correctly decoded and presented in the expected sequence. Steps to Reproduce: Use WebCodecs VideoDecoder to decode a video containing B-frames. Observe the output frame order. Expected Behavior: The VideoDecoder should output frames in the correct display order, as specified by the video encoding and the WebCodecs specification. Actual Behavior: In Safari, the decoder appears to output frames in the wrong order, likely due to incorrect handling of B-frames. The raw samples are not monotonically ordered by their timestamp, yet Chrome correctly orders them upon decoding, whereas Safari does not. Additional Observations: Safari successfully decodes B-frames correctly in other videos (e.g., Big Buck Bunny), so this issue may be specific to certain video files. The issue suggests that Safari’s VideoDecoder is not fully spec-compliant in handling reordering of frames.
Attachments
Video sample exhibiting the issue (if applicable).
(5.55 MB, video/mp4)
2025-02-11 14:59 PST
,
mail
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-02-18 15:00:35 PST
<
rdar://problem/145093697
>
Ahmad Saleem
Comment 2
2025-03-04 12:45:26 PST
Does it impact any live website or product? Plus if you have any test case or minimal reduction to reproduce the issue?
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug