package ffmpeg-avutil

  1. Overview
  2. Docs

Module Avutil.OptionsSource

Options
Sourcetype t
Sourcetype flag = [
  1. | `Encoding_param
  2. | `Decoding_param
  3. | `Audio_param
  4. | `Video_param
  5. | `Subtitle_param
  6. | `Export
  7. | `Readonly
  8. | `Bsf_param
  9. | `Runtime_param
  10. | `Filtering_param
  11. | `Deprecated
  12. | `Child_consts
]
Sourcetype 'a entry = {
  1. default : 'a option;
  2. min : 'a option;
  3. max : 'a option;
  4. values : (string * 'a) list;
}
Sourcetype spec = [
  1. | `Flags of int64 entry
  2. | `Int of int entry
  3. | `Int64 of int64 entry
  4. | `Float of float entry
  5. | `Double of float entry
  6. | `String of string entry
  7. | `Rational of rational entry
  8. | `Binary of string entry
  9. | `Dict of string entry
  10. | `UInt64 of int64 entry
  11. | `Image_size of string entry
  12. | `Pixel_fmt of Pixel_format.t entry
  13. | `Sample_fmt of Sample_format.t entry
  14. | `Video_rate of string entry
  15. | `Duration of int64 entry
  16. | `Color of string entry
  17. | `Channel_layout of Channel_layout.t entry
  18. | `Bool of bool entry
]
Sourcetype opt = {
  1. name : string;
  2. help : string option;
  3. flags : flag list;
  4. spec : spec;
}
Sourceval opts : t -> opt list
Sourcetype obj
Sourcetype 'a getter = ?search_children:bool -> name:string -> obj -> 'a
Sourceval get_string : string getter
Sourceval get_int : int getter
Sourceval get_int64 : int64 getter
Sourceval get_float : float getter
Sourceval get_rational : rational getter
Sourceval get_image_size : (int * int) getter
Sourceval get_pixel_fmt : Pixel_format.t getter
Sourceval get_sample_fmt : Sample_format.t getter
Sourceval get_video_rate : rational getter
Sourceval get_channel_layout : Channel_layout.t getter
Sourceval get_dictionary : (string * string) list getter
OCaml

Innovation. Community. Security.