[FFmpeg-cvslog] ffmpeg: print frame decoding error statistic

Michael Niedermayer git at videolan.org
Wed Apr 10 01:55:45 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Apr 10 01:47:03 2013 +0200| [6a78ec180eb963a1b8b5911f8620ae1bb14a1a05] | committer: Michael Niedermayer

ffmpeg: print frame decoding error statistic

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6a78ec180eb963a1b8b5911f8620ae1bb14a1a05
---

 ffmpeg.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/ffmpeg.c b/ffmpeg.c
index 010fa9c..580c655 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3361,6 +3361,8 @@ int main(int argc, char **argv)
     if (do_benchmark) {
         printf("bench: utime=%0.3fs\n", ti / 1000000.0);
     }
+    av_log(NULL, AV_LOG_DEBUG, "%"PRIu64" frames successfully decoded, %"PRIu64" decoding errors\n",
+           decode_error_stat[0], decode_error_stat[1]);
     if (2*decode_error_stat[0] < decode_error_stat[1])
         exit(254);
 



More information about the ffmpeg-cvslog mailing list