[FFmpeg-devel] [PATCH]Silence ffmpeg with some h264 camera recordings
Carl Eugen Hoyos
cehoyos
Sat Feb 14 14:04:56 CET 2009
Hi!
Some HD camera recordings make ffmpeg output many lines like the
following:
[h264 @ 0xee41d0]AVC: Consumed only 6509 bytes instead of 6516
I'm currently uploading a sample to incoming/vdpau, but there was also a
sample containing men in a boat showing the same issue.
Is attached patch ok?
Carl Eugen
-------------- next part --------------
Index: libavcodec/h264.c
===================================================================
--- libavcodec/h264.c (revision 17221)
+++ libavcodec/h264.c (working copy)
@@ -7418,7 +7418,7 @@
}
if (h->is_avc && (nalsize != consumed)){
- av_log(h->s.avctx, AV_LOG_ERROR, "AVC: Consumed only %d bytes instead of %d\n", consumed, nalsize);
+ av_log(h->s.avctx, AV_LOG_DEBUG, "AVC: Consumed only %d bytes instead of %d\n", consumed, nalsize);
consumed= nalsize;
}
More information about the ffmpeg-devel
mailing list