package theora

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
type settings = {
  1. keyframe_frequency : int option;
  2. vp3_compatible : bool option;
  3. soft_target : bool option;
  4. buffer_delay : int option;
  5. speed : int option;
}
val create : info -> settings -> (string * string) list -> t
val encode_header : t -> Ogg.Stream.stream -> unit
val encode_page : t -> Ogg.Stream.stream -> (unit -> yuv_buffer) -> Ogg.Page.t
val encode_buffer : t -> Ogg.Stream.stream -> yuv_buffer -> unit
val frames_of_granulepos : t -> Stdlib.Int64.t -> Stdlib.Int64.t
val eos : t -> Ogg.Stream.stream -> unit