[FFmpeg-devel] [PATCH] lavfi: adding dejudder filter to remove judder produced by partially telecined material.

Timothy Gu timothygu99 at gmail.com
Mon Feb 10 03:15:56 CET 2014


On Sun, Feb 9, 2014 at 5:21 PM, Nicholas Robbins <nickrobbins at yahoo.com> wrote:
> Signed-off-by: Nicholas Robbins <nickrobbins at yahoo.com>
> ---
>  Changelog                 |   1 +
>  doc/filters.texi          |  21 ++++++
>  libavfilter/Makefile      |   1 +
>  libavfilter/allfilters.c  |   1 +
>  libavfilter/vf_dejudder.c | 187 ++++++++++++++++++++++++++++++++++++++++++++++
>  5 files changed, 211 insertions(+)
>  create mode 100644 libavfilter/vf_dejudder.c
>
> diff --git a/Changelog b/Changelog
> index 5a76f11..0636af1 100644
> --- a/Changelog
> +++ b/Changelog
> @@ -25,6 +25,7 @@ version <next>
>  - Use metadata_header_padding to control padding in ID3 tags (currently used in
>    MP3, AIFF, and OMA files), FLAC header, and the AVI "junk" block.
>  - Mirillis FIC video decoder
> +- dejudder filter
>
>
>  version 2.1:
> diff --git a/doc/filters.texi b/doc/filters.texi
> index 2639f8c..31e5e5c 100644
> --- a/doc/filters.texi
> +++ b/doc/filters.texi
> @@ -3215,6 +3215,26 @@ Set whether or not chroma is considered in the metric calculations. Default is
>  @code{1}.
>  @end table
>
> + at section dejudder
> +
> +Remove judder produced by partially interlaced telecined content.
> +
> +Judder can be introduced, for instance, by @ref{pullup} filter. If the original
> +source was partially telecined content then the output of @code{pullup,dejudder}
> +will have a variable frame rate. May change the recorded frame rate of the
> +container. Aside from that change, this filter will not affect constant frame
> +rate video.
> +

> +options:

The option available in this filter is:

> + at table @option
> +
> + at item cycle
> +Specify the length of the window over which the judder repeats. If the original
> +was telecined from 24 to 30 fps (Film to NTSC), then use @code{4}. If the original was
> +telecined from 25 to 30 fps (PAL to NTSC), then use @code{5}. If a mixture of the two
> +use @code{20}. The default is @code{4}.

Use @samp{} for all the values for the option.

> + at end table
> +
>  @section delogo
>
>  Suppress a TV station logo by a simple interpolation of the surrounding
> @@ -6637,6 +6657,7 @@ On this example the input file being processed is compared with the
>  reference file @file{ref_movie.mpg}. The PSNR of each individual frame
>  is stored in @file{stats.log}.
>
> + at anchor{pullup}
>  @section pullup
>
>  Pulldown reversal (inverse telecine) filter, capable of handling mixed

[...]

Timothy


More information about the ffmpeg-devel mailing list