Guide:FFmpeg
From Game Making Tools Wiki
Examples
Convert video to file usable in Godot (Ogg Theora):
ffmpeg -i [input.ext] -codec:v libtheora -qscale:v 7 -codec:a libvorbis -qscale:a 5 [output.ogv]
- Source: https://trac.ffmpeg.org/wiki/TheoraVorbisEncodingGuide
- https://docs.godotengine.org/en/stable/tutorials/animation/playing_videos.html
- If you want to remove the audio you can replace
-codec:a libvorbis -qscale:a 5
with-an