# FFmpegKit Android API: fftools_opt_common.h File Reference

fftools_opt_common.h File Reference

Go to the source code of this file.

## Functions

int | show_license (void *optctx, const char *opt, const char *arg)
int | show_help (void *optctx, const char *opt, const char *arg)
int | show_version (void *optctx, const char *opt, const char *arg)
int | show_buildconf (void *optctx, const char *opt, const char *arg)
int | show_formats (void *optctx, const char *opt, const char *arg)
int | show_muxers (void *optctx, const char *opt, const char *arg)
int | show_demuxers (void *optctx, const char *opt, const char *arg)
int | show_devices (void *optctx, const char *opt, const char *arg)
int | show_codecs (void *optctx, const char *opt, const char *arg)
int | show_decoders (void *optctx, const char *opt, const char *arg)
int | show_encoders (void *optctx, const char *opt, const char *arg)
int | show_bsfs (void *optctx, const char *opt, const char *arg)
int | show_protocols (void *optctx, const char *opt, const char *arg)
int | show_filters (void *optctx, const char *opt, const char *arg)
int | show_pix_fmts (void *optctx, const char *opt, const char *arg)
int | show_layouts (void *optctx, const char *opt, const char *arg)
int | show_sample_fmts (void *optctx, const char *opt, const char *arg)
int | show_dispositions (void *optctx, const char *opt, const char *arg)
int | show_colors (void *optctx, const char *opt, const char *arg)
int | opt_loglevel (void *optctx, const char *opt, const char *arg)
int | opt_report (void *optctx, const char *opt, const char *arg)
int | init_report (const char *env, FILE **file)
int | opt_max_alloc (void *optctx, const char *opt, const char *arg)
int | opt_cpuflags (void *optctx, const char *opt, const char *arg)
int | opt_cpucount (void *optctx, const char *opt, const char *arg)

## Function Documentation

## init_report()

int init_report | ( | const char * | env,
|  | FILE ** | file
| ) |  |

Definition at line 1155 of file fftools_opt_common.c.

## opt_cpucount()

int opt_cpucount | ( | void * | optctx,
|  | const char * | opt,
|  | const char * | arg
| ) |  |

Override the cpucount.

Definition at line 1081 of file fftools_opt_common.c.

## opt_cpuflags()

int opt_cpuflags | ( | void * | optctx,
|  | const char * | opt,
|  | const char * | arg
| ) |  |

Override the cpuflags.

Definition at line 1069 of file fftools_opt_common.c.

## opt_loglevel()

int opt_loglevel | ( | void * | optctx,
|  | const char * | opt,
|  | const char * | arg
| ) |  |

Set the libav* libraries log level.

Definition at line 1256 of file fftools_opt_common.c.

## opt_max_alloc()

int opt_max_alloc | ( | void * | optctx,
|  | const char * | opt,
|  | const char * | arg
| ) |  |

Definition at line 1242 of file fftools_opt_common.c.

## opt_report()

int opt_report | ( | void * | optctx,
|  | const char * | opt,
|  | const char * | arg
| ) |  |

Definition at line 1237 of file fftools_opt_common.c.

## show_bsfs()

int show_bsfs | ( | void * | optctx,
|  | const char * | opt,
|  | const char * | arg
| ) |  |

Print a listing containing all the bit stream filters supported by the program. This option processing function does not utilize the arguments.

Definition at line 799 of file fftools_opt_common.c.

## show_buildconf()

int show_buildconf | ( | void * | optctx,
|  | const char * | opt,
|  | const char * | arg
| ) |  |

Print the build configuration of the program to stdout. The contents depend on the definition of FFMPEG_CONFIGURATION. This option processing function does not utilize the arguments.

Definition at line 274 of file fftools_opt_common.c.

## show_codecs()

int show_codecs | ( | void * | optctx,
|  | const char * | opt,
|  | const char * | arg
| ) |  |

Print a listing containing all the codecs supported by the program. This option processing function does not utilize the arguments.

