Skip to content

Instantly share code, notes, and snippets.

@chaitanyagupta
Created December 14, 2018 17:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chaitanyagupta/a603c2673c72cdd6dbc2615ffd45b8d0 to your computer and use it in GitHub Desktop.
Save chaitanyagupta/a603c2673c72cdd6dbc2615ffd45b8d0 to your computer and use it in GitHub Desktop.
ffmpeg tricks

Concatenate or loop a file

$ cat concat.txt
file '/path/to/file1'
file '/path/to/file2'
...

$ ffmpeg -f concat -i concat.txt -c copy output.mp3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment