Guide:FFmpeg: Difference between revisions
From Game Making Tools Wiki
(Created, godot example) |
m (note) |
||
Line 1: | Line 1: | ||
==Examples== | ==Examples== | ||
Convert video to file usable in [[Godot]]: | 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] | ffmpeg -i [input.ext] -codec:v libtheora -qscale:v 7 -codec:a libvorbis -qscale:a 5 [output.ogv] |
Latest revision as of 07:50, 26 June 2023
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