Cool filter.
Could you look at how we do 2-pass analyze/apply filters in vid.stab and 
loudness and follow that 
convention?https://github.com/mltframework/mlt/blob/master/src/modules/vid.stab/filter_vidstab.ymlhttps://github.com/mltframework/mlt/blob/master/src/modules/plus/filter_loudness.ymlIf
 all 2-pass filters use the same method for the "results" parameter, then it is 
easy to abstract 2-pass filters in applications because they all work the same.
You might like to borrow some other documentation from vid.stab: To use with 
melt, use 'melt ... -consumer xml:output.mlt all=1 real_time=-1' for the  first 
pass. Parallel processing (real_time < -1 or > 1) is not supported for  the 
first pass. For the second pass, use output.mlt as the input.

Is it possible for the rectangle to be changed to an oval?
~Brian

      From: Jean-Baptiste Mardelle <j...@kdenlive.org>
 To: mlt-devel@lists.sourceforge.net 
 Sent: Friday, April 15, 2016 10:09 AM
 Subject: [Mlt-devel] New motion tracker filter
   
Hi all,

I spend my day working on an OpenCV based filter to do motion tracking in 
MLT, since the current "motion_est" and "autotrack" filters are really bad 
at this. My OpenCV version seems to work quite well, but I have only done 
some minimal testing.

Code is currently available in my git clone:

https://github.com/j-b-m/mlt.git

in the opencv branch. The filter is in src/modules/opencv.
It relies on OpenCV 3.1.0, which does sadly not seem to be widely 
distributed.

The filter takes a rectangle as argument, and will draw a rect around the 
object while playing. color and rect fill are customizable.

The filter can also analyse the video if the "analyse" property is set to 
1. This will then store an animated rect property in the filter, so that on 
later playings and seeking, we don't need to reprocess.

Filter is currently called "tracker", and you can browse the code here:
https://github.com/j-b-m/mlt/tree/opencv/src/modules/opencv

I will do some more testings, but if you already have comments, it's 
welcome.

regards.

jb

   
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to