[xiph-commits] r17147 - experimental/derf/theora-ptalarbvorm/examples
tterribe at svn.xiph.org
tterribe at svn.xiph.org
Wed Apr 14 17:55:08 PDT 2010
Author: tterribe
Date: 2010-04-14 17:55:08 -0700 (Wed, 14 Apr 2010)
New Revision: 17147
Modified:
experimental/derf/theora-ptalarbvorm/examples/dump_video.c
Log:
Document the command-line options in usage().
Modified: experimental/derf/theora-ptalarbvorm/examples/dump_video.c
===================================================================
--- experimental/derf/theora-ptalarbvorm/examples/dump_video.c 2010-04-15 00:29:29 UTC (rev 17146)
+++ experimental/derf/theora-ptalarbvorm/examples/dump_video.c 2010-04-15 00:55:08 UTC (rev 17147)
@@ -214,10 +214,21 @@
static void usage(void){
fprintf(stderr,
- "Usage: dumpvid <file.ogv> > outfile\n"
- "input is read from stdin if no file is passed on the command line\n"
- "\n"
- );
+ "Usage: dumpvid [options] [<infile.ogv>] [-o <outfile.y4m>]\n\n"
+ "If no input file is given, stdin is used.\n"
+ "Options:\n\n"
+ " -o --output <outfile.y4m> File name for decoded output. If\n"
+ " this option is not given, the\n"
+ " decompressed data is sent to stdout.\n"
+ " -c --crop Crop the output to the picture region.\n"
+ " By default, the entire encoded frame\n"
+ " is output, including the padding\n"
+ " require to make the image dimensions\n"
+ " a multiple of 16.\n"
+ " -r --raw Output raw YUV with no framing instead\n"
+ " of YUV4MPEG2 (the default).\n"
+ " -f --fps-only Only report the decoding frame rate.\n");
+ exit(1);
}
int main(int argc,char *argv[]){
More information about the commits
mailing list