<div dir="ltr"><div><div><div><div><div>Hi there,<br><br></div>perhaps this Pd project below may be of some help.<br></div>I remember the presentation in Weimar and it was very well done.<br><br><a href="https://puredata.info/downloads/extended-view-toolkit">https://puredata.info/downloads/extended-view-toolkit</a><br><br></div>It's not about keying, but, if I recall correctly, has a very nice setup for blurring edges and combining multiple video streams for panoramic projections using shaders.<br><br></div><div>Not sure whether it's still maintained or compatible with newer Pd version.<br></div><div><br></div><div>sorry if someone pointed it out already, I haven't followed the whole conversation.<br></div><div><br></div>best,<br></div>M<br><div><div><div><div><div><div><div><div><br><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
   3. Re: gem advanced video keying (Py Fave)<br>
  <br>
<br>
Date: Tue, 8 Sep 2015 16:44:46 +0200<br>
From: Py Fave <<a href="mailto:pyfave@gmail.com">pyfave@gmail.com</a>><br>
To: hi <<a href="mailto:joson.android@googlemail.com">joson.android@googlemail.com</a>><br>
Cc: "<a href="mailto:pd-list@lists.iem.at">pd-list@lists.iem.at</a>" <<a href="mailto:pd-list@lists.iem.at">pd-list@lists.iem.at</a>><br>
Subject: Re: [PD] gem advanced video keying<br>
Message-ID:<br>
        <CAAQHdpBr7j0RNwzDU+fMgy=<a href="mailto:q37ioY%2BhaZw-CMYB42g4XCN-cZQ@mail.gmail.com">q37ioY+haZw-CMYB42g4XCN-cZQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
check this<br>
<br>
<a href="http://www.casparcg.com/" rel="noreferrer" target="_blank">http://www.casparcg.com/</a><br>
<br>
2015-09-07 19:28 GMT+02:00 hi <<a href="mailto:joson.android@googlemail.com">joson.android@googlemail.com</a>>:<br>
> thanks for the answer!<br>
><br>
> i will need to start to use shaders one day, i know that long already **dream** For now the project goes back to the drawer<br>
><br>
> I would love to see a new pd convention to find motivation for week intense pd work..<br>
><br>
><br>
> Am 26.08.2015 um 09:46 schrieb Py Fave <<a href="mailto:pyfave@gmail.com">pyfave@gmail.com</a>>:<br>
><br>
>> you need to use glsl shaders to do that efficiently .<br>
>><br>
>> first check for existing shaders<br>
>><br>
>> you will need a powerful gpu<br>
>><br>
>><br>
>><br>
>> ------------<br>
>> this is a  lumakey example  (was sent to me by chdh)<br>
>> --------------<br>
>> keying.frag<br>
>><br>
>> -------------<br>
>> uniform float R,G,B,K;<br>
>> uniform sampler2D texture;<br>
>><br>
>> void main (void)<br>
>> {<br>
>>    float d = 0.;<br>
>>    vec4 color = texture2D(texture, gl_TexCoord[0].st );<br>
>><br>
>>    d+= abs(color.r - R);<br>
>>    d+= abs(color.g - G);<br>
>>    d+= abs(color.b - B);<br>
>><br>
>>    d*=K;<br>
>><br>
>>    color.a = abs(d);<br>
>><br>
>>    gl_FragColor = color;<br>
>><br>
>> }<br>
>><br>
>> ------------------------------<br>
>><br>
>><br>
>> 2015-08-12 15:13 GMT+02:00 hi via Pd-list <<a href="mailto:pd-list@lists.iem.at">pd-list@lists.iem.at</a>>:<br>
>>> Dear Pd folk,<br>
>>><br>
>>> I am investigating options to improve chroma keying within pd and gem to use within a theater installation. I need more advanced keying features than seemingly possible with [pix_choma_key], like border corrections and smoother edge transparencies. The best thing i found so far is this:<br>
>>><br>
>>> <a href="http://forum.pdpatchrepo.info/topic/2953/neat-chroma-keying/3" rel="noreferrer" target="_blank">http://forum.pdpatchrepo.info/topic/2953/neat-chroma-keying/3</a><br>
>>><br>
>>> very nice, but i would need more a quality like in readymade video mixers<br>
>>> Did any of you program anything like that?<br>
>>><br>
>>> Also i'm trying to find out, whether a potential setup with a computer with 4 HD-SDI inputs would be capable of keying 2 HD-live-signals at the same time and overlay that over one HD-live-background.<br>
>>><br>
>>> Are there any experiences (hardware and software) from your side, you could share?<br>
>>><br>
>>> I would so much love to make this happen with pd and not with an expensive video mixer i would have to buy.<br>
>>><br>
>>> Any help or ideas are appreciated.<br>
>>><br>
>>> Love to pd,<br>
>>><br>
>>> jonny<br>
>>> _______________________________________________<br>
>>> <a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
>>> UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
><br>
<br>
<br>
****************************************<br>
</blockquote></div><br></div></div></div></div></div></div></div></div></div></div>