]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Document the output of ffmpeg -formats.
authorcehoyos <cehoyos@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 9 Aug 2009 10:42:38 +0000 (10:42 +0000)
committercehoyos <cehoyos@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 9 Aug 2009 10:42:38 +0000 (10:42 +0000)
Patch by William R. Zwicky, wrzwicky pobox com

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19610 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

cmdutils.c

index c2e7d064b1bedbc4cc94542d0265c3aa5ea4d969..d2fdb60e5726e71a1e1f95e1473b713806c3740f 100644 (file)
@@ -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;