2
2
What would be the best tool / method to automatically find a position from an video file, where the frame approximately matches* a given image?
Basically, a command to: "Find the position where [image.jpg] appears in the [video.mpg]"
Preferably with ffmpeg, or some other linux command-line tool.
* - or maybe the frame which best of all of the frames in the video, matches the image
If something like this exists, then it's really cool – That Brazilian Guy – 2013-10-22T20:58:42.120
I would think there are some image matching libraries somewhere - combining those with a tool that extracts frames from video shouldn't really be that hard. If such doesn't exist, I'm quite tempted to write one myself. :) – Ilari Kajaste – 2013-10-22T21:06:53.037
There are some amazing image matching tools out there! (Although this one is not for linux, it will compare different image formats, dimensions, color depths, and even partial images; so maybe there is a similar CLI tool or library for linux that you can pipe outputs?)
– That Brazilian Guy – 2013-10-23T00:56:17.130So, have you wrote such a tool yourself? Would've been really useful. – user – 2014-06-02T14:32:40.050
@user3075942 Not yet, but the concept is still on my todo. :) – Ilari Kajaste – 2014-06-02T14:33:59.293