16:21
I have a WebM file with one video stream that was encoded with VP9 (libvpx-vp9).
I wrote a C++ program to extract the frames from the video stream and save them out as PNG's. This works fine except that the resulting PNG's are missing alpha.
If I extract the frames from the same WebM file using FFMPEG the resulting PNG's do contain alpha. Here is the output from FFMPEG:
$ ffmpeg -c:v libvpx-vp9 -i temp/anim.webm temp/output-%3d.png
[libvpx-vp9 ⓐ 0000024732b106c0] v1.10.0-rc1-11-gcb0d8ce31
Last message repeated 1 times
Input #0, (...)
13:01
My project does video recording from a microscope camera, and one experiment can run for days and even weeks. This takes plenty of filespace, so I want as strong a compression as possible. Quality is not a major concern.
Currently I use the default 'mp4v' codec with opencv on Python. It works.
I tried all codecs Google could find, and surprisingly, only very few worked. And those few that did work were even worse in compression.
Where is the limitation? Is it Opencv (4.11.0.86)? Is it FFMPEG (7.1.1)? Is it the distribution (Ubuntu Mate 25.04)? Is it the CPU (AMD (...)