Hi Hendrik,

Sounds like you have the solution already. Would you be interested in sharing 
your code with me please? Or if not, perhaps some code snippets? Not a problem 
if this is not possible for any reason, commercial or otherwise. Would be 
grateful for any help you could provide.

Best Regards,

Stephen.


-------- Original-Nachricht --------
> Datum: Mon, 17 May 2010 13:57:30 +0200
> Von: "Hendrik Jürgens" <[email protected]>
> An: [email protected]
> Betreff: Re: [libav-user] How to determine "film cuts" in a video clip?

> Am 17.05.2010 13:08, schrieb Stefano Sabatini:
> > On date Sunday 2010-05-16 22:22:00 +0200, Stephen Hunt encoded:
> >> Hi All,
> >>
> >> Thinking of using ffmpeg libraries to write a program that attempts
> >> to pinpoint editing cuts in a video clip. Would import this
> >> information into an editing program to enable easier study of how a
> >> film is edited.
> >>
> >> Anyone have any pointers on how to approach this please? My C
> >> language skills are quite rusty (wrote two programs, 10k lines each
> >> in Uni, early 1990s). But very keen to get something like this
> >> working. Also, has anyone perhaps done this already?
> >
> > It should be relatively easy to port some of the existing code which
> > already do this to a libavfilter filter. I don't have time for this
> > right now, but you may file a feature request on roundup *or* try to
> > add it to FFmpeg yourself, I'll be glad to help in reviewing the patch
> > for the latter case.
> >
> > Regards.
> 
> I've implemented a such algorithm. It basically substracts the values of 
> two images and "looks" whats left.
> If the two pictures were from the same scene, this final image should be 
> near black. You have to do some testing to get a good threshold for this 
> black image. This will also fail if you have a scene with fast movement 
> (i.e. massive camera shake). But it worked with the mose videos I've 
> tested so far.
> 
> Best regards
> Hendrik
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user

-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to