Mac, OBS and Streaming Audio Right

OBS has for some time been working on it’s new version of OBS which is called OBS studio, and is cross platform. Finally we are free from having to faff about with WireCast, we can now just plug and play and Stream away. BUT WAIT it’s not just that simple!

If you ever tried Minecraft’s in game streaming it will at least (force) prompt you to download additional required software to get you going.

This software (whilst not needed, (well it’s not but you are a idiot if you don’t setup your audio properly)) will get your Audio going properly on OBS streaming when you are not using additional Hardware.

This piece of software is called Soundflower, and is an example of Virtual Audio Cabling, which basically creates a software based Sound Card inside your computer in order to route audio more usefully!

Installing

So first things first, grab yourself a copy of OBS Studio, you can find the latest version on GitHub here. Download and install!

Next we’ll grab a copy of SoundFlower which is on their site here or GitHub here.

SoundFlower will need you to restart your Computer.

Getting Setup

Lets fire up OBS Studio:

OBS 0.9.1

I’ve got a few extra scenes setup, but this is the layout you’ll be presented with!

We are going to add a source, (first make a scene of course) in this case a “Audio Output Capture”

Audio Selection

And then, to keep things simple, just select the SoundFlower 2 Channel. We don’t need to do anything wacky.

Input Select

Finally we need to change the Sound Settings under System Preferences. So open System Preferences and Sound. And select Soundflower (2ch) as the Output device.

System Prefs Sound

Now suddenly everything will go quiet as all your audio is being sent to OBS/Soundflower: (it’s good to check that OBS is actually detecting at this point)

Audio Monitoring

We need to route the Audio from your computer via Soundflower back to Speakers/headphones. For this open SoundflowerBed:

SoundFlowerBed

It’s under Applications/Soundflower, this fires up a Menu Item in the Top Dock

Top Menu

Just click that, and send the Soundflower (2ch) back to “Built in Output/headphones” And now both you and OBS can hear everything.

Soundflower Routing

Your computer’s audio is now sent to this device and captured by OBS.

(You can tell as my mic here is picking up my speakers):

Preview

And there we go 🙂

BONUS

(Billy May’s Voice) BUT WAIT THERES MORE!

Xbox 360 Controller on Mac under Yosemite?

Unofficial Release 0.14 works fine and it’s on GitHub here

BONUS BONUS

Now what do you do if you get Beachball of Death when trying to use the SoundflowerBed Icon from the menu?

First open Terminal (sorry).
Then type:

ps aux | grep Soundflowerbed.app

Then you’ll see something like this:

SoundflowerBed Hunt

Then type:

kill 9331

Where 9331 is replaced with the number here:

SoundflowerBed Kill

It is VERY important you kill the right thing. As otherwise you might break something and have to restart the whole computer.

Once you have kill’ed SoundflowerBed, just reopen and all should be good.

Further Reading: Some Tips from Tuts+

Applications I Use 2: gfxCardStatus

Heres a little handy app that works quite well. Specific to Macs with Dual Graphics cards, normally the only way to change cards is to log out and log in again, after changing the preference under Power Settings. You have one for Power Saving and one for High Performance graphics.

Cody Krieger (@codykrieger) wrote a handy little App that will let you change Graphic Cards without having to logout, quite handy if you want to just muck about for a bit and then open up Team Fortress 2, or do some Video work.

So I present today gfxCardStatus.

As the Author writes:

gfxCardStatus is a menu bar application for OS X that allows users of dual-GPU 15” and 17” MacBook Pros to view which GPU is in use at a glance, and switch between them on-demand.

Most of the time it spends all its time just in my Task Bar sleeping showing which card I have enabled (i for the power saving low powered card, and d for the high-powered card).

It works quite well, sometimes you request a change and your machine won’t honour it straight away, normally this is down to another application doing something graphics heavy, so locking the control out.

One useful feature built-in is the ability to auto switch the graphics card in use based on the current power source.
Which I don’t personally use, but then I tend to hot swap between on/off PSU far too often.

I’ve a couple of options missing and some different settings available, but it depends on what model of Mac you have and the Graphics Card present in your machine.

All in all its quite a handy little app, and its Free. You can download it from http://codykrieger.com/gfxCardStatus and start using it straight away.

