package ffmpeg-avutil

  1. Overview
  2. Docs
Bindings for the ffmpeg avutil libraries

Install

Dune Dependency

Authors

Maintainers

Sources

v1.1.11.tar.gz
md5=543fd7ecba7eece376d0a84d11355f61
sha512=2fe1c166e6554c497bb15d7a12af812e81f488fe0b4e2874794aa3dab87248a5592a0db7bd63ff548bdd30f5bba9ae4a95462e15d3f3513afe3d5d58c352e940

doc/ffmpeg-avutil/Avutil/index.html

Module AvutilSource

Common code shared across all FFmpeg libraries.

Line

Sourcetype input
Sourcetype output

Container

Sourcetype 'a container

Media types

Sourcetype audio = [
  1. | `Audio
]
Sourcetype video = [
  1. | `Video
]
Sourcetype subtitle = [
  1. | `Subtitle
]
Sourcetype media_type = [
  1. | `Unknown
  2. | `Video
  3. | `Audio
  4. | `Data
  5. | `Subtitle
  6. | `Attachment
]

Format

Sourcetype ('line, 'media) format

Frame

Sourcemodule Frame : sig ... end
Sourcetype 'media frame = 'media Frame.t

Exception

Sourcetype error = [
  1. | `Bsf_not_found
  2. | `Decoder_not_found
  3. | `Demuxer_not_found
  4. | `Encoder_not_found
  5. | `Eof
  6. | `Exit
  7. | `Filter_not_found
  8. | `Invalid_data
  9. | `Muxer_not_found
  10. | `Option_not_found
  11. | `Patch_welcome
  12. | `Protocol_not_found
  13. | `Stream_not_found
  14. | `Bug
  15. | `Eagain
  16. | `Unknown
  17. | `Experimental
  18. | `Other of int
  19. | `Failure of string
]

Internal errors.

Sourceexception Error of error
Sourceval string_of_error : error -> string
Sourceval create_data : int -> data
Sourcetype rational = {
  1. num : int;
  2. den : int;
}
Sourceval string_of_rational : rational -> string
Constants
Sourceval qp2lambda : int
Timestamp
Sourcemodule Time_format : sig ... end

Formats for time.

Sourceval time_base : unit -> rational

Return the time base of FFmpeg.

Logging utilities
Sourcemodule Log : sig ... end
Audio utilities
Sourcemodule Channel_layout : sig ... end

Formats for channels layouts.

Sourcemodule Sample_format : sig ... end

Formats for audio samples.

Video utilities
Sourcemodule Pixel_format : sig ... end

Formats for pixels.

Sourcemodule Audio : sig ... end
Sourcemodule Video : sig ... end
Subtitle utilities
Sourcemodule Subtitle : sig ... end
Sourcemodule Options : sig ... end
Sourcetype value = [
  1. | `String of string
  2. | `Int of int
  3. | `Int64 of int64
  4. | `Float of float
]
Sourcetype opts = (string, value) Hashtbl.t
Sourceval opts_default : opts option -> opts
Sourceval mk_opts_array : opts -> (string * string) array
Sourceval string_of_opts : opts -> string
Sourceval 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
Sourceval mk_video_opts : ?opts:opts -> ?frame_rate:rational -> pixel_format:Pixel_format.t -> width:int -> height:int -> time_base:rational -> unit -> opts
Sourceval filter_opts : string array -> opts -> unit
HwContext
Sourcemodule HwContext : sig ... end
OCaml

Innovation. Community. Security.