[FFmpeg-devel] [PATCH] Fix encoding when delay > number of frames
Mon Mar 29 20:06:26 CEST 2010
On 03/26/2010 12:14 PM, Reimar D?ffinger wrote:
> On Thu, Mar 25, 2010 at 06:26:25PM -0700, Baptiste Coudurier wrote:
>> $subject, this can happen for short content, big gop size and much
>> libx264 delay.
> You didn't say what it is that happens?
The frames aren't flushed/encoded.
> Also I think that our x264 encoder still does not use x264_encoder_delayed_frames,
> sure that isn't the real issue maybe?
That is the issue, but I'm not sure how it would be useful here.
All frames are given to the encoder in the main loop, no frames are
output in the main because delay is too big.
The flush loop outputs no frame because of the <= 0 return value check.
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer http://www.ffmpeg.org
More information about the ffmpeg-devel