Skip to content

Instantly share code, notes, and snippets.

@josby
Created May 12, 2017 18:38
  • Star 14 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Concat GoPro Videos with ffmpeg
ffmpeg -f concat -safe 0 -i <(for f in ./*.MP4; do echo "file '$PWD/$f'"; done) -c copy output.MP4
@leonardAlbert
Copy link

It is necessary to use this command?
... copy -bsf:a aac_adtstoasc output.MP4

@cristiean
Copy link

great gist 👏

make sure to run for f in ./*.MP4; do echo "file '$PWD/$f'"; done to make sure your videos will be concatenated in the correct order

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment