MEncoder

„MEncoder is a free command line video decoding, encoding and filtering tool released under the GNU General Public License. It is a close sibling to MPlayer and can convert all the formats that MPlayer understands into a variety of compressed and uncompressed formats using different codecs.“

MEncoder. (2008, February 23). In Wikipedia, The Free Encyclopedia. Retrieved 18:57, April 5, 2008, from
http://en.wikipedia.org/w/index.php?title=MEncoder&oldid=193447614


My Blog List

Friday, July 11, 2008

[MEncoder-users] How do I use a cbr with vpass that works for both high and low def vids?

I am using lavc to try and create a one-size-fits-all command line
outputting flv's that works efficiently for both low and high definition
vids. I want to set a baseline of, say, 300kbps with a max of 3000kbps and
a min of 128kbps, and mencoder will simply convert my videos somewhere in
that range automagically. Is this possible? I have tried using -vqscale to
achieve this, but I never get quite as good a quality as a double pass, so I
am really stuck on using vpass now.

For example, when I do something like this:

mencoder in.wmv -o out.flv -oac mp3lame -lameopts abr:br=32 -srate 22050
-ovc lavc -lavcopts
vcodec=flv:vbitrate=300:mbd=2:trell:v4mv:last_pred=3:vpass=1:turbo -mc 1
-ofps 30 -of lavf -vf harddup

mencoder in.wmv -o out.flv -oac mp3lame -lameopts abr:br=32 -srate 22050
-ovc lavc -lavcopts
vcodec=flv:vbitrate=300:mbd=2:trell:v4mv:last_pred=3:vpass=2 -mc 1 -ofps 30
-of lavf -vf harddup
I get low bitrate warnings from high def vids that should really be encoded
around 3000-4000kbps. However, I also have "normal" videos that I don't
want to overinflate with a 3000kbps constant bitrate since they look just
perfect at 300kbps (or even at 196kbps). So how do I reconcile this?

I see options for min and maxrate, but I don't know whether those can help
me with [whatever]-to-flv.

BTW, I have been told in previous emails that I should try using 264
encoding and that I can run the mp4 output in Flash, but I have not seen any
command line examples to do this. If 264 is the way to go, please advise.
I didn't know Flash could play other formats besides flv. I'm not familiar
with "containers" so if you say just output the 264 into a playable
container, please elaborate. Thanks in advance for your advice.
_______________________________________________
MEncoder-users mailing list
MEncoder-users@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users

No comments:

PCBs

Links

Forex brokers, Forex online


Privacy Policy