[FFmpeg-devel] [PATCH] lavfi/overlay: show incoming frames on debug messages

Stefano Sabatini stefasab at gmail.com
Wed Jul 2 18:44:55 CEST 2014


On date Friday 2014-06-20 15:06:06 +0200, Michael Niedermayer encoded:
> On Fri, Jun 20, 2014 at 02:56:00PM +0200, Stefano Sabatini wrote:
> > This is especially useful to debug queue overflow issues.
> > 
> > Ideally we should be able to set the debug message at the
> > dualinput/framesync level, but they do not have the information related
> > to the filter context and the inlink, so cannot access much useful
> > information.
> > 
> > Signed-off-by: Stefano Sabatini <stefasab at gmail.com>
> > ---
> >  libavfilter/vf_overlay.c | 2 ++
> >  1 file changed, 2 insertions(+)
> 
> LGTM, but maybe others have ideas on how to improve it, like
> making it not print always at debug level, which could be annoying
> if all filters do this and one is debuging something unlreated to
> filters
> then again AV_CLASS_CATEGORY could potentially be used to avoid that

Per-component/per-category logging filtering would fix this and I hope
to be able to work on it soon or later, for the moment I committed the
quick fix.
-- 
FFmpeg = Free Fundamentalist Maxi Political Exciting God


More information about the ffmpeg-devel mailing list