Re: How to convert .bik files to .webm
Posted: 04 Nov 2014, 19:12
Create a animated Avatar or Sign from PNG-Files with FFmpeg to WEBM
In the current folder you have to place the PNG files, the name of them should be "image01.png", "image02.png"... "image99.png".
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
FFmpeg download
FFmpeg (Linux, Windows, OS X)
Good luck!
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!