[Webkit-unassigned] [Bug 258669] New: VideoEncoder does not call output callback on FullHD configuration

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 29 05:05:11 PDT 2023


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

            Bug ID: 258669
           Summary: VideoEncoder does not call output callback on FullHD
                    configuration
           Product: WebKit
           Version: Safari 16
          Hardware: Mac (Apple Silicon)
                OS: macOS 13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jozefchutka at gmail.com

Created attachment 466864

  --> https://bugs.webkit.org/attachment.cgi?id=466864&action=review

bug demonstration

When encoding FullHD VideoFrame-s with avc1 VideoEncoder, the output callback is never executed even after encoder.flush() call.

- This problem only exists on frames larger than ~912000 pixels (912x1000 or more, i.e. 1920x1080).
- There is no error thrown during the code execution.
- VideoEncoder.isConfigSupported reports that the config is supported.
- Same config works on Chrome and produces encoded data.
- However, the output callback is fired as expected on videos with lower resolution i.e. 1280x720.
- Changing codec to vp8 or vp09.00.10.08 with FullHD res also works and produces encoded data.

I tried to change various properties for `VideoEncoder.configure(...)` as well as `new VideoFrame(...)` but no luck.

See attached safari-bug.html for demonstration.

-- 
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/20230629/a3c8d81a/attachment.htm>


More information about the webkit-unassigned mailing list