[x264-devel] Re: [PATCH] Forcing frame coding as IDR

Loren Merritt lorenm at u.washington.edu
Tue Jun 5 08:12:53 CEST 2007


On Mon, 4 Jun 2007, Alex Izvorski wrote:
> On Sat, 2007-06-02 at 22:08 -0600, Loren Merritt wrote:
>>
>> IMO it would be simpler to add a parameter to --zones. It doesn't have to
>> be limited to setting qp or bitrate.
>
> Indeed.  I would suggest actually keeping this out of the codec core
> (and x264_t).  The front-end (x264.c) can maintain an array of complete
> settings for certain frame ranges and change settings with an
> appropriate call to x264_encoder_reconfig() when appropriate.

Note if you use x264_encoder_reconfig(): it changes the settings 
immediately. With B-frame delay (and maybe threading delay, though I 
thikn the current threading model is unaffected) the changed settings 
apply to the next output frame, not the next input frame.
For some usages of x264_encoder_reconfig() that's desired, but not for 
this case.

x264 does have a facility to attach a frame type to a specific frame. See 
--qpfile. It's almost what you want too, you'd just have to modify it to 
not require that every frame be specified.

--Loren Merritt

-- 
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the x264-devel mailing list