[x264-devel] is x264 encoder able to update encoding setting realtime

Vittorio Giovara vittorio.giovara at gmail.com
Thu Nov 17 16:48:39 CET 2016


On Thu, Nov 17, 2016 at 4:20 AM, qw <applemax82 at 163.com> wrote:
> Hi,
>
>>> I have one question about x264 encoding setting update. At the
>>> start, the encoding setting is initialized. But later I want to
>>> update encoding setting, such as width/height, frame rate, and
>>> bitrate. Can I update those settings in the middle of encoding
>>> process, or I should close x264 encoder and open it again with new
>>> setting?
>>
>>> Thanks!
>>
>>> Regards
>>
>>> Andrew
>>
>>Hi. You should close x264 encoder and open it again with new setting.
>>Changing of these settings is not supported on the fly.
>
>
> I think the feature of updating encoding setting on the fly is very useful.
> Why not add the feature into x264 encoder?

Are you referring to an API like x264_encoder_reconfig()?
-- 
Vittorio


More information about the x264-devel mailing list