Advertisement
Guest User

Untitled

a guest
Jul 16th, 2012
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.34 KB | None | 0 0
  1. for file in *; do
  2. ffmpeg -i "$file" -vcodec libvpx -qmin 10 -qmax 20 -rc_lookahead 25 -keyint_min 0 -g 360 -skip_threshold 0 -slices 2 -threads 8 -vf ass="$file.ass" -acodec libvorbis -y "${file%.???}.webm"
  3. mkclean --optimize --remux "${file%.???}.webm" "${file%.???}c.webm"
  4. rm "${file%.???}.webm"
  5. mv "${file%.???}c.webm" "${file%.???}.webm"
  6. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement