AvutilCommon code shared across all FFmpeg libraries.
module Frame : sig ... endtype 'media frame = 'media Frame.ttype error = [ | `Bsf_not_found| `Decoder_not_found| `Demuxer_not_found| `Encoder_not_found| `Eof| `Exit| `Filter_not_found| `Invalid_data| `Muxer_not_found| `Option_not_found| `Patch_welcome| `Protocol_not_found| `Stream_not_found| `Bug| `Eagain| `Unknown| `Experimental| `Other of int| `Failure of string ]Internal errors.
exception Error of errorval string_of_error : error -> stringval create_data : int -> dataval string_of_rational : rational -> stringmodule Time_format : sig ... endFormats for time.
val time_base : unit -> rationalReturn the time base of FFmpeg.
module Log : sig ... endmodule Channel_layout : sig ... endFormats for channels layouts.
module Sample_format : sig ... endFormats for audio samples.
module Pixel_format : sig ... endFormats for pixels.
module Audio : sig ... endmodule Video : sig ... endmodule Subtitle : sig ... endmodule Options : sig ... endtype opts = (string, value) Stdlib.Hashtbl.tval mk_opts_array : opts -> (string * string) arrayval string_of_opts : opts -> stringval mk_audio_opts :
?opts:opts ->
?channels:int ->
?channel_layout:Channel_layout.t ->
sample_rate:int ->
sample_format:Sample_format.t ->
time_base:rational ->
unit ->
optsval mk_video_opts :
?opts:opts ->
?frame_rate:rational ->
pixel_format:Pixel_format.t ->
width:int ->
height:int ->
time_base:rational ->
unit ->
optsval filter_opts : string array -> opts -> unitmodule HwContext : sig ... end