package ffmpeg-avcodec
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=69d8276d0fccb3d6e7f3d7d24f75d397
sha512=f9b9663f54c73626e345b11d4140b94d98abd8601eed7f9c951d9d12da10f023d3197423c0939e32b1e39fefd6ee09997da274e38795f7470ca72b144c37f147
doc/ffmpeg-avcodec/Avcodec/index.html
Module AvcodecSource
This module contains decoders and encoders for audio, video and subtitle codecs.
Constants
Get the time base of a given encoder.
type capability = [ | `Draw_horiz_band| `Dr1| `Truncated| `Delay| `Small_last_frame| `Subframes| `Experimental| `Channel_conf| `Frame_threads| `Slice_threads| `Param_change| `Other_threads| `Auto_threads| `Variable_frame_size| `Avoid_probing| `Intra_only| `Lossless| `Hardware| `Hybrid| `Encoder_reordered_opaque| `Encoder_flush
]Codec capabilities.
Get the encoding capabilities for this codec.
Codec hardware config method.
type hw_config = {pixel_format : Avutil.Pixel_format.t;methods : hw_config_method list;device_type : Avutil.HwContext.device_type;
}Hardward config for the given codec.
Get the codec's hardward configs.
Avcodec.decode decoder f packet applies function f to the decoded frames frome the packet according to the decoder configuration.
Raise Error if the decoding failed.
Avcodec.flush_decoder decoder f applies function f to the decoded frames frome the buffered packets in the decoder.
Raise Error if the decoding failed.
Avcodec.encode encoder f frame applies function f to the encoded packets from the frame according to the encoder configuration.
Raise Error if the encoding failed.