Quote:
Originally Posted by Koobs
what am i doing wrong???? I cant get it to work.
Does the location of the video file that im trying to encode mattter? cus billardoreidasinuca is somewer in my documents folder. does that matter?
mencoder -vf scale=240:180 Billardoreidasinuca.mpg -o temp.avi -of avi -ovc lavc -oac lavc -lavcopts vcodec=mpeg4:vbitrate=230:acodec=mp3:abitrate=64
|
Yes it matters, the file needs to be in the mplayer's folder, because you are trying to access a file which is in the same file of the mencoder, hence it doesn't show you that you are trying to access the file from another folder, I thought it was pretty obvious. Anyway ill make this simple for you.
1. Put the file in the same folder as mencoder.
2. Start mencoder.
3. use this code: mencoder -vf scale=240:180 <input file> -o <output file> -of avi -ovc lavc -oac lavc -lavcopts vcodec=mpeg4:vbitrate=230:acodec=mp3:abitrate=64
Now ill give you an example of what it would look like if I used the file you wanted to convert.
mencoder -vf scale=240:180 Billardoreidasinuca.mpg -o BillardConverted.mpg -of avi -ovc lavc -oac lavc -lavcopts vcodec=mpeg4:vbitrate=230:acodec=mp3:abitrate=64
Of course you can name the output file whatever you want. The first file name is always the file which you are trying to convert. Second will be the converted file and the name which you want it to have.
Also, I like to use vbirate=320, makes the video look much better and doesn't affect video playback. Non that I've been able to detect.