ffmpeg
Verified for v7.1 LTS
FFmpeg Commands
FFmpeg command syntax with verified terminal examples.
Commands
8 commands for FFmpeg
ffmpeg Video
FFmpeg Command: Combine Images Into Video Or Gif
ffmpeg -i <path/to/frame_%d.jpg> -f image2 <video.mpg|video.gif> ffmpeg Video
FFmpeg Command: Convert Avi To Mp4
ffmpeg -i <path/to/input_video>.avi -c:a aac -b:a 128k -c:v libx264 -crf 23 <path/to/output_video>.mp4 ffmpeg Video
FFmpeg Command: Convert Mp4 To Vp9
ffmpeg -i <path/to/input_video>.mp4 -c:v libvpx-vp9 -crf <30> -b:v 0 -c:a libopus -vbr on -threads <number_of_threads> <path/to/output_video>.webm ffmpeg Audio
FFmpeg Command: Extract Sound From Video
ffmpeg -i <path/to/video.mp4> -vn <path/to/sound.mp3> ffmpeg Audio
FFmpeg Command: Transcode Flac To Cd Format
ffmpeg -i <path/to/input_audio.flac> -ar 44100 -sample_fmt s16 <path/to/output_audio.wav> ffmpeg Video
FFmpeg Command: Save Video As Gif
ffmpeg -i <path/to/video.mp4> -vf 'scale=-1:1000' -r 15 <path/to/output.gif> ffmpeg Video
FFmpeg Command: Trim Video
ffmpeg -i <path/to/input_video.mp4> -ss {mm:ss} -to {mm2:ss2} -c copy <path/to/output_video.mp4> ffmpeg Video
FFmpeg Command: Remux Mkv To Mp4
ffmpeg -i <path/to/input_video>.mkv -c copy <path/to/output_video>.mp4 Suggest a FFmpeg Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common FFmpeg workflows.
Verified version: v7.1 LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.