On Sat, Nov 01, 2014 at 07:08:53AM -0700, Kevin Mitchell wrote:
> 

>  doc/filters.texi      |    7 +++++++
>  libavfilter/version.h |    2 +-
>  libavfilter/vf_idet.c |   45 +++++++++++++++++++++++++++++++++------------
>  libavfilter/vf_idet.h |    2 ++
>  4 files changed, 43 insertions(+), 13 deletions(-)
> 5d2c485705ed33022dda83da39bd9f1fc28a97e5  
> 0002-avfilter-vf_idet-add-a-reset_count-option-like-cropd.patch
> From 2ac0c4b6bab752c92ffa615c028cd4582441f680 Mon Sep 17 00:00:00 2001
> From: Kevin Mitchell <kevmi...@gmail.com>
> Date: Sat, 1 Nov 2014 05:38:35 -0700
> Subject: [PATCH 2/3] avfilter/vf_idet: add a "reset_count" option like
>  cropdetect
> 
> This can be useful for videos in which the interlacing pattern changes.
> 
> Also log the total number of frames as metadata and with avlog.
> ---
>  doc/filters.texi      |  7 +++++++
>  libavfilter/version.h |  2 +-
>  libavfilter/vf_idet.c | 45 +++++++++++++++++++++++++++++++++------------
>  libavfilter/vf_idet.h |  2 ++
>  4 files changed, 43 insertions(+), 13 deletions(-)
> 
> diff --git a/doc/filters.texi b/doc/filters.texi
> index 33f842b..2896978 100644
> --- a/doc/filters.texi
> +++ b/doc/filters.texi
> @@ -5583,6 +5583,9 @@ Multiple frame detection incorporates the 
> classification history of previous fra
>  The filter will log these metadata values:
>  
>  @table @option
> +@item frames_total
> +Total number of frames considered in current statistics.
> +
>  @item single.current_frame
>  Detected type of current frame using single-frame detection. One of:
>  ``tff'' (top field first), ``bff'' (bottom field first),
> @@ -5625,6 +5628,10 @@ The filter accepts the following options:
>  Set interlacing threshold.
>  @item prog_thres
>  Set progressive threshold.
> +@item reset_count
> +Number of frames after which idet will reset all previously collected
> +statistics. The current statistics are logged before being
> +destroyed. The default of 0 indicates 'never reset'.
>  @end table

some kind of FIR or IIR filtering/windowing of the per frame data is
probably better than sharply discarding data at data independant
intervalls


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to