{"assets":[{"original":"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/gaming-twitch-tv-logo1-550x193.png","local":"\/data\/posts\/2014\/04\/b2d8f581d2983dbd488477fffaca61de.png"}],"author_link":"author\/udo\/","author_name":"udo","cat":"LD #29","categories":["LD #29"],"comments":[],"epoch":1397973000,"event":"LD29","likes":5,"metadata":{"p_key":"81793","p_author":"udo","p_authorkey":"0","p_urlkey":"290910","p_title":"Udo\u2019s LD Twitch Guide for Mac","p_cat":"LD #29","p_event":"LD29","p_time":"1397973000","p_likes":"5","p_comments":"0","p_status":"WAYBACK","us_key":null,"us_name":null,"us_username":null,"event_start":"1398384000","event_key":"22","event_name":"LD29"},"source_url":"2014\/04\/20\/udos-ld-twitch-guide-for-mac\/","text":"<p>I don\u2019t know how many Darers are Mac users, it\u2019s sure not common to see them doing Twitch feeds. Part of the problem might be that it takes a lot of effort and fiddling to set it up properly. So for the benefit of everyone who\u2019s interested in doing it, here\u2019s what I\u2019ve learned.<\/p>\n<p><img alt=\"gaming-twitch-tv-logo\" class=\"alignnone size-large wp-image-336313\" height=\"193\" sizes=\"(max-width: 550px) 100vw, 550px\" src=\"\/data\/posts\/2014\/04\/b2d8f581d2983dbd488477fffaca61de.png\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/gaming-twitch-tv-logo1-300x105.png 300w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/gaming-twitch-tv-logo1-550x193.png 550w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/gaming-twitch-tv-logo1.png 560w\" width=\"550\"\/><\/p>\n<p>You\u2019re going to need a few pieces of software, but the good news they\u2019re all free or low-cost. Click on this post to see the instructions:<\/p>\n<p><span id=\"more-336291\"><\/span><\/p>\n<p><b>Screen Capture: CamTwist (free)<\/b><\/p>\n<p>You can get it at <a href=\"http:\/\/camtwiststudio.com\/\" target=\"_blank\">camtwiststudio.com<\/a>. It does a pretty decent job of capturing video content off the screen in real time, and it also can do some basic compositing. It\u2019s not the most stable software, however, so I recommend running it at a low frame rate. Open CamTwist and double-click on Desktop, full screen, and if necessary select the screen you want to capture.<\/p>\n<p><img alt=\"camtwist\" class=\"alignnone size-large wp-image-336293\" height=\"343\" sizes=\"(max-width: 550px) 100vw, 550px\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/camtwist-550x343.jpg\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/camtwist-300x187.jpg 300w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/camtwist-550x343.jpg 550w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/camtwist.jpg 784w\" width=\"550\"\/><\/p>\n<p><strong>Audio Bus \/ Routing: Soundflower (free)<\/strong><\/p>\n<p>Download Soundflower from <a href=\"http:\/\/code.google.com\/p\/soundflower\/\" target=\"_blank\">http:\/\/code.google.com\/p\/soundflower\/ <\/a>and install it. It comes with SoundflowerBed, a simple config application. Start it and route the 2ch bus to the speaker.<\/p>\n<p><img alt=\"soundflowerbed\" class=\"alignnone size-full wp-image-336294\" height=\"301\" sizes=\"(max-width: 294px) 100vw, 294px\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/soundflowerbed.png\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/soundflowerbed-293x300.png 293w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/soundflowerbed.png 294w\" width=\"294\"\/><\/p>\n<p>Open System Preferences and select the 2CH bus as your default audio output. This causes all apps to send their audio to Soundflower 2CH. Since you already routed 2CH to your speakers earlier, this should enable you to hear application sounds normally \u2013 they\u2019re just routed through the Soundflower bus now. If you can\u2019t hear anything, fiddle with the volume \u2013 including the input volume of the 2CH bus (which you can also find on the same settings window).<\/p>\n<p><img alt=\"audio-settings\" class=\"alignnone size-large wp-image-336295\" height=\"408\" sizes=\"(max-width: 550px) 100vw, 550px\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/audio-settings-550x408.jpg\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/audio-settings-300x222.jpg 300w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/audio-settings-550x408.jpg 550w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/audio-settings.jpg 696w\" width=\"550\"\/><\/p>\n<p>That\u2019s the most basic audio setup imaginable, we\u2019ll get to the good stuff later. All this enables you to do right now is stream your screen and all your audio output. We just need an app to take this data and send it to Twitch:<\/p>\n<p><strong>Streaming: Flash Media Live Encoder (free)<\/strong><\/p>\n<p>You can download the Media Live Encoder from Adobe. It\u2019s a hassle though, so you might want to make sure to save your install image somewhere safe for later in case you need it again. Then open your Twitch account in a browser and download the streaming profile which they conveniently provide as a download. It\u2019s an XML file, store it somewhere convenient. Start the Live Encoder, go to the File menu and load this XML file. It sets up the basics for streaming including your private streaming key, but you can still fiddle with the settings.<\/p>\n<p>Select CamTwist as the video device, and Soundflower 2CH as the audio device.<\/p>\n<p><img alt=\"live-enc\" class=\"alignnone size-large wp-image-336296\" height=\"431\" sizes=\"(max-width: 550px) 100vw, 550px\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/live-enc-550x431.jpg\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/live-enc-300x235.jpg 300w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/live-enc-550x431.jpg 550w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/live-enc.jpg 1323w\" width=\"550\"\/><\/p>\n<p>If everything is set up correctly, you\u2019re going to see a preview of your video stream showing your desktop, and the audio bars to the left of the preview should fluctuate when you play some music. Hit the \u201cStart\u201d button and see if you can stream to Twitch alright.<\/p>\n<p>Congrats, you have completed a basic setup! But there\u2019s more. You might want to also talk on your videos, and you might want to mix output levels of different apps a little. Sadly and incomprehensibly, OS X has no way of doing this on its own, so we need to download more software:<\/p>\n<p><strong>Microphone Routing: LineIn (free)<\/strong><\/p>\n<p>Download LineIn from <a href=\"https:\/\/www.rogueamoeba.com\/freebies\/\" target=\"_blank\">https:\/\/www.rogueamoeba.com\/freebies\/<\/a> and install it. It allows you to route input from your microphone into the Soundflower bus. However, LineIn has a stunning limitation: it can only do one route at a time. This is bad because you don\u2019t want to route your microphone input to your speakers (it\u2019ll cause a nasty feedback screech), you only want to route it to the actual live stream. Luckily, you can trick LineIn to do this by duplicating the app. That\u2019s it, just use \u201cDuplicate\u201d from the context menu and you\u2019ll have 2 LineIn programs. Launch them both.<\/p>\n<p>With the first instance, route your microphone to Soundflower 16CH. With the second, route Soundflower 2CH to 16CH:<\/p>\n<p><img alt=\"dualflower\" class=\"alignnone size-full wp-image-336298\" height=\"329\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/dualflower.jpg\" width=\"475\"\/><\/p>\n<p>Activate Pass Thru on both, you should now see the indicator bars lighting up when you make a sound in the room.<\/p>\n<p>Go back to Adobe Media Live Encoder and choose 16CH as your audio device.<\/p>\n<p>With this maneuver we have tricked both Soundflower and LineIn into doing something their developers didn\u2019t have in mind, but it works beautifully: the 16CH bus is now strictly for our streaming, but the 2CH bus contains all non-microphone audio which we can directly listen to. To stop streaming the mic, just deactivate \u201cPass Thru\u201d on the first LineIn instance until you need it again.<\/p>\n<p><strong>Mixing: SoundBunny ($10)<\/strong><\/p>\n<p>Per-application audio levels is again something OS X can\u2019t do on its own, we\u2019re going to need yet another app for that. Go download SoundBunny for Mac, it\u2019s $9.99.<\/p>\n<p><img alt=\"soundbunny\" class=\"alignnone size-large wp-image-336299\" height=\"504\" sizes=\"(max-width: 550px) 100vw, 550px\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/soundbunny-550x504.jpg\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/soundbunny-300x275.jpg 300w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/soundbunny-550x504.jpg 550w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/soundbunny.jpg 761w\" width=\"550\"\/><\/p>\n<p>Now you get these nifty sliders that allow you to actually control sound levels individually.<\/p>\n<p>And that concludes my Mac streaming guide. As you can see due to stunning limitations of the OS X audio system we need a lot of extra cruft to accomplish some basic mixing and routing, but these apps I showed here do an excellent job of it. The only downside is you need to have them all running, and it takes a few minutes from cold start until you\u2019re all set up and ready to stream. Remember to save your settings, especially the Media Live Encoder ones, for the next time.<\/p>\n<p><strong>Webcam Window: CamTwist or VLC<\/strong><\/p>\n<p>One little extra thing I like to do is show a little webcam feed in the corner as well. You can do this with CamTwist, but it crashes my system when I try it. If that\u2019s also a problem for you, use VLC. Click on \u201cOpen Capture Device\u201d in the menu and you\u2019ll be able to select your Mac\u2019s camera as an input device. Use VLC\u2019s settings to make the video window always-on-top and remove the window\u2019s title bar. It should now be an unobtrusive little frame that you can place anywhere you want on your streaming desktop.<\/p>\n<p><img alt=\"vlc-vid\" class=\"alignnone size-large wp-image-336301\" height=\"394\" sizes=\"(max-width: 550px) 100vw, 550px\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/vlc-vid-550x394.png\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/vlc-vid-300x215.png 300w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/vlc-vid-550x394.png 550w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/vlc-vid.png 602w\" width=\"550\"\/><\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>","time":"April 20th, 2014 5:50 am","title":"Udo\u2019s LD Twitch Guide for Mac","title_was_empty":false}