Skip to content

Instantly share code, notes, and snippets.

@devjj
Created November 30, 2009 00:12
Show Gist options
  • Save devjj/245152 to your computer and use it in GitHub Desktop.
Save devjj/245152 to your computer and use it in GitHub Desktop.
Dir.glob("*.mkv").each{ |f| `ffmpeg -i "#{f}" -target ntsc-dvd -aspect 16:9 -sameq "#{f.gsub('mkv','mpg')}"` }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment