[MEncoder-users] Cannot pass bitrate via command line when using mencoder's profiles

Markus Bonet m.bonet at t-online.de
Mon Dec 6 19:17:42 CET 2010


Hi,

I have different profiles for x264 encoding defined.
This setup has been working until some updates on my Fedora system were 
in place.

Currently these versions are installed:

x264.x86_64                                                 0.0.0-0.28.20100706gitd058f37.fc14                                            @rpmfusion-free
x264-libs.x86_64                                            0.0.0-0.28.20100706gitd058f37.fc14                                            @rpmfusion-free

mencoder.x86_64                                                1.0-0.119.20100703svn.fc14                                                 @rpmfusion-free


My goal is a 2-pass encoding with a target filesize. My script 
calculates the target bitrate after the first pass and calls mencoder 
like this:

mencoder input -profile pass2 -x264encopts bitrate=1234 -o output


When doing so, x264 fails:

x264 [error]: constant rate-factor is incompatible with 2pass.

So the bitrate isn't set.


If I add bitrate to my profile or call all in the command line without 
the usage of a profile, everything is ok.

Was is broken here and how do I fix it? As mentioned, in my previous 
setup (on Fedora 12) it was always ok.


Thanks
Markus

PS: This is a copy of a post in doom9.org's forums - just in case 
anybody wonders. Couldn't get no answers there, hoping for some help here.


More information about the MEncoder-users mailing list