| Summary: | [WebCodecs] Poor video frame rate exporting from Construct Animate | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ashley Gullen <ashley> |
| Component: | Media | Assignee: | Kimmo Kinnunen <kkinnunen> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | eric.carlson, jean-yves.avenard, jer.noble, webkit-bug-importer, youennf |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
|
Description
Ashley Gullen
2023-04-24 07:15:42 PDT
Looking at the provided test, the encoding part seems fine, it encodes around 150 video frames. Looking at WebCodecs input, it seems most VideoFrames have the same content as the previous ones. The issue might be in the generation of the VideoFrames from canvas, or maybe the canvas drawing. @Ashley, I have difficulties debugging your canvas -> VideoFrame code. It might help if you could you take a look at your canvas -> VideoFrame code path, maybe isolate what you are doing in a separate page that I could play with. I tried making a minimal reproduction but it worked fine and did not demonstrate the problem. So I'm afraid I'm not sure what it is about what Construct Animate is doing specifically that is resulting in this problem with Safari only. Pull request: https://github.com/WebKit/WebKit/pull/19413 Committed 269757@main (3cf847f4c0b4): <https://commits.webkit.org/269757@main> Reviewed commits have been landed. Closing PR #19413 and removing active labels. |