Avutil
Common code shared across all FFmpeg libraries.
module Frame : sig ... end
type 'media frame = 'media Frame.t
type 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 error
val string_of_error : error -> string
val create_data : int -> data
val string_of_rational : rational -> string
module Time_format : sig ... end
Formats for time.
val time_base : unit -> rational
Return the time base of FFmpeg.
module Log : sig ... end
module Channel_layout : sig ... end
Formats for channels layouts.
module Sample_format : sig ... end
Formats for audio samples.
module Pixel_format : sig ... end
Formats for pixels.
module Audio : sig ... end
module Video : sig ... end
module Subtitle : sig ... end
module Options : sig ... end
type opts = (string, value) Stdlib.Hashtbl.t
val mk_opts_array : opts -> (string * string) array
val string_of_opts : opts -> string
val mk_audio_opts :
?opts:opts ->
?channels:int ->
?channel_layout:Channel_layout.t ->
sample_rate:int ->
sample_format:Sample_format.t ->
time_base:rational ->
unit ->
opts
val mk_video_opts :
?opts:opts ->
?frame_rate:rational ->
pixel_format:Pixel_format.t ->
width:int ->
height:int ->
time_base:rational ->
unit ->
opts
val filter_opts : string array -> opts -> unit
module HwContext : sig ... end