Return to previous page Return to menu Go to next page

7. Branch playback

Branch playback is to switch the currently playing stream to another stream. By registering the MPEG handle when the next stream to be played is determined, the next stream is switched to and played by the end of the current stream or the forced switching function.
The timing for switching is as follows.

7.1 Clear buffer

The decode buffer must be cleared in a timely manner for smooth branch playback. The video has a VBV buffer at the front of the decoder and a frame buffer at the back.
The audio has a buffer for one sector in front of the decoder. Therefore, there are two types of buffers to be cleared: VBV buffer or VBV + frame buffer for video, and only sector buffer for audio.

(1) For video

(a) Clear target

Figure 7.1 MPEG video buffer configuration

(b) Clear timing

∙ Due to the nature of the MPEG video stream, clearing the VBV buffer after the start of decoding I or P picture will lead to a very clean connection. At other timings, the response is slightly better, but the same frame is output or the frame is skipped.


Return to previous page Return to menu Go to next page