Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #if you want to add more filetypes or organize do it yourself in the ls | grep area :P
- for filename in $(ls| grep .mkv); do
- echo "file $filename" >> concat-list.txt;
- done
- ffmpeg -f concat -safe 0 -i concat-list.txt -max_muxing_queue_size 1024 -c copy merged.mkv
- rm concat-list.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement