Re: Mencoding Mass
Originally Posted by
Ryan450
Hey guys,
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.
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
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.
I'll write you up something in C if I can figure it.
Is there a command line argument to have it exit when done with one video?
"Freedom is the freedom to say that two plus two equals four, if that is granted, then all else follows" - 1984
Programming is part memorization, part implementation, and part imagination.
Bookmarks