View Single Post
Old 4th December 2010, 14:43   #1  |  Link
mulder77
Registered User
 
Join Date: Dec 2002
Posts: 9
Cannot pass bitrate via command line when using mencoder's profiles

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:

Code:
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:

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

When doing so, x264 fails:

Code:
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

Last edited by mulder77; 4th December 2010 at 14:45.
mulder77 is offline   Reply With Quote