Libav
cmdutils_common_opts.h
Go to the documentation of this file.
1  { "L" , OPT_EXIT, {.func_arg = show_license}, "show license" },
2  { "h" , OPT_EXIT, {.func_arg = show_help}, "show help", "topic" },
3  { "?" , OPT_EXIT, {.func_arg = show_help}, "show help", "topic" },
4  { "help" , OPT_EXIT, {.func_arg = show_help}, "show help", "topic" },
5  { "-help" , OPT_EXIT, {.func_arg = show_help}, "show help", "topic" },
6  { "version" , OPT_EXIT, {.func_arg = show_version}, "show version" },
7  { "formats" , OPT_EXIT, {.func_arg = show_formats }, "show available formats" },
8  { "codecs" , OPT_EXIT, {.func_arg = show_codecs }, "show available codecs" },
9  { "decoders" , OPT_EXIT, {.func_arg = show_decoders }, "show available decoders" },
10  { "encoders" , OPT_EXIT, {.func_arg = show_encoders }, "show available encoders" },
11  { "bsfs" , OPT_EXIT, {.func_arg = show_bsfs }, "show available bit stream filters" },
12  { "protocols" , OPT_EXIT, {.func_arg = show_protocols}, "show available protocols" },
13  { "filters" , OPT_EXIT, {.func_arg = show_filters }, "show available filters" },
14  { "pix_fmts" , OPT_EXIT, {.func_arg = show_pix_fmts }, "show available pixel formats" },
15  { "sample_fmts", OPT_EXIT, {.func_arg = show_sample_fmts }, "show available audio sample formats" },
16  { "loglevel" , HAS_ARG, {.func_arg = opt_loglevel}, "set libav* logging level", "loglevel" },
17  { "v", HAS_ARG, {.func_arg = opt_loglevel}, "set libav* logging level", "loglevel" },
18  { "cpuflags", HAS_ARG | OPT_EXPERT, { .func_arg = opt_cpuflags }, "set CPU flags mask", "mask" },
#define OPT_EXPERT
Definition: cmdutils.h:144
int show_decoders(void *optctx, const char *opt, const char *arg)
Print a listing containing all the decoders supported by the program.
Definition: cmdutils.c:1126
int show_license(void *optctx, const char *opt, const char *arg)
Print the license of the program to stdout.
Definition: cmdutils.c:836
int opt_loglevel(void *optctx, const char *opt, const char *arg)
Set the libav* libraries log level.
Definition: cmdutils.c:710
int show_protocols(void *optctx, const char *opt, const char *arg)
Print a listing containing all the protocols supported by the program.
Definition: cmdutils.c:1149
int show_formats(void *optctx, const char *opt, const char *arg)
Print a listing containing all the formats supported by the program.
Definition: cmdutils.c:907
int show_pix_fmts(void *optctx, const char *opt, const char *arg)
Print a listing containing all the pixel formats supported by the program.
Definition: cmdutils.c:1176
int show_codecs(void *optctx, const char *opt, const char *arg)
Print a listing containing all the codecs supported by the program.
Definition: cmdutils.c:1047
#define HAS_ARG
Definition: cmdutils.h:142
int show_help(void *optctx, const char *opt, const char *arg)
Generic -h handler common to all avtools.
Definition: cmdutils.c:1347
int show_sample_fmts(void *optctx, const char *opt, const char *arg)
Print a listing containing all the sample formats supported by the program.
Definition: cmdutils.c:1209
int show_filters(void *optctx, const char *opt, const char *arg)
Print a listing containing all the filters supported by the program.
Definition: cmdutils.c:1164
int show_bsfs(void *optctx, const char *opt, const char *arg)
Print a listing containing all the bit stream filters supported by the program.
Definition: cmdutils.c:1138
#define OPT_EXIT
Definition: cmdutils.h:152
int opt_cpuflags(void *optctx, const char *opt, const char *arg)
Override the cpuflags mask.
Definition: cmdutils.c:699
int show_version(void *optctx, const char *opt, const char *arg)
Print the version of the program to stdout.
Definition: cmdutils.c:827
int show_encoders(void *optctx, const char *opt, const char *arg)
Print a listing containing all the encoders supported by the program.
Definition: cmdutils.c:1132