Created
August 2, 2021 19:04
-
-
Save meeuw/2b1a4d02ae5a048b31ef46df4dad6c1a to your computer and use it in GitHub Desktop.
ffmpeg split mp4 file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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