Re: Encoding using Mencoder
Wes Shull <[email protected]> Tue, 16 Mar 2004 16:01:05 -0700
| Newsgroups | gmane.comp.video.xvid.user |
|---|---|
| Message-ID | <[email protected]> |
You wrote: > cat *.vob | mencoder -oac mp3lame -lameopts cbr:br=128:vol=4 -aid 128 -ovc > xvid -sws 2 -xvidencopts bitrate=600:max_key_interval=240:4mv:pass=1 -ofps > 25 -vop scale=640:360 -o title2.avi - > > But the problem is, the size of the output file is about 2.3 GB. Remove the ":pass=1" from the end of xvidencopts; that's for 2-pass operation, on the first pass of which it totally ignores the bitrate you set and does a pass with a fixed quantizer of 2 (which results in a really big file). Alternatively (slower and better) use what you wrote except with -o /dev/null (you don't need the file output on the first pass, just wastes space), then do a second pass (change to "pass=2" and back to -o title2.avi or whatever). Getting a bit off XviD, you don't have to rip the files to disk first... just do mencoder dvd://2 etc. (or -dvd 2 if you're using an old version). There's a tradeoff, the one way you're using up gigs of disk space, the other way, you're spinning your dvd-rom drive continuously for hours on end. Myself, I could use a reason to buy a new, faster dvd drive ;-) --wes