Youtube streaming CPlusPlusTOP

Hi guys,

just wanted to share the Youtube TOP (github.com/remap/youtubetop) I’ve made for streaming videos from Youtube and other video hosting services (like Vimeo, etc.). Currently it’s 32-bit only and there’s no Audio CHOP output.

I’m still working on it, so don’t be rough =)
Any contributions/advices are encouraged!
All the sources are open.

Let me know if you have any questions =)

Thanks,

Wow,
look interesting, can you make explanation or YouTube tutorial
for setup ?

this is what I get :

“Traceback (most recent call last):
File “/project1/container1/VideoUrlParserTOX/youtube_parser”, line 21, in
File “C:/Program Files (x86)/Derivative/TouchDesigner088/bin/TouchInit.py”, line 147, in tdcustomimport
r = previousimport(*args, **kw)
ImportError: No module named ‘youtube_dl’”

update:
1.I download Full source + docs + binary tarball
2.I install it.
3.copy the folder to the touch-designer site-packages folder
4.I copy the C:\Users\Barakooda\Desktop\YoutubeTOP-master\touch\DLLs into
the sample project folder.
5.I run sample1.toe on touch 32 bit and nothing happen ( red color), but no compile error.

wow, it has become quite the project for a single top :wink: you really put some effort into the wiki. I’ll try it this week. Thanks for this!!

hi barakooda, thanks for trying this out!

yep, youtube-dl is required

can you please double check the variable ytpath in the Text DAT called ‘youtube_parser’ at this path ‘/project1/container1/VideoUrlParserTOX’ and make sure that it points to the youtube_dl package installed at your python path?

also, please send me whatever output you have from the TextPort console (Alt+t).

Hi,

I’ve installed Touch Designer 32bit,
Python 3.3.5
the ‘Youtube_dl’ package ( I tried the lastest version and the 2015.1.25 version )
I changed the ytpath variable to C:\Python33\Lib\site-packages\youtube_dl ( I didn’t had a .egg )

but I still get :

Traceback (most recent call last): File "/project1/container1/VideoUrlParserTOX/youtube_parser", line 21, in <module> File "C:/Program Files (x86)/Derivative/TouchDesigner088/bin/TouchInit.py", line 205, in tdcustomimport r = previousimport(*args, **kw) File "C:\Python33\Lib\site-packages\youtube_dl\__init__.py", line 15, in <module> from .options import ( File "C:/Program Files (x86)/Derivative/TouchDesigner088/bin/TouchInit.py", line 205, in tdcustomimport r = previousimport(*args, **kw) File "C:\Python33\Lib\site-packages\youtube_dl\options.py", line 8, in <module> from .downloader.external import list_external_downloaders File "C:/Program Files (x86)/Derivative/TouchDesigner088/bin/TouchInit.py", line 205, in tdcustomimport r = previousimport(*args, **kw) File "C:/Program Files (x86)/Derivative/TouchDesigner088/bin/TouchInit.py", line 205, in tdcustomimport r = previousimport(*args, **kw) File "C:\Python33\Lib\site-packages\youtube_dl\downloader\__init__.py", line 3, in <module> from .common import FileDownloader File "C:/Program Files (x86)/Derivative/TouchDesigner088/bin/TouchInit.py", line 205, in tdcustomimport r = previousimport(*args, **kw) File "C:\Python33\Lib\site-packages\youtube_dl\downloader\common.py", line 9, in <module> from ..compat import compat_os_name File "C:/Program Files (x86)/Derivative/TouchDesigner088/bin/TouchInit.py", line 205, in tdcustomimport r = previousimport(*args, **kw) File "C:\Python33\Lib\site-packages\youtube_dl\compat.py", line 2321, in <module> from html.parser import HTMLParser as compat_HTMLParser File "C:/Program Files (x86)/Derivative/TouchDesigner088/bin/TouchInit.py", line 205, in tdcustomimport r = previousimport(*args, **kw) File "C:\Program Files (x86)\Derivative\TouchDesigner088\bin\lib\html\parser.py", line 70, in <module> """, re.VERBOSE) File "C:/Program Files (x86)/Derivative/TouchDesigner088/bin\lib\re.py", line 214, in compile return _compile(pattern, flags) File "C:/Program Files (x86)/Derivative/TouchDesigner088/bin\lib\re.py", line 281, in _compile p = sre_compile.compile(pattern, flags) File "C:/Program Files (x86)/Derivative/TouchDesigner088/bin\lib\sre_compile.py", line 498, in compile code = _code(p, flags) File "C:/Program Files (x86)/Derivative/TouchDesigner088/bin\lib\sre_compile.py", line 483, in _code _compile(code, p.data, flags) File "C:/Program Files (x86)/Derivative/TouchDesigner088/bin\lib\sre_compile.py", line 75, in _compile elif _simple(av) and op is not REPEAT: File "C:/Program Files (x86)/Derivative/TouchDesigner088/bin\lib\sre_compile.py", line 362, in _simple raise error("nothing to repeat") sre_constants.error: nothing to repeat

Do you have any Idea why ?
Thanks