Sep 20
If you have many flv flash video format video files which you want to convert to some other video format in one go then you can use following bash script developed by Jake Hilton
If you are using ffmpeg on your dedicated server then you can use below bash script for batch convert of flv files to other required video format.
#!/bin/sh
for f in *.flv;
do
echo “Processing $f”
ffmpeg -i “$f” -target ntsc-dvd “${f%.flv}.mpg”
done
Thus using above script all flash video files having flv extension will get converted into a ntsc dvd format with file extension mpg. You can tweak it for required video format you need.
Vote of thanks to Jake Hilton http://www.jakehilton.com/?q=node/41 for sharing such excellent script











