Skip to content

Instantly share code, notes, and snippets.

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 MoatazAbdAlmageed/d0b330b2fc9ed41b4098131f93770c40 to your computer and use it in GitHub Desktop.
Save MoatazAbdAlmageed/d0b330b2fc9ed41b4098131f93770c40 to your computer and use it in GitHub Desktop.
Merge multiple videos and one audio with ffmpeg
# add this to .bashrc
```
aio(){
for f in *.$1; do echo "file '$f'" >> list.txt; done
ffmpeg -f concat -safe 0 -i list.txt -c copy aio.$1
}
```
## usage
- aio mp3
- aio mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment