Browse Source

ffmpeg: print the codecs names in the stream mapping.

Nicolas George 13 years ago
parent
commit
8b52b46c97
1 changed files with 7 additions and 0 deletions
  1. 7 0
      ffmpeg.c

+ 7 - 0
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");
         }
     }