From: Limin Wang <lance.lmw...@gmail.com> Below is the final displaying format for the QP table data and properties, timecode: [Parsed_showinfo_0 @ 0x364fdc0] side data - pan/scan [Parsed_showinfo_0 @ 0x364fdc0] side data - QP table data (1350 bytes) [Parsed_showinfo_0 @ 0x364fdc0] side data - QP table properties (8 bytes) [Parsed_showinfo_0 @ 0x364fdc0] side data - GOP start timecode - 00:00:00:00
Signed-off-by: Limin Wang <lance.lmw...@gmail.com> --- libavfilter/vf_showinfo.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c index 31f6b32..5d38783 100644 --- a/libavfilter/vf_showinfo.c +++ b/libavfilter/vf_showinfo.c @@ -319,6 +319,14 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame) av_log(ctx, AV_LOG_INFO, "GOP timecode - %s", tcbuf); break; } +#if FF_API_FRAME_QP + case AV_FRAME_DATA_QP_TABLE_PROPERTIES: + av_log(ctx, AV_LOG_INFO, "QP table properties (%d bytes)", sd->size); + break; + case AV_FRAME_DATA_QP_TABLE_DATA: + av_log(ctx, AV_LOG_INFO, "QP table data (%d bytes)", sd->size); + break; +#endif default: av_log(ctx, AV_LOG_WARNING, "unknown side data type %d (%d bytes)", sd->type, sd->size); -- 2.9.5 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".