FFMPEG结构体分析之AVCodecContext
生活随笔
收集整理的這篇文章主要介紹了
FFMPEG结构体分析之AVCodecContext
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
AVCodecContext,編碼器上下文結構體,保存了視頻(音頻)編解碼相關信息
AVCodecContext 結構體定義在文件ffmpeg/libavcodec/avcodec.h中
/*** main external API structure.* New fields can be added to the end with minor version bumps.* Removal, reordering and changes to existing fields require a major* version bump.* You can use AVOptions (av_opt* / av_set/get*()) to access these fields from user* applications.* The name string for AVOptions options matches the associated command line* parameter name and can be found in libavcodec/options_table.h* The AVOption/command line parameter names differ in some cases from the C* structure field names for historic reasons or brevity.* sizeof(AVCodecContext) must not be used outside libav*.*/
typedef struct AVCodecContext {/*** information on struct for av_log* - set by avcodec_alloc_context3*/const AVClass *av_class;int log_level_offset;//編解碼器的類型(
總結
以上是生活随笔為你收集整理的FFMPEG结构体分析之AVCodecContext的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: FFMPEG结构体分析
- 下一篇: FFmpeg源代码:avcodec_re