package ffmpeg-avutil

  1. Overview
  2. Docs

Module Avutil.FrameSource

Sourcetype 'media t
Sourceval pts : _ t -> Int64.t option

Avutil.Frame.pts frame returns the presentation timestamp in time_base units (time when frame should be shown to user).

Sourceval set_pts : _ t -> Int64.t option -> unit

Avutil.Frame.set_pts frame pts sets the presentation time for this frame.

Sourceval metadata : _ t -> (string * string) list

Avutil.Frame.metadata frame returns the frame's metadata.

Sourceval set_metadata : _ t -> (string * string) list -> unit

Avutil.Frame.set_metadata frame metadata sets the frame's metadata.

Sourceval best_effort_timestamp : _ t -> Int64.t option

Avutil.frame_best_effort_timestamp frame returns the frame timestamp estimated using various heuristics, in stream time base

Sourceval pkt_duration : _ t -> Int64.t option

duration of the corresponding packet, expressed in AVStream->time_base units.

Sourceval copy : 'a t -> 'b t -> unit

Avutil.frame_copy src dst copies data from src into dst

OCaml

Innovation. Community. Security.