Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. #!/bin/sh
  2. # Join MP4s per subdir
  3.  
  4. for dir in * do
  5. txt="$dir.txt"; gfind $dir/*.mp4 -fprintf $txt "file '%p'\\n"
  6. ffmpeg -f concat -safe 0 -i $txt -c copy $dir.mp4; rm -v $txt
  7. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement