Module Values.TrackSource

Details about each track (video, audio, or data) in the media file.

Sourcetype nonrec t = {
  1. audioProperties : AudioProperties.t option;
    (*

    Details about the media file's audio track.

    *)
  2. codec : Codec.t option;
    (*

    The codec of the audio or video track, or caption format of the data track.

    *)
  3. dataProperties : DataProperties.t option;
    (*

    Details about the media file's data track.

    *)
  4. duration : float option;
    (*

    The duration of the track, in seconds.

    *)
  5. index : int option;
    (*

    The unique index number of the track, starting at 1.

    *)
  6. trackType : TrackType.t option;
    (*

    The type of track: video, audio, or data.

    *)
  7. videoProperties : VideoProperties.t option;
    (*

    Details about the media file's video track.

    *)
}
Sourceval make : ?audioProperties:??? -> ?codec:??? -> ?dataProperties:??? -> ?duration:??? -> ?index:??? -> ?trackType:??? -> ?videoProperties:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of float | `Enum of string | `Integer of int | `Structure of (string * [> `Enum of string | `Integer of int | `Long of Awso.Import.Int64.t | `String of string | `Structure of (string * [> `Enum of string | `Integer of int | `String of string | `Structure of (string * [> `Integer of int ]) list ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t