FFmpeg audio and video player implementation



In the previous summary of FFmpeg&FFplay common commands , we learned that ffplay can not only play different types of audio and video data through commands, including local files, network streams, YUV data, RGB data, PCM data, etc.; it can also adjust audio and video parameters. For example, choose whether to disable audio/video, rotate video screen, play audio and video at variable speed, etc.


In this chapter, we simply learn about the internal architecture process of the player from the player ffplay that comes with the FFmpeg source code.

1. Main process
insert image description here



2. Read audio and video data
insert image description here



3. Audio and video decoding and output display
insert image description here

Guess you like

Origin blog.csdn.net/locahuang/article/details/125410608