Therefore, it is necessary to convert the data in yuv pixel format to rgb pixel format before rendering when displaying the image. At this point, the split data is compressed and encoded, and the common video compression data formats are h264.ĭecode: Simply speaking, it is to decompress the compressed encoded data into raw video pixel data, commonly used raw video pixel data formats are yuv.Ĭolor Space Convert: Normally, for image displays, it is used to display images through the RGB model, but using the YUV model can save bandwidth when transferring image data. Decapsulation plays the opposite role of encapsulation, breaking a streaming file into audio data and video data. In layman’s terms, encapsulation is the product of combining audio streams, video streams, subtitle streams and other accessories into a package according to certain rules. There is a concept called encapsulation format here, and encapsulation format refers to the combined format of audio and video, commonly known as mp4, flv, mkv, etc. libswresample: audio resampling library.ĭemultiplexing (Demux): Demultiplexing can also be called decapsulation.libswscale: image format conversion library.libavfilter: audio/video and subtitle filter library.libavcodec: core library for audio and video decoding.
0 Comments
Leave a Reply. |