RESOLVED FIXED 258669
VideoEncoder does not call output callback on FullHD configuration
https://bugs.webkit.org/show_bug.cgi?id=258669
Summary VideoEncoder does not call output callback on FullHD configuration
Jozef Chutka
Reported 2023-06-29 05:05:11 PDT
Created attachment 466864 [details] 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.
Attachments
bug demonstration (1.40 KB, text/html)
2023-06-29 05:05 PDT, Jozef Chutka
no flags
Jozef Chutka
Comment 1 2023-06-29 05:40:59 PDT
actually the max working width/height is a tricky one to resolve: - 1280x720 works ok (921600 pixels) - 916x1000 does not work (916000 pixels)
Radar WebKit Bug Importer
Comment 2 2023-07-03 07:26:46 PDT
youenn fablet
Comment 3 2023-07-05 06:10:01 PDT
EWS
Comment 4 2023-07-06 00:05:03 PDT
Committed 265792@main (9879838d0315): <https://commits.webkit.org/265792@main> Reviewed commits have been landed. Closing PR #15562 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.