Skip to content

Instantly share code, notes, and snippets.

@miura
Created January 27, 2012 09:17
Show Gist options
  • Save miura/1687913 to your computer and use it in GitHub Desktop.
Save miura/1687913 to your computer and use it in GitHub Desktop.
batch conversion with ffmpeg
#!/bin/sh
for f in *.flv;
do
echo "Processing $f"
ffmpeg -i "$f" -target ntsc-dvd "${f%.flv}.mpg"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment