Thanks, Dan for your input. Working well.

However, it would be nice if there is any pointer on a compositing
like --filter-complex in ffmpeg, say:

$ ffmpeg -f x11grab -video_size 1680x1050 -framerate 30 -i :0.0 \
-f v4l2 -video_size 320x240 -framerate 30 -i /dev/video0 \
-f alsa -ac 2 -i hw:0,0 -i logo.png -filter_complex \
"[0:v]scale=1024:-1,setpts=PTS-STARTPTS[bg]; \
 [1:v]scale=120:-1,setpts=PTS-STARTPTS[fg]; \
 [bg][fg]overlay=W-w-10:10[bg2]; \
 [bg2][3:v]overlay=W-w-10:H-h-10,format=yuv420p[out]" \
-map "[out]" -map 2:a -vcodec libx264 -preset veryfast \
-maxrate 3000k -bufsize 4000k -acodec libmp3lame -ar 44100 -b:a 128k \
-f flv rtmp://live.justin.tv/app/<stream key>

in mltframework regime?

Thanks again and have a nice weekend
/z

On 10/14/15, Dan Dennedy <d...@dennedy.org> wrote:
> Melt is numeric locale sensitive, and keyframed values should be quoted.
>
> On Tue, Oct 13, 2015, 11:45 PM Zenny <garbytr...@gmail.com> wrote:
>
>> Thanks again Janne.
>>
>> I lumakeyed in KDEnlive and worked well with:
>> <filter id="lumakey">
>>     <property name="track">0</property>
>>     <property name="threshold">130</property>
>>     <property name="slope">0</property>
>>     <property name="prelevel">255</property>
>>     <property name="postlevel">0</property>
>>     <property name="mlt_type">filter</property>
>>     <property name="mlt_service">lumakey</property>
>>     <property name="kdenlive_id">lumakey</property>
>>     <property name="tag">lumakey</property>
>>     <property name="kdenlive_ix">1</property>
>>     <property name="kdenlive_info"/>
>>    </filter>
>> <filter id="frei0r.alpha0ps">
>>     <property name="track">0</property>
>>     <property name="version">0.3</property>
>>     <property name="mlt_type">filter</property>
>>     <property name="mlt_service">frei0r.alpha0ps</property>
>>     <property name="kdenlive_id">frei0r.alpha0ps</property>
>>     <property name="tag">frei0r.alpha0ps</property>
>>     <property name="kdenlive_ix">3</property>
>>     <property name="Display">0.0</property>
>>     <property name="Display input alpha">0</property>
>>     <property name="Operation">1.0</property>
>>     <property name="Threshold">0=0.5</property>
>>     <property name="Shrink/Grow/Blur amount">0=0.5</property>
>>     <property name="Invert">0</property>
>>     <property name="kdenlive_info"/>
>>    </filter>
>>
>> It produces nice feather blur around the talent. However, when I tried
>> to translate to command line with:
>>
>> $melt BACKGROUND -track FOREGROUND \
>> -filter lumakey threshold=130 slope=0 prelevel=255 postlevel=0 \
>> -filter frei0r.scale0alpha0ps Display=0 "Display input alpha"=0
>> Operation=1.0 Threshold=0=0.5 "Shrink/Glow/Blur amount"=0=0.5 Invert=0
>> \
>> -transition composite
>>
>> It lumakeyed, but the feather blur didn't work. How to interpret the
>> nitty gritty details that KDEnlive provides into melt commandline?
>>
>> Appreciate for some guidance.
>>
>> On 10/14/15, Zenny <garbytr...@gmail.com> wrote:
>> > BTW, Janne, Flowblade 1.2 deb gets installed, but segfaults in ubuntu
>> > 14.04, fyi.
>> >
>> > In kdenlive, I found the lumakey under misc which I didn't actually
>> > expect. Thanks for the pointer. Shotcut GUI neither shows up chorma
>> > nor luma nor color key in it's filter list, as you must be aware of. I
>> > am on 15.04 version of Shotcut,fyi.
>> >
>> > wbr,
>> > /z
>> >
>> > On 10/13/15, Zenny <garbytr...@gmail.com> wrote:
>> >> Thanks Janne, but I could not figure out chroma/luma key filter in
>> >> Shotcut, not one in Flowblade or KDEnlive. Any pointer.
>> >>
>> >> On 10/13/15, Janne Liljeblad <janne.liljeb...@gmail.com> wrote:
>> >>> After 10s of moving sliders in Flowblade i got values threashold:80,
>> >>> slope:0, prelevel:255, postlevel:0 that seemed to work ok. You
>> >>> probably should test stuff like this with KDEnlive, Flowblade or
>> >>> Shotcut before posting here, this isn't too hard to try.
>> >>>
>> >>>
>> >>> Janne
>> >>>
>> >>> On Tue, Oct 13, 2015 at 9:24 PM, Zenny <garbytr...@gmail.com> wrote:
>> >>>> Hi,
>> >>>>
>> >>>> I am trying to extract the talent from the background which is lit
>> >>>> the
>> >>>> most using lumakey (See http://picpaste.com/G8XWYhuz.jpg).
>> >>>>
>> >>>> Using mltframework v0.9.8,
>> >>>>
>> >>>> $ melt BACKGROUND_VIDEO \
>> >>>> -track FOREGROUND_VIDEO \
>> >>>> -filter lumakey \
>> >>>> -transition composite
>> >>>>
>> >>>> extracts the talent and leaves the background.
>> >>>>
>> >>>> $ melt -query filter=lumakey
>> >>>>
>> >>>> gives four variables to choose from: threshold (0-255), slope
>> >>>> (0-128),
>> >>>> prelevel (0-255) and postlevel (0-255) which has gone above my head.
>> >>>>
>> >>>> Is there a way that I can extract the talent from the background
>> >>>> using
>> >>>> lumakey filter? Help appreciated.
>> >>>>
>> >>>> wbr,
>> >>>> /z
>> >>>>
>> >>>>
>> ------------------------------------------------------------------------------
>> >>>> _______________________________________________
>> >>>> Mlt-devel mailing list
>> >>>> Mlt-devel@lists.sourceforge.net
>> >>>> https://lists.sourceforge.net/lists/listinfo/mlt-devel
>> >>>
>> >>
>> >
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Mlt-devel mailing list
>> Mlt-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mlt-devel
>>
>

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

Reply via email to