package ffmpeg-avdevice

  1. Overview
  2. Docs
Bindings for the ffmpeg avdevice library

Install

Dune Dependency

Authors

Maintainers

Sources

v1.1.0.tar.gz
md5=b7ef3b458b71bfc208525d140c998dfb
sha512=468a39c7bda0f88e4e7b3bc4b87c84f8ecfa612be327a57df8df5c613ba60881ae970041e22adef289f69a0edb7acf556c567f16d724283c9dd9950aadf2cea3

doc/ffmpeg-avdevice/Avdevice/index.html

Module AvdeviceSource

Tits module contains input and output devices for grabbing from and rendering to many common multimedia input/output software frameworks.

Sourceval init : unit -> unit

Initialize the module. This is done implicitely if you use any of the module's API but is here to provide an easy way to make sure that the module is explicitely linked by the OCaml compiler. NOT thread-safe!

Sourceval get_audio_input_formats : unit -> (Avutil.input, Avutil.audio) Avutil.format list

Return the audio input devices formats.

Sourceval get_default_audio_input_format : unit -> (Avutil.input, Avutil.audio) Avutil.format

Return the default audio input device format.

Sourceval get_video_input_formats : unit -> (Avutil.input, Avutil.video) Avutil.format list

Return the video input devices formats.

Sourceval get_default_video_input_format : unit -> (Avutil.input, Avutil.video) Avutil.format

Return the default video input device format.

Sourceval get_audio_output_formats : unit -> (Avutil.output, Avutil.audio) Avutil.format list

Return the audio output devices formats.

Sourceval get_default_audio_output_format : unit -> (Avutil.output, Avutil.audio) Avutil.format

Return the default audio output device format.

Sourceval get_video_output_formats : unit -> (Avutil.output, Avutil.video) Avutil.format list

Return the video output devices formats.

Sourceval get_default_video_output_format : unit -> (Avutil.output, Avutil.video) Avutil.format

Return the default video output device format.

Sourceval open_audio_input : string -> Avutil.input Avutil.container

Open the audio input device from its name. Raise Error if the device is not found.

Sourceval open_default_audio_input : unit -> Avutil.input Avutil.container

Open the default audio input device from its name. Raise Error if the device is not found.

Sourceval open_video_input : string -> Avutil.input Avutil.container

Open the video input device from its name. Raise Error if the device is not found.

Sourceval open_default_video_input : unit -> Avutil.input Avutil.container

Open the default video input device from its name. Raise Error if the device is not found.

Sourceval open_audio_output : ?opts:Avutil.opts -> string -> Avutil.output Avutil.container

Open the audio output device from its name. Raise Error if the device is not found.

Sourceval open_default_audio_output : ?opts:Avutil.opts -> unit -> Avutil.output Avutil.container

Open the default audio output device from its name. Raise Error if the device is not found.

Sourceval open_video_output : ?opts:Avutil.opts -> string -> Avutil.output Avutil.container

Open the video output device from its name. Raise Error if the device is not found.

Sourceval open_default_video_output : ?opts:Avutil.opts -> unit -> Avutil.output Avutil.container

Open the default video output device from its name. Raise Error if the device is not found.

Sourcemodule App_to_dev : sig ... end

Application to device communication

Sourcemodule Dev_to_app : sig ... end

Device to application communication

OCaml

Innovation. Community. Security.