Skip to content

Instantly share code, notes, and snippets.

@meeuw
Created August 2, 2021 19:04
Show Gist options
  • Save meeuw/2b1a4d02ae5a048b31ef46df4dad6c1a to your computer and use it in GitHub Desktop.
Save meeuw/2b1a4d02ae5a048b31ef46df4dad6c1a to your computer and use it in GitHub Desktop.
ffmpeg split mp4 file
ffmpeg -i "$1" -acodec copy -f segment -vcodec copy -reset_timestamps 1 -map 0 OUTPUT%04d.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment