[Libav-user] H.264 Decoding | frame boundaries truncation in av packet

Derek Pang dcpang at gmail.com
Sat Aug 6 09:01:47 CEST 2011


I checked avcodec error log, it returns:
AV_LOG_ERROR: number of reference frames exceeds max (probably corrupt
input), discarding one
AV_LOG_ERROR: corrupted macroblock %d %d (total_coeff=%d)
AV_LOG_ERROR: error while decoding MB %d %d


On Fri, Aug 5, 2011 at 7:35 PM, Derek Pang <dcpang at gmail.com> wrote:

> Dear list,
>
> Question:
>
> Does ffmpeg decoder support random truncation of frame boundaries in the
> middle of packets for H.264 ?
> I set my codec context flag CODEC_FLAG_TRUNCATED; however, the decoder did
> not stop at the appropriate frame boundary and try to decode the whole
> packet.
>
> Thanks,
> Derek
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20110806/e6962e2d/attachment.html>


More information about the Libav-user mailing list