HOW DOES THE PLAYBACK OF A VIDEO FILE WORK WITH DIRECTSHOW?
I must first explain how a stream is handled in Windows. A stream is the course of a multimedia resource, going through several steps, from the file on the hard drive to the final broadcast of the video and audio. It works in different ways according to the type of resource and the type of the output. Let’s take 3 examples: the reading of a *.wav file, the reading of an MPEG2 file and the reading of an *.avi file containing “DV video” inside. The 3 files are on the hard drive and we want to play them in a video playback software. ****.WAV: 1: Opening of the file from the hard drive. 2: Handling of the audio data from this file. 3: Rendering of the audio (in the video playback software). **** MPEG2 : 1: Opening of the file from the hard drive. 2: Demultiplexing of the datas. The opened data is made of video and audio, and they must be separated. Indeed, the audio data must go to the sound card, while the video data must go to the graphic card. The demultiplexing is done by an item calle