Module util

Module util 

Source
Expand description

Core utilities and data structures.

This module provides fundamental types and utilities used throughout the library. It wraps FFmpeg’s libavutil library.

§Main Components

  • frame - Raw audio/video frames (decoded data)
  • error - Error types and error handling
  • dictionary - Key-value metadata and options
  • rational - Rational number representation for timestamps/framerates
  • channel_layout - Audio channel layouts (stereo, 5.1, etc.)
  • color - Color space and color primaries
  • format - Pixel and sample formats
  • mathematics - Mathematical utilities (rescaling, rounding)
  • [time] - Time representation and conversion
  • log - Logging configuration and levels

Modules§

channel_layout
chroma
color
dictionary
error
format
frame
interrupt
log
mathematics
media
option
picture
range
rational
time

Functions§

configuration
Returns the libavutil build configuration string.
license
Returns the libavutil license string.
version
Returns the libavutil version number.