[FFmpeg-devel] [PATCH] lavfi: port libmpcodecs remove-logo filter

Stefano Sabatini stefasab at gmail.com
Sun Mar 18 22:08:02 CET 2012


On date Tuesday 2012-03-13 19:24:10 +0100, Stefano Sabatini encoded:
> On date Sunday 2012-03-11 04:01:32 +0100, Stefano Sabatini encoded:
> > Address trac issue #249.
> > ---
> >  configure                   |    1 +
> >  doc/filters.texi            |   23 ++
> >  libavfilter/Makefile        |    2 +
> >  libavfilter/allfilters.c    |    1 +
> >  libavfilter/extutils.c      |  121 +++++++++
> >  libavfilter/extutils.h      |   53 ++++
> >  libavfilter/vf_removelogo.c |  584 +++++++++++++++++++++++++++++++++++++++++++
> >  7 files changed, 785 insertions(+), 0 deletions(-)
> >  create mode 100644 libavfilter/extutils.c
> >  create mode 100644 libavfilter/extutils.h
> >  create mode 100644 libavfilter/vf_removelogo.c
> 
> Replaced extutils with {lsws,lavf}utils, updated against the new
> bbox code.
> -- 
> FFmpeg = Fabulous & Fiendish Merciless Puristic Evil Ghost

> From 661a0cf6b5072da5127a48f354729f2acbd4ef41 Mon Sep 17 00:00:00 2001
> From: Stefano Sabatini <stefasab at gmail.com>
> Date: Sat, 10 Mar 2012 14:01:28 +0100
> Subject: [PATCH] lavfi: port libmpcodecs remove-logo filter
> 
> The code is based on the remove-logo filter in MPlayer/libmpcodecs, by
> Robert Edele, relicensed to LGPL with consent of the author.
> 
> Address trac issue #249.
> ---
>  configure                   |    1 +
>  doc/filters.texi            |   23 ++
>  libavfilter/Makefile        |    4 +
>  libavfilter/allfilters.c    |    1 +
>  libavfilter/lavfutils.c     |   95 +++++++
>  libavfilter/lavfutils.h     |   44 ++++
>  libavfilter/lswsutils.c     |   46 ++++
>  libavfilter/lswsutils.h     |   36 +++
>  libavfilter/vf_removelogo.c |  587 +++++++++++++++++++++++++++++++++++++++++++
>  9 files changed, 837 insertions(+), 0 deletions(-)
>  create mode 100644 libavfilter/lavfutils.c
>  create mode 100644 libavfilter/lavfutils.h
>  create mode 100644 libavfilter/lswsutils.c
>  create mode 100644 libavfilter/lswsutils.h
>  create mode 100644 libavfilter/vf_removelogo.c

Ping, I'll apply an auto-review and commit if I read no comments in a
week or so. Also I'd like to hear comments about the *utils file and
their file names.

If you're fine I'll also dump the corresponding wrapped non-working
libmpcodecs filter.

Note: I'm changing the name mp=remove-logo -> removelogo for
consistency with the other filter names, opinions are welcome on this
as well.
-- 
FFmpeg = Free Fancy Miracolous Prodigious Evil Gigant


More information about the ffmpeg-devel mailing list