Jakub,

> I've been following your changes for last few days and everything
> looks great, especially conversion between pixel formats.
> So far, I've noticed only a small bug in a configure script, 

> where you used single quotes at line 14, but double quotes should 

> be used. Otherwise, the variable won't be expanded to value 0.98.

Good catch. I just fixed that.

> One more thing. If you use the same filter between passes, so you 

> could preserve localmotions and use them directly in a second pass, 

> instead of deserialize them from a string format. It may be a huge 

> speed up, especially for long clips. Though, the melt tool won't 

> benefit from it. ;(
> Just try to stabilize video with params: shakiness=10 accuracy=15 

> and see results. In my case a 2min long clip produces an xml file 

> that takes size 15MB. Then, this file is loaded by melt for several 

> seconds before an actual processing is started. If it's not a problem,
> then forget it, but please let me know, if you can confirm it.

That is a good observation. I can confirm that it can take a long time to load 
results on the second pass. I considered reusing the localmotions. My only 
concern is what should be done if the application sets the results property 
externally. For example, in Shotcut, the application runs the first pass in a 
separate process, extracts the "results" property from the resulting XML file 
and then applies that string to the filter. So I don't know how to handle the 
potential situation where the results property and localmotions both exist and 
are different. Always loading from the results property avoids that potential 
problem but has the disadvantage of slowness.

I'm open to ideas.

~Brian


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to