[FFmpeg-cvslog] ffmpeg: print the codecs names in the stream mapping.

Nicolas George git at videolan.org
Mon Aug 22 10:53:39 CEST 2011


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Sat Aug 20 12:40:26 2011 +0200| [8b52b46c97f2badf6095275f6c5a91ad4c2a9d51] | committer: Nicolas George

ffmpeg: print the codecs names in the stream mapping.

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

 ffmpeg.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index e305948..e3223a5 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");
         }
     }



More information about the ffmpeg-cvslog mailing list