Youtube Live stream in Jitter
Hi,
Does anybody have a solution to show a live stream from youtube (preferably also other streaming sites) in jitter? I'm aware of the youtube n4m tool, but that doesn't support live streams...
thanks in advance!
3rd party apps with syphon or spout support are the way to go.
camtasia and OBS studio come to mind as potentials
https://tobystereo.com/2014/06/create-a-virtual-webcam-for-your-syphon-client-with-camtwist/
https://www.youtube.com/watch?v=1hNP_FjjNO4
Thanks Rob,
But I meant the other way around to get the stream or youtube into a jitter matrix / jit.grab
I already worked before with streaming from Max but the opposite way isn't possible with these suggested tools right?
With jit.desktop and NDISyphon.app on another computer and send the video over network works, but far from ideal. And also in the end the setup have to start up automatically.
I'm now gonna try with OBS studio capture a browser window and send it through with syphon, but unfortunately not yet successfully.
If someone know a better option (and to do as much as possible inside Max) that would really nice!
ah ok.
if getting the streaming URL from node, and passing it to jit.movie doesn't work, then I'm not sure. It should work fine, both avf and viddll engine versions of jit.movie support streaming from URLs...
i just tested with the n4m youtube in the viddll engine, and i get some video with loading a livestream link,.. but only a short part of the stream (a couple of seconds) which loops, if i read the same link again it will get another short loop. (if you reload before the first loop finished it will stuck with the spinning-beachball for while, but after this reload the links works again).
Is there a way to increase this loaded buffer-length? or off course to keep the stream running. or any other workaround?
Did you manage to do it by any chance? Potentially using node.js to retrieve url?
Hi David,
Unfortunately I didn't test it anymore, it was some research for a project. But now the project has been postponed due to the pandemic. I hope you will find a solution!
Thanks for your reply. I'll post the solution if I manage to do it, with a deadline in ~2 weeks.
Following this post. I am trying this same process and did post to the forum yesterday. Please post a solution if you find one. Thanks.
Hi. I just managed to do it. It's actually quite straightforward...
For this version, it involves soundsource and blackhole (https://rogueamoeba.com/soundsource/buy.php and https://github.com/ExistentialAudio/BlackHole). In sound source, set the output of Chrome to Blackhole, then use Blackhole as an input in Max (and then play with signals as you wish).
I add two points here: as sound source is a paid software, this is not a viable solution for me (I use the trial version for now), so 2 options that I'm gonna go into as soon as I've got time: i) dig a bit Blackhole, which should be able to do the job without needing SoundSource, and ii) develop my own software allowing easy routing using CoreAudio API (https://developer.apple.com/library/archive/documentation/MusicAudio/Conceptual/CoreAudioOverview/WhatisCoreAudio/WhatisCoreAudio.html#//apple_ref/doc/uid/TP40003577-CH3-SW1).
You should be able to have it working, let me know.
Thanks David for the info. Will have a look into the process you have described. Best, Teresa.