[x264-devel] preventing IDRs

Jason Garrett-Glaser darkshikari at gmail.com
Wed Sep 1 01:07:18 CEST 2010


On Tue, Aug 31, 2010 at 2:40 PM, Dennis Munsie <dmunsie at gmail.com> wrote:
> If I want to disable IDRs completely except for the start of a stream and
> when requested (via x264_encoder_invalidate_reference), should this be what
> I'm setting in the x264_param_t struct?
>  x264_params.i_scenecut_threshold = 0;
Correct, but at least in the obvious use-case of invalidate-reference,
I really don't see the need to disable scenecut detection.

>  x264_params.i_keyint_max = INT_MAX;

Use X264_KEYINT_MAX_INFINITE.

>  x264_params.i_keyint_min = INT_MAX;

Unnecessary.

> Also, should this be done before or after applying the profile?

Before.

Dark Shikari


More information about the x264-devel mailing list