Audio and video column - audio and video playback process 3

Introduction: In fact, when we get an audio and video data, when we start playing it, it is actually compressed data in a container, so when we want to play it at this time, we need to demultiplex --> decode --> drive the audio and video driver -->Drive audio and video hardware to play, this is the entire process of audio and video playback

1. Schematic diagram of audio and video playback process

2. FFmpeg decoding audio and video flow chart

3. The composition of the video file is: N segments of images + N segments of sound are finally encoded (encapsulated) into a container to travel the video file. This video file can be in the format of mp4, avi, flv, etc. This is the essence of audio and video files , the schematic diagram is as follows

 

Guess you like

Origin blog.csdn.net/qq_18757557/article/details/130927478
Recommended