[Libav-user] Transcoding with H264

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Jun 18 08:07:28 CEST 2015

Mohamed Moanis <mohamed_moanis at ...> writes:

> The problem is that avcodec_encode_video2 produce 
> delayed frames. I am expecting to give it a frame 
> and take a frame back as a result
> So my question is basically, is there a way to to 
> turn around the flushing and the delay.

The delay is unavoidable with the default settings 
(b-frames). There should be no delay with b-frames 
turned off.

Carl Eugen

More information about the Libav-user mailing list