[x264-devel] Forcing intra coding on real time

Sergio Garcia Murillo sergio.garcia.murillo at gmail.com
Wed May 28 18:23:02 CEST 2014


Have you tried to set the picture type before calling the encoder?

pic.i_type = X264_TYPE_I;
[..]
int len = x264_encoder_encode(enc, &nals, &numNals, &pic, &pic_out);

Best regards
Sergio

El 28/05/2014 18:15, BugMaster escribió:
> On Wed, 28 May 2014 16:51:07 +0200, David Cassany Viladomat wrote:
>> Hi all,
>> Maybe some of you can help me. We are developing an streaming
>> server using x264 and we would like to be able to force intra
>> addition in the output stream. What I mean is that at the same time
>> x264 criterias and GOP configurations are applied to determine
>> whenever an intra frame is needed or not we would like to have the
>> capability no add an intra frame whenever we want.
>> We have been trying to executex264_encoder_intra_refresh method
>> before encoding some particular frames, but without success. Does
>> anyone know if such a thing can be done with x264?
>> Thank you,
>> David
> Hi. --no-scenecut and --keyint infinite are not enough for you? After
> using them both x264 wouldn't insert intra-frames other than first and
> you can decide yourself which frame you want to make intra/key-frame.
>
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> https://mailman.videolan.org/listinfo/x264-devel



More information about the x264-devel mailing list