[FFmpeg-devel] [PATCH] ffmpeg.c: Add output file index and stream index to vstats file.
Sasi Inguva
isasi at google.com
Fri Jan 20 00:34:14 EET 2017
Signed-off-by: Sasi Inguva <isasi at google.com>
---
ffmpeg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ffmpeg.c b/ffmpeg.c
index 977708c069..a566c3fe2a 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1347,7 +1347,7 @@ static void do_video_stats(OutputStream *ost, int frame_size)
enc = ost->enc_ctx;
if (enc->codec_type == AVMEDIA_TYPE_VIDEO) {
frame_number = ost->st->nb_frames;
- fprintf(vstats_file, "frame= %5d q= %2.1f ", frame_number,
+ fprintf(vstats_file, "out= %2d st= %2d frame= %5d q= %2.1f ", ost->file_index, ost->index, frame_number,
ost->quality / (float)FF_QP2LAMBDA);
if (ost->error[0]>=0 && (enc->flags & AV_CODEC_FLAG_PSNR))
--
2.11.0.483.g087da7b7c-goog
More information about the ffmpeg-devel
mailing list