[FFmpeg-devel] Command-lineparameters usedtoo latefor has_codec_parameters()

Ronald S. Bultje rsbultje
Fri Jan 16 15:00:53 CET 2009


On Fri, Jan 16, 2009 at 8:48 AM, Alexandre FERRIEUX -
FT/RD/SIRP/ASF/SOFTL <alexandre.ferrieux at orange-ftgroup.com> wrote:
> So it seems we have a chicken-and-egg issue: we decide that
> bitstream-based guessing is due based on the absence of some parameters,
> *then* we get these parameters from codec init (after reading just 1
> frame), *then* we wait for a full GOP for no reason... Strange, eh ?

av_read_frame() calls av_parser_parse(), could it be that that
function blocks for the full GOP so it can set s->gop_size etc.?


More information about the ffmpeg-devel mailing list