On Sunday, September 20, 2015 11:08:26 AM Zenny wrote:
> Hi,
> 
> I came to learn a hard way that two video sources can be keyed with
> the following:
> 
> # melt BACKGROUND:VIDEO in=400 \
>     -track FORGROUND VIDEO in=450 \
>     -filter chroma key=0x00ff0000 variance=0.45 \
>     -transition composite
> 
> However there are a few caveats:
> 
> §1. How can one remove keyspills to around the keyed video from command
> line? §2. How to fine tune the keying like one can do with kdenlive in
> command line? Like adding blur, keyspill-mopup and so on?

The best way to find out is to do it in kdenlive, save the project, then open 
it in a text editor. Kdenlive project files are in MLT's xml format.

Then, you can look at what MLT effects and parameters are used. Filters have a 
<filter> tag, for example (extracted from a .kdenlive project file):

   <filter id="sepia">
    <property name="track">0</property>
    <property name="u">75</property>
    <property name="v">150</property>
    <property name="mlt_type">filter</property>
    <property name="mlt_service">sepia</property>
    <property name="kdenlive_id">sepia</property>
    <property name="tag">sepia</property>
    <property name="kdenlive_ix">1</property>
   </filter>

The filter id is the effect name for MLT, and the parameters are "u" and "v"

You can get infos about an MLT effect with:

melt -query filter=sepia

Hope it helps,

jb

------------------------------------------------------------------------------
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to