Lately I've been dumping a lot of my home videos from tape to digital formats using a capture card. After editing I get a .avi file format, and then use mencoder to convert to dvd format for burning.
However lately I've gotten a lot of files ready for conversion, but its getting tedious. I'd like to automate the encode process.
Here's the command I run.
I'd like to run this command on every file in my directory, put the output of the command into its own directory for easy management.Code:mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=720:480,harddup \ -srate 48000 -af lavcresample=48000 \ -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=18:aspect=16/9:\ acodec=ac3:abitrate=192:threads=4 -ofps 30000/1001 -o your_video.mpg your_video.avi