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/Audio/index.html

Module Avutil.AudioSource

Sourceval create_frame : Sample_format.t -> Channel_layout.t -> int -> int -> audio frame

Avutil.Audio.create_frame sample_format channel_layout sample_rate samples allocates a new audio frame.

Sourceval frame_get_sample_format : audio frame -> Sample_format.t

Avutil.Audio.frame_get_sample_format frame returns the sample format of the current frame.

Sourceval frame_get_sample_rate : audio frame -> int

Avutil.Audio.frame_get_sample_rate frame returns the sample rate of the current frame.

Sourceval frame_get_channels : audio frame -> int

Avutil.Audio.frame_get_channels frame returns the number of audio channels in the current frame.

Sourceval frame_get_channel_layout : audio frame -> Channel_layout.t

Avutil.Audio.frame_get_channel_layout frame returns the channel layout for the current frame.

Sourceval frame_nb_samples : audio frame -> int

Avutil.Audio.frame_nb_samples frame returns the number of audio samples per channel in the current frame.

Sourceval frame_copy_samples : audio frame -> int -> audio frame -> int -> int -> unit

Abutil.Audio.frame_copy_samples src src_offset dst dst_offset len copies len samples from src starting at position src_offset into dst starting at position dst_offset.

OCaml

Innovation. Community. Security.