[x264-devel] Forcing intra coding on real time

David Cassany Viladomat david.cassany at i2cat.net
Thu May 29 09:16:48 CEST 2014


Dear Sergio,

No I haven't tried and looks quite promising, thank you so much for the
information, hopefully tomorrow I can check it.

Thanks again,
David


2014-05-28 18:23 GMT+02:00 Sergio Garcia Murillo <
sergio.garcia.murillo at gmail.com>:

> 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
>>
>
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> https://mailman.videolan.org/listinfo/x264-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20140529/43ac815f/attachment.html>


More information about the x264-devel mailing list