Applications I Use 1: Caffeine

Because I don’t often have a lot to write about, thought I would start a new string of posts on Applications I use on a regular or semi-regular basis.

Today I’m starting with a little App that sits in my Mac Menu Bar. And Looks like a coffee cup.

Its called Caffeine and has a single function.
When enabled it stops the screensaver from running and the Mac itself from going to Sleep.


In addition to just enable/disable, it can be enabled for a 5/10/15/30 mins or 1/2/5 hours.

Quite a handy app if you are running something like a flash video that doesn’t quite trigger the no screensaver rule, or if you need to stop the screensaver running, and munching system resources, like video rendering. Or of course Power Point/Keynote Presentations.

There is nothing else to say about it really. It’s a handy little App with no little task and just sits there waiting to be enabled.

The odd person has had the odd issue with it, probably down to running other Power setting adjuster programs but it’s generally well reviewed in the App Store.

Its available in the Mac App Store and its Free.

Summer

So that middle part of Summer has been a bit sucky. So we shall skip all that, don’t really want to go into it….

Now things are better!

I lost my mac for a week and a half, hard drive failed, followed by back for two hours, followed by hard drive fail.
In the end Clockwork (Leeds Apple Care), replaced the drive and the drive’s cable, and shes all good now!

I’m off to Moor Fest next week, I’m doing the lighting for the Green Room, with Chamsys and whatever fixtures I get given, learnt some useful things from their Chamsys Guide for that matter, (and I fixed up the tab box on the home page for them!) Nice bit of jQuery!

Made a shoutbox for Halo3Wheelmen its hosted on 360gaming.net so had to do a lot of fudging and built a mini phpBB api to get user/ban data out of the forum, its all built in jQuery and PHP, jQuery makes ajax stuff, and append/prepend so much easier than pure javascript.


Job wise I am still waiting to hear back from Firebox.com, but it looks like I shall be staying in Leeds for another year at least, being a Venue Tech, which should, with the new boss, hopefully lead to more external work, but I shall still be working as a freelance web developer. Tho there have been some interesting local jobs come up on the GeekUp jobs Board. (I need to start going to GeekUp again….)

In that vein I currently have a bit of work on building a Asset/Event Manager for LUU Events, details on that to follow, but as a project it keeps me out of trouble, since Google fell thru.

Hopefully I should be getting back into modding phpBB which is even easier now since they now use GitHub to host their repository, so I’m gonna have to get to grips with forks, and loading parent data into the child repo…. (If that makes sense).

So essentially things are busy, not perfect but good. Could be better could be worse…

Hopefully at some point I will get around to doing a Carlyon CMS release candidate, tho I am thinking I need to rip out my CSS boilerplate and thus the relevant core html template files, we shall see.

In other news, I now have completely new graphics for 360gaming [dot] net, I was approached and offered the services of O Sheep Dip, and now I have graphics! Woot!
360gaming.net now has a HogBall league tracker on top of the 1v1 challenger system, tho no one has tested it yet, and I only have the one team, people don’t seem interested…

Tho there is a BTBhub on the way, it was suggested to me that building a BTB league is the way to go, and now I have the core Bungie Code checker, and with the advent of Reach, its data API (POTATO!) and of course, its massive ForgeWorld, the future is bright for Halo and 360gaming.net, now all I need is to find more games with similar developer offerings, and getting myself access to the true Xbox API……

So that summarizes the later part of summer… O and Katie is now home.

Also checkout my tumbleblog

Catch you after Moor Fest, (which will be my first ever festival, I’ve never been to one, and now the first one I am going to is also going to be my first external lighting job….)

Off to watch Sherlock on BBC1

And Happy Birthday to Kayleigh (The GirlFriend) 🙂

The End of an Era

So, as of this moment of writing I am sat playing the Halo Reach Beta, got the LSRfm.com Office Remote Control Camera on the go (it has night vision tooooo) and Portal for Mac downloading on Steam for Mac….

Oh and I am a total of 3000 words away from the end of my degree, have today presented my project of 360gaming [dot] net post the basic video phase….

So the end is nigh for my university career…

What next?

Freelance Web Development,
Proper Job Web Development,
Freelance Events Teching,
Lighting and AV

Who knows the future is bright, but defo not Orange…. 😛