1 Attachment(s)
Bash: Batch convert webm VP9 to webm VP8 using ffmpeg
Bash script to batch convert animated assets VP9 to VP8 for FG using ffmpeg.
Linux/OSX Bash Script
Windows Powershell - By Lo Zeno
Will recursively batch convert animated assets. Works well for large amounts of assets such as https://jb2a.com
It will copy over existing VP8 assets to the new destination and convert VP9 to VP8. There is option to re-encode VP8 if you wish. You can also adjust some of the encoding settings I have if you don't like them. It will also not copy over anything that isn't a webm file so it cleans out any text files or webp files that may also be there.
Instructions OSX/Linux
- Install ffmepg
- Download attached convert-vp9.txt and rename it convert-vp9
- Make it executable. chmod +x convert-vp9
- Run it ./convert-vp9 -i input-folder -o images
Windows should also be possible but it may have to get converted to a powershell script. Someone who has more knowledge than I may be able to do that pretty quickly