louiscad
01/22/2024, 1:16 AMImageComposeScene
, and I'd like to do just that, but with multiple renders following states changes, until my code says "done", and get a video outputted to an OutputStream/Sink/File with a format that supports transparency.Kirill Grouchnikov
01/22/2024, 3:09 AMKirill Grouchnikov
01/22/2024, 3:11 AMlouiscad
01/22/2024, 9:37 AMlouiscad
03/21/2024, 11:47 PMlouiscad
03/21/2024, 11:53 PMlouiscad
03/21/2024, 11:59 PMlouiscad
03/22/2024, 11:37 AMSkaldebane
08/09/2024, 6:59 PMImageComposeScene
(PNG, with transparency). Encoding them into a video with the right settings preserves the transparency in the video itself.Skaldebane
08/09/2024, 7:03 PMSkaldebane
08/09/2024, 7:12 PM.mp4
, but you can encode the images into a VP9 video which supports transparency:
ffmpeg -framerate 30 -i input%d.png -vf "scale=1920:1080" -c:v libvpx-vp9 -pix_fmt yuva420p output.webm
Skaldebane
08/09/2024, 7:13 PM-c:v libvpx-vp9
to use VP9, and -pix_fmt yuva420p
which is a pixel format that supports an alpha channel.Skaldebane
08/09/2024, 7:15 PM-c:v prores_ks
alongside yuva444p10le
(10-bit depth) or yuva444p
(8-bit depth) pixel formats (idk what's the practical difference, but either one will do).louiscad
08/09/2024, 10:27 PMSkaldebane
08/10/2024, 6:47 PMlouiscad
08/10/2024, 11:56 PM