[x264-devel] x264-devel Digest, Vol 77, Issue 17

BugMaster BugMaster at narod.ru
Sun Oct 27 16:37:09 CET 2013


On Sun, 27 Oct 2013 17:52:23 +0530, Karthick Kumar wrote:
> Hello Developers,

> I also needed to insert a IDR frame for handling retransmission
> requests from the client. I'm currently using
> x264_invalidate_refererence function. But I can use this method with only  intra refresh disabled.  
>   

> So whenever to insert a IDR frame, 
> 1. Do we need to close and open the encoder everytime, if the intra
> refresh is enabled? Could this add some latency, which is
> unavoidable in low latency applications?  
> 2. Since intra refresh is preferred for error prone networks, Can't
> we use both intra refresh and x264_invalidate_refererence (to generate IDR frame) ?
> 3. Is there any other method to insert a IDR frame other than the methods discussed above?

As Jason already answered if all what you want is to force IDR-frame
then why not to simply set pic_in.i_type = X264_TYPE_IDR for x264_encoder_encode?



More information about the x264-devel mailing list