Guest User

Untitled

a guest
Jul 20th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. for i in ./*.mkv; do
  4. ffmpeg -i "$i" -bsf:v h264_mp4toannexb -sn -vcodec libx264 "$i.ts"
  5. mv "$i.ts" "$i.mpg"
  6. sleep 3
  7. rm "$i"
  8. done
Add Comment
Please, Sign In to add comment