<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Streaming video from other programs]]></title><description><![CDATA[<p>Hi, I'm pretty new to pd but understand many of the concepts as I've been a written language programmer for quite some time.</p>
<p>I'm wondering if anyone knows a way to stream or grab video from other applications / programs running on a system for mixing with other videos in pd? I can mix videos, got those examples to work and have been playing with them.</p>
<p>However I want to mix in video from a program called IBNIZ (<a href="http://pelulamu.net/ibniz/" rel="nofollow">http://pelulamu.net/ibniz/</a>), which is a live visual/audio coding lauguage. Any ideas?</p>
<p>I found this and it seems like it's up the right alley but not specifically to do with streaming / grabbing video from programs, right? <a href="http://puredata.info/community/conventions/convention09/zmolnig.pdf" rel="nofollow">http://puredata.info/community/conventions/convention09/zmolnig.pdf</a></p>
<p>Thanks for any help in this,<br />
d3</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6453/streaming-video-from-other-programs</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 14:48:24 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/6453.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 17 Jul 2012 20:52:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Streaming video from other programs on Tue, 17 Jul 2012 20:52:52 GMT]]></title><description><![CDATA[<p>Hi, I'm pretty new to pd but understand many of the concepts as I've been a written language programmer for quite some time.</p>
<p>I'm wondering if anyone knows a way to stream or grab video from other applications / programs running on a system for mixing with other videos in pd? I can mix videos, got those examples to work and have been playing with them.</p>
<p>However I want to mix in video from a program called IBNIZ (<a href="http://pelulamu.net/ibniz/" rel="nofollow">http://pelulamu.net/ibniz/</a>), which is a live visual/audio coding lauguage. Any ideas?</p>
<p>I found this and it seems like it's up the right alley but not specifically to do with streaming / grabbing video from programs, right? <a href="http://puredata.info/community/conventions/convention09/zmolnig.pdf" rel="nofollow">http://puredata.info/community/conventions/convention09/zmolnig.pdf</a></p>
<p>Thanks for any help in this,<br />
d3</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6453/streaming-video-from-other-programs</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6453/streaming-video-from-other-programs</guid><dc:creator><![CDATA[digithree]]></dc:creator><pubDate>Tue, 17 Jul 2012 20:52:52 GMT</pubDate></item><item><title><![CDATA[Reply to Streaming video from other programs on Wed, 18 Jul 2012 00:13:51 GMT]]></title><description><![CDATA[<p>Hi, in linux the only way to get or stream a video output from a program to another is by using videoloopback kernel module. In mac os X you can use syhon (if both program support it, and pd does)</p>
<p>cheers<br />
husk</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6453/streaming-video-from-other-programs/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6453/streaming-video-from-other-programs/2</guid><dc:creator><![CDATA[husk]]></dc:creator><pubDate>Wed, 18 Jul 2012 00:13:51 GMT</pubDate></item><item><title><![CDATA[Reply to Streaming video from other programs on Wed, 18 Jul 2012 17:27:46 GMT]]></title><description><![CDATA[<p>What about pipes? I'm a linux novice too, so now well up on this stuff. Asked a friend of mine a suggested I look into using pipes. Can pd take input from a pipe?</p>
<p>Do you have any more information about this videoloopback kernal module?</p>
<p>Thanks a lot husk</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6453/streaming-video-from-other-programs/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6453/streaming-video-from-other-programs/3</guid><dc:creator><![CDATA[digithree]]></dc:creator><pubDate>Wed, 18 Jul 2012 17:27:46 GMT</pubDate></item><item><title><![CDATA[Reply to Streaming video from other programs on Wed, 18 Jul 2012 22:00:46 GMT]]></title><description><![CDATA[<p>Hi,<br />
here you can find debian package source of vloopback:<br />
<a href="http://packages.debian.org/squeeze/vloopback-source" rel="nofollow">http://packages.debian.org/squeeze/vloopback-source</a></p>
<p>once you install it and you add module (trought terminal command &quot;modprobe vloopback&quot;) a new /dev/video device will be created (something like /dev/video1).<br />
Once you get it you need two programs: one to stream video output and another one to catch it.<br />
Catch it is easy because is just a video4linux device (like a webcam). For example in pd/Gem you can use pix_video passing a message like:</p>
<p>| device /dev/video2(</p>
<p>In order to stream through vloopback instead the program you are using have to be &quot;ready&quot; for that.<br />
In the case of puredata you will use pix_record object and a message like this:</p>
<p>| codec v4l2, file /dev/video1, record 1 (</p>
<p>where /dev/video depend on your vloopback device.</p>
<p>A practical example for that kind of use is creating video texture with puredata/gem and use lpmt (<a href="http://hv-a.com/lpmt/" rel="nofollow">http://hv-a.com/lpmt/</a>) for video mapping them.</p>
<p>I don't know if it is possible to stream video putput between programs using pipe. If you test it please report, I'm curious about that!</p>
<p>cheers<br />
husk</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6453/streaming-video-from-other-programs/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6453/streaming-video-from-other-programs/4</guid><dc:creator><![CDATA[husk]]></dc:creator><pubDate>Wed, 18 Jul 2012 22:00:46 GMT</pubDate></item><item><title><![CDATA[Reply to Streaming video from other programs on Tue, 24 Jul 2012 22:33:48 GMT]]></title><description><![CDATA[<p>Thanks for the ideas.</p>
<p>Tried them out and couldn't get every piece working together. I'm using Virtual Box to run linux so I've tried several different distros.</p>
<p>It seems vloopback 1.3 doesn't work with newer linux distros (I think it's the new kernal, 2.6, but I'm no expert) because vloopback.c includes /linux/videodev.h, which has been upgraded to videodev2.h Simply changing this doesn't work as the code also needs V4L1 to be supported, which it's not on new linux distros.</p>
<p>I was able to compile vloopback on Ubuntu 9.04 though and add the module. However I was unable to compile Ibniz (the program I want to generate the video signal) because I can't get SDL for it! Also couldn't find a PureData release to compile for it.</p>
<p>So it's a kind of catch 22. I was thinking though, even if I got it all working, Ibniz outputs video as such &quot;Dump raw video to stdout and raw audio to stderr. 30 fps, non-realtime, yuv4mpeg2 and pcm_s16.&quot; So I wonder if puredata could even use it.</p>
<p>Any other ideas? Otherwise think I'm going to have to give up, maybe use Ibniz to create videos instead of doing live coding, or use a second laptop and send a video signal in if I purchased some extra hardware...</p>
<p>Thanks again<br />
D3</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6453/streaming-video-from-other-programs/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6453/streaming-video-from-other-programs/5</guid><dc:creator><![CDATA[digithree]]></dc:creator><pubDate>Tue, 24 Jul 2012 22:33:48 GMT</pubDate></item><item><title><![CDATA[Reply to Streaming video from other programs on Wed, 18 Dec 2024 07:24:27 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/digithree">@digithree</a> said:</p>
<blockquote>
<p>Hi, I'm pretty new to pd but understand many of the concepts as I've been a written language programmer for quite some time.</p>
<p>I'm wondering if anyone knows a way to stream or grab video from other applications / programs running on a system for mixing with other videos in pd? I can mix videos, got those examples to work and have been playing with them.</p>
<p>However I want to mix in video from a program called IBNIZ (<a href="http://pelulamu.net/ibniz/" rel="nofollow">http://pelulamu.net/ibniz/</a>), which is a live visual/audio coding lauguage. Any ideas?</p>
<p>I found this and it seems like it's up the right alley but not specifically to do with streaming / grabbing video from programs, right? <a href="http://puredata.info/community/conventions/convention09/zmolnig.pdf" rel="nofollow">http://puredata.info/community/conventions/convention09/zmolnig.pdf</a></p>
<p>Thanks for any help in this,<br />
d3</p>
</blockquote>
<p>Hi d3,</p>
<p>It’s great to see you diving into video mixing with Pure Data! Grabbing or streaming video from another program like IBNIZ and mixing it in PD can indeed be tricky but is definitely possible with the right setup.</p>
<p>To grab video from external programs, you might consider the following approaches:</p>
<p>Screen Capture to Video Stream:<br />
Use screen-capture software to stream the output from IBNIZ as a virtual webcam or a video feed. Tools like OBS Studio can help capture specific application windows and broadcast them as an RTMP stream or virtual camera. Then, you can bring that stream into PD using external libraries like GEM or Ofelia.</p>
<p>Direct Integration:<br />
If IBNIZ has an option to output its visuals to a shared memory buffer or as a video stream, you could capture that directly in PD using plugins or extensions that handle video input.</p>
<p>External Tools:<br />
Another possibility is using middleware like FFmpeg to convert the IBNIZ output into a format that PD can read. For example, you could use FFmpeg to stream the visuals to a local server and then access that stream from PD.</p>
<p>Feel free to share updates or questions—I'd love to hear how your project progresses!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6453/streaming-video-from-other-programs/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6453/streaming-video-from-other-programs/6</guid><dc:creator><![CDATA[karfageniiy]]></dc:creator><pubDate>Wed, 18 Dec 2024 07:24:27 GMT</pubDate></item></channel></rss>