When I look at the mjpg avi file, audio and video are interleaved in movi. What is the rule for the audio and video chunk sequence? is it like this:
audio_chunk for one period ( say x seconds )
video_chunk1
video_chunk2
....
all video_chunks for the play time equavlent to the previous audio_chunk ( x second )
audio_chunk2
video_chunks
.... ( all video_chunks for play time equavelent to audio_chunk2)
in other words, video chunks will not be encoded to place in avi file where it is ahead of its corresponding audio chunk. Is this correct?
Thank you so much!
Gerry
|