[FFmpeg-devel] [PATCH] remove warning when an mpeg stream starts with a non-I-frame

Robert Krüger krueger at lesspain.de
Thu Aug 29 22:27:09 CEST 2013

On Thu, Aug 29, 2013 at 6:01 PM, Paul B Mahol <onemda at gmail.com> wrote:
> On 8/29/13, Robert Krueger <krueger at lesspain.de> wrote:
>> The warning as it is now produces a lot of noise for perfectly valid
>> cases, i.e. for streams that start with b-frames (in decoding order)
>> that only reference the first I-frame, which is the case, for example,
>> for typical XDCAM streams.
> Isn't it better to check if frame is not I-frame or b-frame instead of
> removing warning?

Updated patch attached. This is based on my understanding of the spec
and assumption what the warning is for. I hope this is now the correct
condition to specifically exclude the mentioned case. A file that has
these properties is attached to trac ticket #479.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: improve_first_frame_mpeg_warning.patch
Type: application/octet-stream
Size: 1332 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130829/25c5714c/attachment.obj>

More information about the ffmpeg-devel mailing list