ffmpeg one liners
Cut video based on time
1
| ffmpeg -i movie.mp4 -ss 00:00:03 -t 00:00:08 -c copy cut.mp4
|
or
1
| ffmpeg -i movie.mp4 -ss 00:00:03 -to 00:02:03 -c copy cut.mp4
|
Rotate video without re-encoding
1
| ffmpeg -autorotate -i input.mp4 -map_metadata 0 -metadata:s:v rotate="0" -codec copy output.mp4
|