Faad.Mp4type decoder = tval openfile :
?write:(Stdlib.Bytes.t -> int) ->
?seek:(int -> int) ->
?trunc:(unit -> int) ->
read ->
tOpen an MP4 file.
val openfile_fd : Unix.file_descr -> tval tracks : t -> intTotal number of tracks.
Seek to the given offset, in audio samples. * returns a pair sample,toskip where * sample is the new current (mp4) sample * and toskip is an amount of audio sample * that should be skipped.
val metadata : t -> (string * string) array