Skip to content

Instantly share code, notes, and snippets.

@songpon
Last active January 15, 2020 15:42
Show Gist options
  • Save songpon/36154510ef20ebaa2f6eab2e6fbdad6f to your computer and use it in GitHub Desktop.
Save songpon/36154510ef20ebaa2f6eab2e6fbdad6f to your computer and use it in GitHub Desktop.
ls *.MP4 > input.txt
sed -i 's/^/file /g' input.txt
~/ffmpeg-20191114-73ee53f-win64-static/bin/ffmpeg.exe -f concat -i input.txt -c copy output.mp4
rm input.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment