Skip to content

Instantly share code, notes, and snippets.

@CNG
Created May 16, 2016 04:13
Show Gist options
  • Save CNG/e70e29bb76ab5a885e82852b0a0dfd67 to your computer and use it in GitHub Desktop.
Save CNG/e70e29bb76ab5a885e82852b0a0dfd67 to your computer and use it in GitHub Desktop.
Concatenate GoPro MP4 videos
name=$(ls G* | head -1);
ls G* | while read line; do echo file \'$line\'; done | ffmpeg -f concat -i - -c copy "${name%%.*}-all.${name#*.}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment