How do you tell mencoder to output a file to a certian size such as 25 mb (I know the quality may suffer but I would like to get a consistent size on some of my files)?
Below is an example of the command line code I am using but I am constatnly have to alter the bit rate to get desired file size.
mencoder '/path/to/file' -o movie.avi -ovc x264 -x264encopts subq=4:bframes=4:b_pyramid:weight_b:pass=2:psnr:bi trate=170:turbo=2 -vf scale=320:240,harddup -oac mp3lame -lameopts abr:br=64
Also can any one tell me how the pentium d 2.66 perform's at encoding? I usually get a 20-30 fps wright now and get a 24 min video done in 20-30 min.
Thanks for the help
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 3 of 3
Thread
-
-
You can set the file size by changing your bitrate parameter. In the bitrate parameter, put the filesize you want preceded by a "-". That tells mencoder to calculate the bitrate to produce that file size. So for a cd size file, you would use bitrate=-700000 (size is in kilobytes). In your case, you mention 25M, so bitrate=-25000.
Similar Threads
-
mencoder on new server
By bajab in forum Video ConversionReplies: 2Last Post: 2nd Nov 2010, 15:11 -
Mencoder Question
By AHelpingHand in forum EditingReplies: 1Last Post: 19th Oct 2008, 17:11 -
problem with mencoder
By mierdatuti in forum Newbie / General discussionsReplies: 1Last Post: 7th Oct 2008, 19:45 -
AAC in MENCODER
By banon in forum LinuxReplies: 2Last Post: 3rd Oct 2008, 07:27 -
mencoder problem
By Gordo_ in forum Video ConversionReplies: 4Last Post: 5th Jul 2007, 19:01