You are not logged in.
Pages: 1
i've been trying to toy around with ffmpeg here to convert some videos.
basically, i have a pile of flv videos that i want to convert in bulk to divx or something, just one command so i can walk away.
anyone here know how to do that? i've been trying to figure it out, and can't get it working
this is a signature
Offline
maybe something like:
for file in *; do <ffmpeg command> $file; done
using whatever ffmpeg command you use (ffmpeg -i <file> [options] output.mpg
etc.
or else try some script like this, using mencoder, xvid, etc. (though I can't verify because I've never tried it):
Offline
So the for line should be like:
for file in *; do ffmpeg -i $file -sameq -ac 2 -ab 320k $file.converted.avi; done
I believe those audio options are necessary, or is there -sameq for it?
-ab 320k will fail if it's lower.
Offline
I suggest you to encase the $file variable in double quotes in case your files have spaces in their name
Offline
Pages: 1