cmdutils_common_opts.h
Go to the documentation of this file.
1  { "L", OPT_EXIT, {(void*)show_license}, "show license" },
2  { "h", OPT_EXIT, {(void*)show_help}, "show help" },
3  { "?", OPT_EXIT, {(void*)show_help}, "show help" },
4  { "help", OPT_EXIT, {(void*)show_help}, "show help" },
5  { "-help", OPT_EXIT, {(void*)show_help}, "show help" },
6  { "version", OPT_EXIT, {(void*)show_version}, "show version" },
7  { "formats" , OPT_EXIT, {(void*)show_formats }, "show available formats" },
8  { "codecs" , OPT_EXIT, {(void*)show_codecs }, "show available codecs" },
9  { "bsfs" , OPT_EXIT, {(void*)show_bsfs }, "show available bit stream filters" },
10  { "protocols", OPT_EXIT, {(void*)show_protocols}, "show available protocols" },
11  { "filters", OPT_EXIT, {(void*)show_filters }, "show available filters" },
12  { "pix_fmts" , OPT_EXIT, {(void*)show_pix_fmts }, "show available pixel formats" },
13  { "sample_fmts", OPT_EXIT, {.func_arg = show_sample_fmts }, "show available audio sample formats" },
14  { "loglevel", HAS_ARG, {(void*)opt_loglevel}, "set libav* logging level", "loglevel" },
15  { "v", HAS_ARG, {(void*)opt_loglevel}, "set libav* logging level", "loglevel" },
int opt_loglevel(const char *opt, const char *arg)
Set the libav* libraries log level.
Definition: cmdutils.c:407
#define HAS_ARG
Definition: cmdutils.h:127
void show_formats(void)
Print a listing containing all the formats supported by the program.
Definition: cmdutils.c:600
#define OPT_EXIT
Definition: cmdutils.h:138
void show_version(void)
Print the version of the program to stdout.
Definition: cmdutils.c:525
void show_pix_fmts(void)
Print a listing containing all the pixel formats supported by the program.
Definition: cmdutils.c:759
void show_filters(void)
Print a listing containing all the filters supported by the program.
Definition: cmdutils.c:748
static void show_help(void)
Definition: avconv.c:4160
void show_license(void)
Print the license of the program to stdout.
Definition: cmdutils.c:531
void show_protocols(void)
Print a listing containing all the protocols supported by the program.
Definition: cmdutils.c:734
void show_bsfs(void)
Print a listing containing all the bit stream filters supported by the program.
Definition: cmdutils.c:724
int show_sample_fmts(const char *opt, const char *arg)
Print a listing containing all the sample formats supported by the program.
Definition: cmdutils.c:791
void show_codecs(void)
Print a listing containing all the codecs supported by the program.
Definition: cmdutils.c:647