Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # Join MP4s per subdir
- for dir in * do
- txt="$dir.txt"; gfind $dir/*.mp4 -fprintf $txt "file '%p'\\n"
- ffmpeg -f concat -safe 0 -i $txt -c copy $dir.mp4; rm -v $txt
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement