From 8b52b46c97f2badf6095275f6c5a91ad4c2a9d51 Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Sat, 20 Aug 2011 12:40:26 +0200 Subject: [PATCH] ffmpeg: print the codecs names in the stream mapping. --- ffmpeg.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ffmpeg.c b/ffmpeg.c index e305948ce4..e3223a5d1c 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -2623,6 +2623,13 @@ static int transcode(AVFormatContext **output_files, fprintf(stderr, " [sync #%d.%d]", ost->sync_ist->file_index, ost->sync_ist->st->index); + if(ost->encoding_needed) + fprintf(stderr, ": %s -> %s", + input_streams[ost->source_index].dec ? + input_streams[ost->source_index].dec->name : "?", + ost->enc ? ost->enc->name : "?"); + else + fprintf(stderr, ": copy"); fprintf(stderr, "\n"); } }