Definition at line 690 of file fftools_opt_common.c.

## show_colors()

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 at line 965 of file fftools_opt_common.c.

## show_decoders()

int show_decoders | ( | void * | optctx,
|  | const char * | opt,
|  | const char * | arg
| ) |  |

Print a listing containing all the decoders supported by the program.

Definition at line 787 of file fftools_opt_common.c.

## show_demuxers()

int show_demuxers | ( | void * | optctx,
|  | const char * | opt,
|  | const char * | arg
| ) |  |

Print a listing containing all the demuxer supported by the program (including devices). This option processing function does not utilize the arguments.

Definition at line 940 of file fftools_opt_common.c.

## show_devices()

int show_devices | ( | void * | optctx,
|  | const char * | opt,
|  | const char * | arg
| ) |  |

Print a listing containing all the devices supported by the program. This option processing function does not utilize the arguments.

Definition at line 945 of file fftools_opt_common.c.

## show_dispositions()

int show_dispositions | ( | void * | optctx,
|  | const char * | opt,
|  | const char * | arg
| ) |  |

Print a listing containing all supported stream dispositions.

Definition at line 1059 of file fftools_opt_common.c.

## show_encoders()

int show_encoders | ( | void * | optctx,
|  | const char * | opt,
|  | const char * | arg
| ) |  |

Print a listing containing all the encoders supported by the program.

Definition at line 793 of file fftools_opt_common.c.

## show_filters()

int show_filters | ( | void * | optctx,
|  | const char * | opt,
|  | const char * | arg
| ) |  |

Print a listing containing all the filters supported by the program. This option processing function does not utilize the arguments.

Definition at line 811 of file fftools_opt_common.c.

## show_formats()

int show_formats | ( | void * | optctx,
|  | const char * | opt,
|  | const char * | arg
| ) |  |

Print a listing containing all the formats supported by the program (including devices). This option processing function does not utilize the arguments.

Definition at line 930 of file fftools_opt_common.c.

## show_help()

int show_help | ( | void * | optctx,
|  | const char * | opt,
|  | const char * | arg
| ) |  |

Generic -h handler common to all fftools.

Definition at line 590 of file fftools_opt_common.c.

## show_layouts()

int show_layouts | ( | void * | optctx,
|  | const char * | opt,
|  | const char * | arg
| ) |  |

Print a listing containing all the standard channel layouts supported by the program. This option processing function does not utilize the arguments.

Definition at line 1017 of file fftools_opt_common.c.

## show_license()

int show_license | ( | void * | optctx,
|  | const char * | opt,
|  | const char * | arg
| ) |  |

Print the license of the program to stdout. The license depends on the license of the libraries compiled into the program. This option processing function does not utilize the arguments.

Definition at line 94 of file fftools_opt_common.c.

## show_muxers()

int show_muxers | ( | void * | optctx,
|  | const char * | opt,
|  | const char * | arg
| ) |  |

Print a listing containing all the muxers supported by the program (including devices). This option processing function does not utilize the arguments.

Definition at line 935 of file fftools_opt_common.c.

## show_pix_fmts()

int show_pix_fmts | ( | void * | optctx,
|  | const char * | opt,
|  | const char * | arg
| ) |  |

Print a listing containing all the pixel formats supported by the program. This option processing function does not utilize the arguments.

Definition at line 979 of file fftools_opt_common.c.

## show_protocols()

int show_protocols | ( | void * | optctx,
|  | const char * | opt,
|  | const char * | arg
| ) |  |

Print a listing containing all the protocols supported by the program. This option processing function does not utilize the arguments.

Definition at line 950 of file fftools_opt_common.c.

## show_sample_fmts()

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 at line 1050 of file fftools_opt_common.c.

## show_version()

int show_version | ( | void * | optctx,
|  | const char * | opt,
|  | const char * | arg
| ) |  |

Print the version of the program to stdout. The version message depends on the current versions of the repository and of the libav* libraries. This option processing function does not utilize the arguments.

Definition at line 266 of file fftools_opt_common.c.