FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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  { "buildconf" , OPT_EXIT, {.func_arg = show_buildconf}, "show build configuration" },
8  { "formats" , OPT_EXIT, {.func_arg = show_formats }, "show available formats" },
9  { "devices" , OPT_EXIT, {.func_arg = show_devices }, "show available devices" },
10  { "codecs" , OPT_EXIT, {.func_arg = show_codecs }, "show available codecs" },
11  { "decoders" , OPT_EXIT, {.func_arg = show_decoders }, "show available decoders" },
12  { "encoders" , OPT_EXIT, {.func_arg = show_encoders }, "show available encoders" },
13  { "bsfs" , OPT_EXIT, {.func_arg = show_bsfs }, "show available bit stream filters" },
14  { "protocols" , OPT_EXIT, {.func_arg = show_protocols}, "show available protocols" },
15  { "filters" , OPT_EXIT, {.func_arg = show_filters }, "show available filters" },
16  { "pix_fmts" , OPT_EXIT, {.func_arg = show_pix_fmts }, "show available pixel formats" },
17  { "layouts" , OPT_EXIT, {.func_arg = show_layouts }, "show standard channel layouts" },
18  { "sample_fmts", OPT_EXIT, {.func_arg = show_sample_fmts }, "show available audio sample formats" },
19  { "colors" , OPT_EXIT, {.func_arg = show_colors }, "show available color names" },
20  { "loglevel" , HAS_ARG, {.func_arg = opt_loglevel}, "set logging level", "loglevel" },
21  { "v", HAS_ARG, {.func_arg = opt_loglevel}, "set logging level", "loglevel" },
22  { "report" , 0, {(void*)opt_report}, "generate a report" },
23  { "max_alloc" , HAS_ARG, {.func_arg = opt_max_alloc}, "set maximum size of a single allocated block", "bytes" },
24  { "cpuflags" , HAS_ARG | OPT_EXPERT, { .func_arg = opt_cpuflags }, "force specific cpu flags", "flags" },
25  { "hide_banner", OPT_BOOL | OPT_EXPERT, {&hide_banner}, "do not show program banner", "hide_banner" },
26 #if CONFIG_OPENCL
27  { "opencl_bench", OPT_EXIT, {.func_arg = opt_opencl_bench}, "run benchmark on all OpenCL devices and show results" },
28  { "opencl_options", HAS_ARG, {.func_arg = opt_opencl}, "set OpenCL environment options" },
29 #endif
30 #if CONFIG_AVDEVICE
31  { "sources" , OPT_EXIT | HAS_ARG, { .func_arg = show_sources },
32  "list sources of the input device", "device" },
33  { "sinks" , OPT_EXIT | HAS_ARG, { .func_arg = show_sinks },
34  "list sinks of the output device", "device" },
35 #endif
#define OPT_EXPERT
Definition: cmdutils.h:168
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:1565
int show_license(void *optctx, const char *opt, const char *arg)
Print the license of the program to stdout.
Definition: cmdutils.c:1170
int opt_loglevel(void *optctx, const char *opt, const char *arg)
Set the libav* libraries log level.
Definition: cmdutils.c:862
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:1588
int show_devices(void *optctx, const char *opt, const char *arg)
Print a listing containing all the devices supported by the program.
Definition: cmdutils.c:1311
int show_formats(void *optctx, const char *opt, const char *arg)
Print a listing containing all the formats supported by the program (including devices).
Definition: cmdutils.c:1306
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:1663
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:1472
#define HAS_ARG
Definition: cmdutils.h:166
int opt_max_alloc(void *optctx, const char *opt, const char *arg)
Definition: cmdutils.c:1016
int show_buildconf(void *optctx, const char *opt, const char *arg)
Print the build configuration of the program to stdout.
Definition: cmdutils.c:1162
int hide_banner
Definition: cmdutils.c:73
int show_help(void *optctx, const char *opt, const char *arg)
Generic -h handler common to all fftools.
Definition: cmdutils.c:1876
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:1725
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:1603
int opt_report(const char *opt)
Definition: cmdutils.c:1011
int show_colors(void *optctx, const char *opt, const char *arg)
Print a listing containing all the color names and values recognized by the program.
Definition: cmdutils.c:1649
int opt_opencl(void *optctx, const char *opt, const char *arg)
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:1577
#define OPT_EXIT
Definition: cmdutils.h:176
#define OPT_BOOL
Definition: cmdutils.h:167
int show_layouts(void *optctx, const char *opt, const char *arg)
Print a listing containing all the standard channel layouts supported by the program.
Definition: cmdutils.c:1696
int opt_cpuflags(void *optctx, const char *opt, const char *arg)
Override the cpuflags.
Definition: cmdutils.c:850
int show_version(void *optctx, const char *opt, const char *arg)
Print the version of the program to stdout.
Definition: cmdutils.c:1153
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:1571
int opt_opencl_bench(void *optctx, const char *opt, const char *arg)