This is an old revision of the document!
FFMPEG
A complete, cross-platform solution to record, convert and stream audio and video.
ffmpeg cli snippets
Cutting Videos1) :
ffmpeg -ss 00:00:15 -i input.mkv -to 00:01:00 -c copy output.mkv
ffmpeg -i input.mp4 -to 00:00:46 output.mp4
-ss
is starting time, -to
is duration of cut, -c
is codec and copy
is input's codec copied to output's.