[FFmpeg-cvslog] r19610 - trunk/cmdutils.c

cehoyos subversion
Sun Aug 9 12:42:38 CEST 2009


Author: cehoyos
Date: Sun Aug  9 12:42:38 2009
New Revision: 19610

Log:
Document the output of ffmpeg -formats.

Patch by William R. Zwicky, wrzwicky pobox com

Modified:
   trunk/cmdutils.c

Modified: trunk/cmdutils.c
==============================================================================
--- trunk/cmdutils.c	Sat Aug  8 20:27:27 2009	(r19609)
+++ trunk/cmdutils.c	Sun Aug  9 12:42:38 2009	(r19610)
@@ -426,7 +426,11 @@ void show_formats(void)
     AVBitStreamFilter *bsf=NULL;
     const char *last_name;
 
-    printf("File formats:\n");
+    printf(
+        "File formats:\n"
+        " D. = Demuxing supported\n"
+        " .E = Muxing supported\n"
+        " --\n");
     last_name= "000";
     for(;;){
         int decode=0;
@@ -465,7 +469,17 @@ void show_formats(void)
     }
     printf("\n");
 
-    printf("Codecs:\n");
+    printf(
+        "Codecs:\n"
+        " D..... = Decoding supported\n"
+        " .E.... = Encoding supported\n"
+        " ..V... = Video codec\n"
+        " ..A... = Audio codec\n"
+        " ..S... = Subtitle codec\n"
+        " ...S.. = Supports draw_horiz_band\n"
+        " ....D. = Supports direct rendering method 1\n"
+        " .....T = Supports weird frame truncation\n"
+        " ------\n");
     last_name= "000";
     for(;;){
         int decode=0;



More information about the ffmpeg-cvslog mailing list