Created
October 28, 2017 09:23
-
-
Save melvincabatuan/a55d74661eb7d84bf142f20ef685504a to your computer and use it in GitHub Desktop.
ffmpeg batch file to divide videos equally, i.e. segment time = 3 s
This file contains hidden or 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
mkdir output | |
for %%a in ("*.mp4") do ffmpeg -i "%%a" -c copy -map 0 -segment_time 3 -f segment "./output/%%~na_%%05d.mp4" | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment