Skip to content

Instantly share code, notes, and snippets.

@mharsch
Created May 24, 2013 18:47
Show Gist options
  • Save mharsch/5645674 to your computer and use it in GitHub Desktop.
Save mharsch/5645674 to your computer and use it in GitHub Desktop.
generate list for ffmpeg concat
ls *.flv | awk '{ print "file '\''"$1"'\''" }'
@mharsch
Copy link
Author

mharsch commented May 24, 2013

given the output above is saved into mylist.txt, run:

ffmpeg -f concat -i mylist.txt -c copy output

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