diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-09-26 21:36:05 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-09-26 21:36:05 +0000 |
commit | 13fabd7a8d6b01587cfc5049549d2e389b568182 (patch) | |
tree | d5ec71628686c25550c495c23e1e499ca579d946 /doc/filters.texi | |
parent | b6c06894560b9ed11bb6bf6d3036e7c278e1becf (diff) | |
download | ffmpeg-13fabd7a8d6b01587cfc5049549d2e389b568182.tar.gz |
Port MPlayer blackframe filter.
See thread:
Subject: [FFmpeg-devel] [PATCH] Port MPlayer blackframe filter.
Date: Sun, 26 Sep 2010 01:10:40 +0200
Originally committed as revision 25214 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'doc/filters.texi')
-rw-r--r-- | doc/filters.texi | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index d000276599..5ebaf99f4c 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -71,6 +71,27 @@ build. Below is a description of the currently available video filters. +@section blackframe + +Detect frames that are (almost) completely black. Can be useful to +detect chapter transitions or commercials. Output lines consist of +the frame number of the detected frame, the percentage of blackness, +the position in the file if known or -1 and the timestamp in seconds. + +In order to display the output lines, you need to set the loglevel at +least to the AV_LOG_INFO value. + +The filter accepts the syntax: +@example +blackframe[=@var{amount}:[@var{threshold}]] +@end example + +@var{amount} is the percentage of the pixels that have to be below the +threshold, and defaults to 98. + +@var{threshold} is the threshold below which a pixel value is +considered black, and defaults to 32. + @section crop Crop the input video to @var{out_w}:@var{out_h}:@var{x}:@var{y}. |