Bug 258060
| Summary: | The quality of video encode by VideoEncoder of Webcodecs on mac safari is poor | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | chillin editor <chillineditor> |
| Component: | Media | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Major | CC: | ahmad.saleem792, eric.carlson, jer.noble, webkit-bug-importer, youennf |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 16 | ||
| Hardware: | Mac (Intel) | ||
| OS: | Unspecified | ||
chillin editor
I just use VideoEncoder of Webcodecs API provided by Safari 16.4 to encode video, The quality of the encoded video is poor on Mac Safari but it is normal on other platforms such as Mac Chrome, iOS Chrome, iOS Safari, and Android Chrome.
Video samples:
https://chillin.online/images/webcodec-sample-mac-safari.mp4
https://chillin.online/images/webcodec-sample-mac-chrome.mp4
More Details:
The quality of video seems to decay over time, I find this bug on mac based on Intel chip, The VideoEncoder config is
const config = {
codec: 'avc1.640034',
width: 1280,
height: 720,
framerate: 30,
hardwareAcceleration: 'prefer-software' as const,
avc: { format: 'avc' as const }
};
Looking forward to your feedback on this bug, my email is chillineditor@gmail.com.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/110884113>
Ahmad Saleem
Can you share reproducible test case so we can try to reproduce this issue in newer versions? Please can also share if this is fixed in Safari Technology Preview?