[FFmpeg-devel] [PATCH 0/3] AVEncodeInfo and extractqp changes

Juan De León juandl at google.com
Tue Aug 20 02:36:52 EEST 2019


Proposed changes to use AVEncodeInfoFrame and AVencodeInfoBlock
data types as AVFrameSideData, including the changes tothe h264
decoder as well as a filter to output the data extracted.

Filter can be called using:
ffmpeg -debug extractqp -i <VIDEO.MP4> -lavfi extractqp=extractqp.log -f null -

More options in filters.texi, libx264 has to be enabled.

doc/filters.texi           |  40 ++++++++++++++++++
 libavfilter/Makefile       |   1 +
 libavfilter/allfilters.c   |   1 +
 libavfilter/vf_extractqp.c | 243 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 285 insertions(+)

libavcodec/avcodec.h       |  1 +
 libavcodec/h264dec.c       | 40 ++++++++++++++++++++++++++++++++++++++++
 libavcodec/options_table.h |  1 +
 3 files changed, 42 insertions(+)

libavutil/Makefile      |   2 ++
 libavutil/encode_info.c |  70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 libavutil/encode_info.h | 110 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 libavutil/frame.c       |   1 +
 libavutil/frame.h       |   7 +++++++
 5 files changed, 190 insertions(+)





More information about the ffmpeg-devel mailing list