{"id":115,"date":"2017-12-05T12:29:14","date_gmt":"2017-12-05T12:29:14","guid":{"rendered":"http:\/\/blog.tidalcycles.org\/?p=115"},"modified":"2017-12-05T14:35:56","modified_gmt":"2017-12-05T14:35:56","slug":"live-streaming-on-youtube","status":"publish","type":"post","link":"https:\/\/blog.tidalcycles.org\/live-streaming-on-youtube\/","title":{"rendered":"Live streaming on YouTube"},"content":{"rendered":"
Here’s a guide for live streaming your TidalCycles session to YouTube.<\/p>\n
This is the set-up I use so it’s specific to Mac with SuperDirt and Atom. There a load of ways to achieve this so it would be great to see the guide expand.<\/p>\n
Server.default.options.outDevice_(\"Soundflower (2ch)\")\r\n<\/pre>\n
SuperDirt.start<\/pre>\nIn the post window you should see something like:<\/p>\n
\"Built-in Microph\" Input Device\r\n Streams: 1\r\n 0 channels 2\r\n\r\n\"Soundflower (2ch)\" Output Device\r\n Streams: 1\r\n 0 channels 2\r\n<\/pre>\nThis confirms that SuperCollider will output to SoundFlowerbed, which will act as the audio input to OBS for the stream.<\/p>\n
Atom \/ other text editor<\/h3>\n
\n
- Launch Atom and save a new .tidal file<\/li>\n
- Exit full screen if that’s how the application is currently set. This is to overcome an issue with OBS detecting full screen application windows.<\/li>\n
- It’s also worth increasing your editor font size a few points so it’s clear in the stream.<\/li>\n<\/ul>\n
OBS<\/h3>\n
\n
- Launch OBS<\/li>\n
- In the Sources menu click the\u00a0+\u00a0<\/strong>sign and select\u00a0Window Capture\u00a0<\/strong>from the list of available options.
\n<\/li>\n
- In the next screen select the application and file name combination that matches your text editor.<\/li>\n
- Switch back to your text editor and set it to full screen mode. Then head back to OBS.<\/li>\n
- You should see a stream of your text editor being rendered in OBS.
\n<\/li>\n
- Click the\u00a0 +\u00a0<\/strong>sign again to add your audio stream. Select\u00a0audio output capture<\/strong> and select Soundflower.<\/li>\n<\/ul>\n
YouTube<\/h3>\n
\n
- Log into YouTube with an account you want to use to broadcast your performance to the world.<\/li>\n
- Click your user avatar in the top-right corner of the screen and select\u00a0Creator Studio.
\n<\/strong><\/li>\n
- From the left-hand panel select\u00a0Live streaming > Stream now<\/strong><\/li>\n
- Enter basic information for your stream.<\/li>\n
- Under the encoder set-up section at the bottom, click\u00a0Reveal\u00a0<\/strong>to display your encoder key and copy it. This will be used to authenticate your stream with YouTube.<\/li>\n<\/ul>\n
Back to OBS<\/h3>\n
\n
- \n
\n
- Enter\u00a0Settings\u00a0<\/strong>and select\u00a0Stream\u00a0<\/strong>from the left-hand panel.
\n<\/li>\n
- Apply these settings:Stream type:\u00a0<\/strong>Streaming Services
\nService:\u00a0<\/strong>YouTube \/ YouTube Gaming
\nServer:\u00a0<\/strong>Primary YouTube ingest server
\nStream Key:<\/strong>\u00a0paste the key you were given on YouTube<\/em><\/li>\n<\/ul>\n<\/li>\n<\/ul>\nOBS Output Stream settings<\/h3>\n
You may wish to experiment with different settings for your stream (the bitrate in particular), I found these work for a decent resolution and audio quality, without encountering buffering issues.<\/p>\n
<\/p>\n
Encoder:\u00a0<\/strong>x264
\nRescale output:\u00a0<\/strong>1024 x 640
\nRate control:\u00a0\u00a0<\/strong>CBR
\nBitrate:\u00a0<\/strong>500
\nKeyframe interval:\u00a0<\/strong>0
\nCPU usage preset:\u00a0<\/strong>very fast
\nProfile:\u00a0<\/strong>none
\nTune:\u00a0<\/strong>none<\/p>\nStart streaming<\/h3>\n
You’re good to go.<\/p>\n
\n
- Click\u00a0Start Streaming<\/strong> in OBS. In a few seconds the steam will be live on YouTube.<\/li>\n
- When you’ve finished click\u00a0Stop Streaming<\/strong> and YouTube will create a recording in your channel. You can choose whether to share, edit, delete, and so on.<\/li>\n<\/ul>\n
And finally, here’s one I made earlier.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"
Here’s a guide for live streaming your TidalCycles session to YouTube. This is the set-up I use so it’s specific to Mac with SuperDirt and Atom. There a load of ways to achieve this so it would be great to see the guide expand. Requirements TidalCycles (obviously) SuperCollider SuperDirt Atom (or your preferred text editor) … Continue reading “Live streaming on YouTube”<\/span><\/a><\/p>\n","protected":false},"author":22,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[10],"tags":[8,9,7],"_links":{"self":[{"href":"https:\/\/blog.tidalcycles.org\/wp-json\/wp\/v2\/posts\/115"}],"collection":[{"href":"https:\/\/blog.tidalcycles.org\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.tidalcycles.org\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.tidalcycles.org\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.tidalcycles.org\/wp-json\/wp\/v2\/comments?post=115"}],"version-history":[{"count":17,"href":"https:\/\/blog.tidalcycles.org\/wp-json\/wp\/v2\/posts\/115\/revisions"}],"predecessor-version":[{"id":139,"href":"https:\/\/blog.tidalcycles.org\/wp-json\/wp\/v2\/posts\/115\/revisions\/139"}],"wp:attachment":[{"href":"https:\/\/blog.tidalcycles.org\/wp-json\/wp\/v2\/media?parent=115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.tidalcycles.org\/wp-json\/wp\/v2\/categories?post=115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.tidalcycles.org\/wp-json\/wp\/v2\/tags?post=115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}