package faad
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module Faad.Mp4
Source
An MP4 reader.
A track number.
A sample number.
Data read. Same signature as Unix.read
.
Detect whether the file is an MP4 given at least 8 bytes of its header.
Source
val openfile :
?write:(Bytes.t -> int) ->
?seek:(int -> int) ->
?trunc:(unit -> int) ->
read ->
t
Open an MP4 file.
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.