Skip to content

Instantly share code, notes, and snippets.

@m4n1ok
Created January 23, 2020 19:53
Show Gist options
  • Save m4n1ok/b046b9e48210eeb1e1ee81c9e5fbed31 to your computer and use it in GitHub Desktop.
Save m4n1ok/b046b9e48210eeb1e1ee81c9e5fbed31 to your computer and use it in GitHub Desktop.
Video usefull command
# Split video in chunk of 5 seconds with a crop
ffmpeg -i input.mp4 -an -vcodec libx264 -profile:v baseline -level 3 -vf "crop=720:720:600:180" -map 0 -segment_time 00:00:05 -f segment -reset_timestamps 1 output%03d.mp4
# Split video in chunk of 5 seconds
ffmpeg -i input.mp4 -an -vcodec libx264 -profile:v baseline -level 3 -map 0 -segment_time 00:00:05 -f segment -reset_timestamps 1 output%03d.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment