Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.


Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Thread Tools Search this Thread Display Modes
Old 4th December 2010, 14:43   #1  |  Link
Registered User
Join Date: Dec 2002
Posts: 9
Cannot pass bitrate via command line when using mencoder's profiles


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.


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

command line, mencoder, profiles, x264

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 15:44.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.