[Webkit-unassigned] [Bug 270645] New: [Cocoa] WebCodecs HEVC decoder is not always reordering frames according presentation time

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 7 11:23:11 PST 2024


https://bugs.webkit.org/show_bug.cgi?id=270645

            Bug ID: 270645
           Summary: [Cocoa] WebCodecs HEVC decoder is not always
                    reordering frames according presentation time
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Mac (Apple Silicon)
                OS: macOS 14
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: marcello at descript.com

Related: https://bugs.webkit.org/show_bug.cgi?id=268987, maybe followup for https://bugs.webkit.org/show_bug.cgi?id=265389 ?

The h265/HEVC test file on the webcodecs sample is returning decoded frames out of order:

Full repro steps:
- pull the code:
  - either from https://github.com/marcello3d/webcodecs/tree/marcello/frame-out-of-order-logging
  - apply the patch yourself to https://github.com/w3c/webcodecs https://patch-diff.githubusercontent.com/raw/w3c/webcodecs/pull/734.patch
- run the server with `node server` in the samples folder
- open http://localhost:8888/ in safari
- open developer console to see javascript logs
- Leave renderer at 2D and select H.265 video codec
- click start

Result:
- 4 frames decoded then, Error: Decoded frame 166666 µs out of order, last frame was 200000 µs

Expected:
- it decodes the whole file

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240307/14f2f5e1/attachment.htm>


More information about the webkit-unassigned mailing list