On 1/26/16, Stefano Sabatini <stefa...@gmail.com> wrote: > On date Sunday 2016-01-17 20:15:45 +0100, Paul B Mahol encoded: >> Signed-off-by: Paul B Mahol <one...@gmail.com> >> --- >> doc/filters.texi | 6 ++++++ >> libavfilter/vf_crop.c | 54 >> +++++++++++++++++++++++++++++++++++++++------------ >> 2 files changed, 48 insertions(+), 12 deletions(-) >> >> diff --git a/doc/filters.texi b/doc/filters.texi >> index f4bda6a..aee4e66 100644 >> --- a/doc/filters.texi >> +++ b/doc/filters.texi >> @@ -4621,6 +4621,11 @@ This expression is evaluated per-frame. >> If set to 1 will force the output display aspect ratio >> to be the same of the input, by changing the output sample aspect >> ratio. It defaults to 0. >> + > >> +@item metadata >> +If set to 1 it will use frame metadata instead to obtain all parameters. >> +To make use of this feature you need to start @ref{cropdetect} filter >> before >> +this filter. > > Suggestion: to make this more extensible, allow to set the metadata > fields to read, for example so that you can have something like: > metadata=facedetect or metadata=cropdetect.
Sure. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel