当前位置:网站首页>Post-processing of ffmpeg miscellaneous notes

Post-processing of ffmpeg miscellaneous notes

2022-06-11 07:26:00 Nwafu_ zyccc

1 about Avcodec Each standard ( Such as H264) Different deformations They all correspond to the only one ID and Different name( Unique )

 Insert picture description here
avcodec_find_decoder: adopt iD lookup Find the first id The corresponding encoder is retired

avcodec_find_decoder: Because the only one therefore ...

Different codecs Multiplexers, etc ffmpeg They are all stored together in a linked list

Why should there be so many context Context Encoder Multiplexer And so on In order to satisfy the repeated input property, we encapsulate context

About
 Insert picture description here
Read to data Put it into the queue later They all use light copies All are light copies !!!!
That is from av_read_frame_av ---- avpacket
from av_receive_frame-------avframe

For the convenience of copying The following structure is adopted for packaging

 Insert picture description here
 Insert picture description here

原网站

版权声明
本文为[Nwafu_ zyccc]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/03/202203020521358588.html