Use libVLC with TouchDesigner

Hi,
I’m quite new to TouchDesigner but have a defined problem to solve - I need to stream videos from YouTube and work with them in TouchDesigner.
My current thoughts are to employ libvlc (python binding preferably, but can be c++ as well) for streaming video from YouTube and then feed it to TouchDesigner.
So, I’m wondering, whether it’s feasible to write a TouchDesigner plugin which uses libvlc library?

Thanks,

Yes, you could make a CPlusPlus TOP that does this. In the next build we post we added some features to the CPlusPlus TOP that makes it easier to write a TOP without doing any OpenGL code, if all you are doing is getting data on the CPU such as video decoding or streaming.

Nice, thank you!

peetonn:
Were you ever able to get the youtube stream input working? If so, is that code available anywhere?

This tool by UCLA’s REMAP might be worth looking over:

[url]https://github.com/remap/YoutubeTOP[/url]

yes, that’s the tool written by peetton from this thread :wink: