Open Emilgardis opened 1 year ago
This should be callable from JS via ffmpeg.wasm
And setting input to color=c=white:s=240x240:r=1:d=1
brings file size down to 644B 🎉
@dtinth Would you be interested in a PR?
@notpushkin yes, here’s a rough criteria:
feel free to open a PR!
@dtinth Here's the 644 B file I've got: https://u.ale.sh/blank.webm
Works on macOS in Firefox, Chromium, and Safari. Unfortunately I don't own iPhone or iPad so can't test there – maybe you could check it though? (I also haven't compared it with the current MP4 version.)
UPD: looks pretty much the same as MP4:
(Left to right: current MP4 version in Safari, WebM version in Safari, WebM version in Waterfox)
feel free to open a PR!
@Emilgardis wanna do the honors? :-)
can we use AVC or AV1 encode this blank video?
found a way to do this with ffmpeg and using a input image, making it into a webm, fun stuff! This is nice also since it works in firefox :D
and for just a blank image
got the display values from https://silentaperture.gitlab.io/mdbook-guide/encoding/x265.html?highlight=master-display#source-dependent-settings
edit: changed unneccessary 30 fps framerate to 1 fps, thanks @notpushkin