Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
PNG files to MP4 #20
I am trying to figure out how to create a video from PNGs. If I use the same console arguments it doesnt work with the ffmpeg-mp4.js. Could you please clarify me about how to include the PNG feature in the JS compilation? Do you have some workaround(convert to another supported image file)? Thanks.
I add the PNG data using the pngjs this way:
And I call the ffmpeg.js this way:
Here is the output differences between the js and the console version:
Could you please share a working ffmpeg.js compiled with all supported codecs? I know it is bigger, but many of us devs just want to try out the functionalities and check your solution. When it will be need to improve, we will compile tuning as you brilliantly do.
Thanks again for you efforts.
I'm planning to include to PNG decoder but currently it's blocked by kripken/emscripten#4478 (Well not really, it's possible to workaround in varous ways, just haven't had enough time for this.)
JPEG decoding is supported, see #18.
I will consider that, thanks.