-y
overwrite without asking
-r
frame rate
-vf eq=1:0:1.1:1:1:1:1:1
change colors. contrast : brightness : saturation : gamma : gamma r : gamma g : gamma b : weight
-vf scale=width:height
scale/resize. -1 will leave preserved ratio, for instance 320:-1 will resize to 320 in width and keep ratio
-ss
seek to position
-t
duration, trim to a certain length
-r
frame rate, useful when creating gifs
ffmpeg uses the following format for specifying time
[HH:]MM:SS[.m...]
explained: [optional hours]minutes:seconds[.optional decimals]
or
S+[.m...]
explained: seconds [.optional decimals]
ffmpeg -i input.mov -x264opts bitrate=1300:vbv-maxrate=2000 -vcodec libx264 output.mov
about 10mb / min
ffmpeg -i input.mov -vf scale=0:-1:sws_dither=ed -r 10 output.gif
scale=0 // don’t rescale
ffmpeg -i input.mov image-%d.png
ffmpeg -i input.mov -ss 10:00 -t 5 output.mov