[FFmpeg-devel] [PATCH] lavfi/select: add scene detection.
ubitux at gmail.com
Mon Jun 4 22:27:09 CEST 2012
On Sun, Jun 03, 2012 at 12:48:57AM +0200, Clément Bœsch wrote:
> On Sun, Jun 03, 2012 at 12:07:09AM +0200, Clément Bœsch wrote:
> > On Sat, May 26, 2012 at 12:41:01PM +0200, Clément Bœsch wrote:
> > > eg: ffmpeg -i ~/samples/GoneNutty.avi -vf scale=160:120,select='gt(scene_score\,60)*gt(scene_diff\,60)',tile -frames:v 1 out.png
> > >
> > > TODO: documentation
> > >
> > > Based on the shotdetect algorithm.
> > > ---
> > > libavfilter/vf_select.c | 63 +++++++++++++++++++++++++++++++++++++++++++++++
> > > 1 file changed, 63 insertions(+)
> > >
> > New version attached.
> > Here are some random results with the threshold values given in the
> > documentation: http://imgur.com/a/icpfk
> > I'm not fond of the 2 threshold values the user need to specify, but I
> > don't see any simpler solution (except having a variable set to 0 or 1,
> > but with no threshold configuration possible).
> Solved that issue with the attached patch.
Pushed a slightly different version, flame me on cvslog.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 490 bytes
Desc: not available
More information about the ffmpeg-devel