Last updated: 03-06-2021

-- Useful FFmpeg --

1. Converting file to MP4

ffmpeg -i [input file] -c:a aac -c:v libx264 -crf 23 -b:a 384k -b:v 8M [output file]

2. Cropping out a fragment of a file

ffmpeg -i [input file] -ss 0:00:06.9 -to 0:00:42.0 [output file]

3. Rotating a video 180 degrees

ffmpeg -i [input file] -vf "transpose=1, transpose=1" [output file]