From 5a8597a00ae8f953c2766c63857fd994c621826c Mon Sep 17 00:00:00 2001 From: "William R. Zwicky" Date: Sun, 9 Aug 2009 10:42:38 +0000 Subject: [PATCH] Document the output of ffmpeg -formats. Patch by William R. Zwicky, wrzwicky pobox com Originally committed as revision 19610 to svn://svn.ffmpeg.org/ffmpeg/trunk --- cmdutils.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/cmdutils.c b/cmdutils.c index c2e7d064b1..d2fdb60e57 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -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;