Code: Select all
ffmpeg -i image%02d.png -c:v libvpx -minrate 1M -maxrate 1M -filter:v "setpts=2.0*PTS" -b:v 1M -c:a libvorbis output.webm
If the PNG files have a transparent background, then the resulting webm movie has that also and that is working in Maniaplanet.
If you want to speed up/slow down the animation speed, you can change the "setpts=2.0*PTS", details you can find here: https://www.ffmpeg.org/ffmpeg-filters.h ... 2c-asetpts.
Convert a BINK Video with FFmpeg to WEBM
Code: Select all
ffmpeg -i avatar.bik -c:a libvorbis output.webm
FFmpeg download
FFmpeg (Linux, Windows, OS X)
Good luck!