aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2011-08-20 12:40:26 +0200
committerNicolas George <nicolas.george@normalesup.org>2011-08-22 10:46:13 +0200
commit8b52b46c97f2badf6095275f6c5a91ad4c2a9d51 (patch)
treec193ae32002c7a6dfc1cd44a47d893c3cdcb877d /ffmpeg.c
parente0ddc2e953b6485c1b6b183fc781170ba945951a (diff)
downloadffmpeg-8b52b46c97f2badf6095275f6c5a91ad4c2a9d51.tar.gz
ffmpeg: print the codecs names in the stream mapping.
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c7
1 files changed, 7 insertions, 0 deletions
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");
}
}