Module Encoder.Theora


module Theora: sig .. end


type bitrate_control =
| Quality of int
| Bitrate of int

type t = {
   bitrate_control : bitrate_control;
   width : int Lazy.t;
   height : int Lazy.t;
   picture_width : int Lazy.t;
   picture_height : int Lazy.t;
   picture_x : int;
   picture_y : int;
   aspect_numerator : int;
   aspect_denominator : int;
   keyframe_frequency : int;
   vp3_compatible : bool option;
   soft_target : bool;
   buffer_delay : int option;
   speed : int option;
   fill : int option;
}
val bit_ctl_to_string : bitrate_control -> string
val print_some_bool : string -> bool option -> string
val print_some_int : string -> int option -> string
val to_string : t -> string