[FFmpeg-cvslog] ffv1: Report additional bitstream information in verbose mode

Luca Barbato git at videolan.org
Mon Nov 14 11:06:14 EET 2016


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Fri Jun 24 17:38:33 2016 +0200| [3c08b7bc761b6411f55db68189721638dde2c46a] | committer: Luca Barbato

ffv1: Report additional bitstream information in verbose mode

Useful to inspect samples.

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

 libavcodec/ffv1dec.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/libavcodec/ffv1dec.c b/libavcodec/ffv1dec.c
index de3a019..b72a939 100644
--- a/libavcodec/ffv1dec.c
+++ b/libavcodec/ffv1dec.c
@@ -537,6 +537,13 @@ static int read_extra_header(FFV1Context *f)
         }
     }
 
+    av_log(f->avctx, AV_LOG_VERBOSE,
+           "FFV1 version %d.%d colorspace %d - %d bits - %d/%d planes, %s transparent - tile geometry %dx%d - %s\n",
+           f->version, f->minor_version, f->colorspace, f->avctx->bits_per_raw_sample,
+           f->plane_count, f->chroma_planes, f->transparency ? "" : "not",
+           f->num_h_slices, f->num_v_slices,
+           f->ec ? "per-slice crc" : "no crc");
+
     return 0;
 }
 



More information about the ffmpeg-cvslog mailing list