package ffmpeg

  1. Overview
  2. Docs
type 'a t
val find_encoder : string -> [ `Encoder ] t
val find_decoder : string -> [ `Decoder ] t
val get_supported_channel_layouts : 'a t -> Avutil.Channel_layout.t list
val find_best_channel_layout : 'a t -> Avutil.Channel_layout.t -> Avutil.Channel_layout.t
val get_supported_sample_formats : 'a t -> Avutil.Sample_format.t list
val find_best_sample_format : 'a t -> Avutil.Sample_format.t -> Avutil.Sample_format.t
val get_supported_sample_rates : 'a t -> int list
val find_best_sample_rate : 'a t -> int -> int
val create_parser : [ `Decoder ] t -> Avutil.audio Packet.parser
val create_decoder : [ `Decoder ] t -> Avutil.audio decoder
val create_encoder : ?bit_rate:int -> [ `Encoder ] t -> Avutil.audio encoder
type id = Codec_id.audio
val string_of_id : id -> string
val get_id : 'a t -> id
val get_params_id : Avutil.audio params -> id
val get_channel_layout : Avutil.audio params -> Avutil.Channel_layout.t
val get_nb_channels : Avutil.audio params -> int
val get_sample_format : Avutil.audio params -> Avutil.Sample_format.t
val get_bit_rate : Avutil.audio params -> int
val get_sample_rate : Avutil.audio params -> int
OCaml

Innovation. Community. Security.