ffmpeg -i video.mp4 -r 24 -f image2 img/img_%5d.jpg
-r
: frame rate
ffmpeg -i video.mp4 -ss 00:00:01.000 -f image2 -vframes 1 myImage.jpg
ffmpeg -i video.mp4 -vn -ar 22050 -ac 2 -ab 128k -f mp3 audio.mp3
ffmpeg -i video.mov -c:v libx264 -acodec aac -strict -2 output.mp4
-movflags +faststart -profile:v baseline -level 4.0
-qscale x
( 0 <= x >= 10 )
-vf scale="iw/1:ih/2"
ffmpeg -i movie.mp4 -ss 00:00:03 -t 00:00:08 -async 1 cut.mp4
ffmpeg -i video.mp4 -vf "scale=320:160,pad=363:200:0:20" out.mp4
-filter:v "crop=width:height:x:y"
ls Movie_Part_1.mp4 Movie_Part_2.mp4 | perl -ne 'print "file $_"' | ffmpeg -f concat -i - -c copy Movie_Joined.mp4
ffmpeg -i audio.wav -vn -sn -c:a mp3 -ab 192k audio.mp3
ffmpeg -i audio.mp3 -vn -ar 44100 -ac 2 -ab 96k -f mp3 output.mp3
ffmpeg -i input.mp3 -af 'afade=t=out:st=27:d=4' -vn -sn -c:a mp3 -ab 192k fadeout.mp3
ffmpeg -i input.mp3 -ss 59 -t 31 cut.mp3
ffprobe -v error -count_frames -select_streams v:0 -show_entries stream=nb_read_frames -of default=nokey=1:noprint_wrappers=1 movie.mp4
-vf "fade=out:400:50"
(fade out from frame 400 - lasting for 50 frames)
-an
-crf {x}
( 0 <= x >= 51 ) (0 = no compression)