Consts
AV_OPT_FLAG_BSF_PARAM = 256
AV_OPT_FLAG_CHILD_CONSTS = 262144
AV_OPT_FLAG_DEPRECATED = 131072
AV_OPT_FLAG_EXPORT = 64
AV_OPT_FLAG_FILTERING_PARAM = 65536
AV_OPT_FLAG_READONLY = 128
AV_OPT_FLAG_RUNTIME_PARAM = 32768
AV_OPT_MULTI_COMPONENT_RANGE = 4096
AV_OPT_SERIALIZE_OPT_FLAGS_EXACT = 0x00000002
AV_OPT_SERIALIZE_SKIP_DEFAULTS = 0x00000001
Procs
proc av_opt_child_class_iterate(parent: ptr AVClass; iter: ptr pointer): ptr AVClass {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_child_next(obj, prev: pointer): pointer {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_copy(dest, src: pointer): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_eval_double(obj: pointer; o: ptr AVOption; val: cstring; double_out: ptr cdouble): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_eval_flags(obj: pointer; o: ptr AVOption; val: cstring; flags_out: ptr cint): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_eval_float(obj: pointer; o: ptr AVOption; val: cstring; float_out: ptr cfloat): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_eval_int(obj: pointer; o: ptr AVOption; val: cstring; int_out: ptr cint): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_eval_int64(obj: pointer; o: ptr AVOption; val: cstring; int64_out: ptr int64): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_eval_q(obj: pointer; o: ptr AVOption; val: cstring; q_out: ptr AVRational): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_find(obj: pointer; name, unit: cstring; opt_flags, search_flags: cint): ptr AVOption {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_find2(obj: pointer; name, unit: cstring; opt_flags, search_flags: cint; target_obj: ptr pointer): ptr AVOption {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_flag_is_set(obj: pointer; field_name, flag_name: cstring): cint {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_free(obj: pointer) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_freep_ranges(ranges: ptr ptr AVOptionRanges) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_get(obj: pointer; name: cstring; search_flags: cint; out_val: ptr ptr uint8): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_get_channel_layout(obj: pointer; name: cstring; search_flags: cint; ch_layout: ptr int64): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_get_dict_val(obj: pointer; name: cstring; search_flags: cint; out_val: ptr ptr AVDictionary): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_get_double(obj: pointer; name: cstring; search_flags: cint; out_val: ptr cdouble): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_get_image_size(obj: pointer; name: cstring; search_flags: cint; w_out, h_out: ptr cint): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_get_key_value(ropts: cstringArray; key_val_sep, pairs_sep: cstring; flags: cuint; rkey, rval: cstringArray): cint {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_get_pixel_fmt(obj: pointer; name: cstring; search_flags: cint; out_fmt: ptr AVPixelFormat): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_get_q(obj: pointer; name: cstring; search_flags: cint; out_val: ptr AVRational): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_get_sample_fmt(obj: pointer; name: cstring; search_flags: cint; out_val: ptr AVSampleFormat): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_get_video_rate(obj: pointer; name: cstring; search_flags: cint; out_val: ptr AVRational): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_is_set_to_default(obj: pointer; o: ptr AVOption): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_is_set_to_default_by_name(obj: pointer; name: cstring; search_flags: cint): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_next(obj: pointer; prev: ptr AVOption): ptr AVOption {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_ptr(avclass: ptr AVClass; obj: pointer; name: cstring): pointer {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_query_ranges(a1: ptr ptr AVOptionRanges; obj: pointer; key: cstringArray; flags: cint): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_query_ranges_default(a1: ptr ptr AVOptionRanges; obj: pointer; key: cstring; flags: cint): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_serialize(obj: pointer; opt_flags: cint; flags: cint; buffer: cstringArray; key_val_sep, pairs_sep: cstring): cint {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_set(obj: pointer; name, val: cstring; search_flags: cint): cint {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_set_bin(obj: pointer; name: cstring; val: ptr uint8; size, search_flags: cint): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_set_channel_layout(obj: pointer; name: cstring; val: ptr AVDictionary; search_flags: cint): cint {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_set_defaults(s: pointer) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_set_defaults2(s: pointer; mask, flags: cint) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_set_dict(obj: pointer; options: ptr ptr AVDictionary): cint {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_set_dict2(obj: pointer; options: ptr ptr AVDictionary; search_flags: cint): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_set_double(obj: pointer; name: cstring; val: cdouble; search_flags: cint): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_set_from_string(ctx: pointer; opts: cstring; shorthand: cstringArray; key_val_sep, pairs_sep: cstring): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_set_image_size(obj: pointer; name: cstring; w, h, search_flags: cint): cint {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_set_int(obj: pointer; name: cstring; val: int64; search_flags: cint): cint {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_set_pixel_fmt(obj: pointer; name: cstring; fmt: AVPixelFormat; search_flags: cint): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_set_q(obj: pointer; name: cstring; val: AVRational; search_flags: cint): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_set_sample_fmt(obj: pointer; name: cstring; fmt: AVSampleFormat; search_flags: cint): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_set_video_rate(obj: pointer; name: cstring; val: AVRational; search_flags: cint): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_opt_show2(obj, av_log_obj: pointer; req_flags, rej_flags: cint): cint {. cdecl, importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_set_options_string(ctx: pointer; opts, key_val_sep, pairs_sep: cstring): cint {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc v_opt_get_int(obj: pointer; name: cstring; search_flags: cint; out_val: ptr int64): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}