This question might be related to video file format (how it's encoded)
A video file, audio and video are interleaved actually. We might be able to separate both info.
However, who goes first? audio first or video first?
nextAudioFrame
nextFrame
are used to look for the next audio and video frame respectively. We may also use the above two functions in turn. However, for exactly the first frame, is it an audio or a video?
Cheers
JIA
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This question might be related to video file format (how it's encoded)
A video file, audio and video are interleaved actually. We might be able to separate both info.
However, who goes first? audio first or video first?
nextAudioFrame
nextFrame
are used to look for the next audio and video frame respectively. We may also use the above two functions in turn. However, for exactly the first frame, is it an audio or a video?
Cheers
JIA
sorry, found!!!
getFirstFrameTime
and
getFirstAudioSampleTime