FFmpeg avcodec_version函数使用

2023-05-15,,

简介

        avcodec_version函数查询FFmpeg版本

返回值:0x00396b64(转换成十六进制方便说明)

版本的换算公式:#define AV_VERSION_INT(a, b, c)   ((a)<<16 | (b)<<8 | (c))

39  

39      16*3+9  = 57

6b      6*16+11 =107

64      6*16+4  = 100

浏览最新官网

FFmpeg 3.4 "Cantor"

3.4 was released on 2017-10-15. It is the latest stable FFmpeg release from the 3.4 release branch, which was cut from master on 2017-10-11.

It includes the following library versions:

libavutil      55. 78.100

libavcodec     57.107.100

libavformat    57. 83.100

libavdevice    57. 10.100

libavfilter     6.107.100

libavresample   3.  7.  0

libswscale      4.  8.100

libswresample   2.  9.100

libpostproc    54.  7.100

结果

libavcodec     57.107.100

参考

http://ffmpeg.org/download.html

http://ffmpeg.org/doxygen/trunk/group__version__utils.html#gaaab323b60e1a6e38ec939efe881474c7

《FFmpeg avcodec_version函数使用.doc》

下载本文的Word格式文档,以方便收藏与打印。