Commit 323c2cfd authored by Paul B Mahol's avatar Paul B Mahol

avfilter: add (a)graphmonitor filter(s)

parent 4a6d5f3c
...@@ -41,6 +41,7 @@ version <next>: ...@@ -41,6 +41,7 @@ version <next>:
- decoding S12M timecode in h264 - decoding S12M timecode in h264
- xstack filter - xstack filter
- pcm vidc decoder and encoder - pcm vidc decoder and encoder
- (a)graphmonitor filter
version 4.0: version 4.0:
......
...@@ -10300,6 +10300,63 @@ gradfun=radius=8 ...@@ -10300,6 +10300,63 @@ gradfun=radius=8
@end itemize @end itemize
@section graphmonitor, agraphmonitor
Show various filtergraph stats.
With this filter one can debug complete filtergraph.
Especially issues with links filling with queued frames.
The filter accepts the following options:
@table @option
@item size, s
Set video output size. Default is @var{hd720}.
@item opacity, o
Set video opacity. Default is @var{0.9}. Allowed range is from @var{0} to @var{1}.
@item mode, m
Set output mode, can be @var{fulll} or @var{compact}.
In @var{compact} mode only filters with some queued frames have displayed stats.
@item flags, f
Set flags which enable which stats are shown in video.
Available values for flags are:
@table @samp
@item queue
Display number of queued frames in each link.
@item frame_count_in
Display number of frames taken from filter.
@item frame_count_out
Display number of frames given out from filter.
@item pts
Display current filtered frame pts.
@item time
Display current filtered frame time.
@item timebase
Display time base for filter link.
@item format
Display used format for filter link.
@item size
Display video size or number of audio channels in case of audio used by filter link.
@item rate
Display video frame rate or sample rate in case of audio used by filter link.
@end table
@item rate, r
Set upper limit for video rate of output stream, Default value is @var{25}.
This guarantee that output video frame rate will not be higher than this value.
@end table
@section greyedge @section greyedge
A color constancy variation filter which estimates scene illumination via grey edge algorithm A color constancy variation filter which estimates scene illumination via grey edge algorithm
and corrects the scene colors accordingly. and corrects the scene colors accordingly.
......
...@@ -240,6 +240,7 @@ OBJS-$(CONFIG_FSPP_FILTER) += vf_fspp.o ...@@ -240,6 +240,7 @@ OBJS-$(CONFIG_FSPP_FILTER) += vf_fspp.o
OBJS-$(CONFIG_GBLUR_FILTER) += vf_gblur.o OBJS-$(CONFIG_GBLUR_FILTER) += vf_gblur.o
OBJS-$(CONFIG_GEQ_FILTER) += vf_geq.o OBJS-$(CONFIG_GEQ_FILTER) += vf_geq.o
OBJS-$(CONFIG_GRADFUN_FILTER) += vf_gradfun.o OBJS-$(CONFIG_GRADFUN_FILTER) += vf_gradfun.o
OBJS-$(CONFIG_GRAPHMONITOR_FILTER) += f_graphmonitor.o
OBJS-$(CONFIG_GREYEDGE_FILTER) += vf_colorconstancy.o OBJS-$(CONFIG_GREYEDGE_FILTER) += vf_colorconstancy.o
OBJS-$(CONFIG_HALDCLUT_FILTER) += vf_lut3d.o framesync.o OBJS-$(CONFIG_HALDCLUT_FILTER) += vf_lut3d.o framesync.o
OBJS-$(CONFIG_HFLIP_FILTER) += vf_hflip.o OBJS-$(CONFIG_HFLIP_FILTER) += vf_hflip.o
...@@ -437,6 +438,7 @@ OBJS-$(CONFIG_NULLSINK_FILTER) += vsink_nullsink.o ...@@ -437,6 +438,7 @@ OBJS-$(CONFIG_NULLSINK_FILTER) += vsink_nullsink.o
# multimedia filters # multimedia filters
OBJS-$(CONFIG_ABITSCOPE_FILTER) += avf_abitscope.o OBJS-$(CONFIG_ABITSCOPE_FILTER) += avf_abitscope.o
OBJS-$(CONFIG_ADRAWGRAPH_FILTER) += f_drawgraph.o OBJS-$(CONFIG_ADRAWGRAPH_FILTER) += f_drawgraph.o
OBJS-$(CONFIG_AGRAPHMONITOR_FILTER) += f_graphmonitor.o
OBJS-$(CONFIG_AHISTOGRAM_FILTER) += avf_ahistogram.o OBJS-$(CONFIG_AHISTOGRAM_FILTER) += avf_ahistogram.o
OBJS-$(CONFIG_APHASEMETER_FILTER) += avf_aphasemeter.o OBJS-$(CONFIG_APHASEMETER_FILTER) += avf_aphasemeter.o
OBJS-$(CONFIG_AVECTORSCOPE_FILTER) += avf_avectorscope.o OBJS-$(CONFIG_AVECTORSCOPE_FILTER) += avf_avectorscope.o
......
...@@ -227,6 +227,7 @@ extern AVFilter ff_vf_fspp; ...@@ -227,6 +227,7 @@ extern AVFilter ff_vf_fspp;
extern AVFilter ff_vf_gblur; extern AVFilter ff_vf_gblur;
extern AVFilter ff_vf_geq; extern AVFilter ff_vf_geq;
extern AVFilter ff_vf_gradfun; extern AVFilter ff_vf_gradfun;
extern AVFilter ff_vf_graphmonitor;
extern AVFilter ff_vf_greyedge; extern AVFilter ff_vf_greyedge;
extern AVFilter ff_vf_haldclut; extern AVFilter ff_vf_haldclut;
extern AVFilter ff_vf_hflip; extern AVFilter ff_vf_hflip;
...@@ -418,6 +419,7 @@ extern AVFilter ff_vsink_nullsink; ...@@ -418,6 +419,7 @@ extern AVFilter ff_vsink_nullsink;
/* multimedia filters */ /* multimedia filters */
extern AVFilter ff_avf_abitscope; extern AVFilter ff_avf_abitscope;
extern AVFilter ff_avf_adrawgraph; extern AVFilter ff_avf_adrawgraph;
extern AVFilter ff_avf_agraphmonitor;
extern AVFilter ff_avf_ahistogram; extern AVFilter ff_avf_ahistogram;
extern AVFilter ff_avf_aphasemeter; extern AVFilter ff_avf_aphasemeter;
extern AVFilter ff_avf_avectorscope; extern AVFilter ff_avf_avectorscope;
......
This diff is collapsed.
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include "libavutil/version.h" #include "libavutil/version.h"
#define LIBAVFILTER_VERSION_MAJOR 7 #define LIBAVFILTER_VERSION_MAJOR 7
#define LIBAVFILTER_VERSION_MINOR 38 #define LIBAVFILTER_VERSION_MINOR 39
#define LIBAVFILTER_VERSION_MICRO 100 #define LIBAVFILTER_VERSION_MICRO 100
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \ #define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment