Showing posts with label broadcasting. Show all posts
Showing posts with label broadcasting. Show all posts

15.12.08

setting up your sound


Far Cry 2, Ubisoft Montreal (09/02/2008)

My usual procedure for acquiring a 'Safe House.' With auto-aim turned off, it provided a good opportunity for me to show some sniping skills.
Hi! Jolie here with another guide of sorts dealing with common broadcasting questions; this time, I'll talk a little bit about how to set up your audio for live broadcasting at Justin(TV). By the time you finish reading this, you're well on your way to adding a whole new level of interaction that should come with live video casting. I've also included a software alternative to those who don't want to deal with physical Mixers.

Capture Card Sound

So you've hooked up all the analog cables to your capture card; the red and white R.C.A. cables are in the right place, but you're wondering why there's no sound. The problem is that you have your capture card registering as a peripheral audio device on Windows (assuming that you have Vista -- but on Windows XP, your device may register as a recording device). A peripheral audio device is another way of saying that it requires proprietary software to manage or access the sound; the software bundled with your capture device. This doesn't necessarily make it cast friendly.

So how would you remedy this? As I've mentioned in my previous entry on my setup, you will need to plug the sound directly into the sound port of your sound card in the back of your computer -- or if you have a laptop, in the Microphone | Line-in Jack. This means getting a Female RCA to 3.5Mm Male dongle. In other words, instead of putting the Red & White stereo outputs into the capture card, you plug them into the dongle and the dongle is connected straight into the P.C. I recommend the dongle instead of the adapter since you may need the extra cord length.

note: your capture card's sound input may be supported by some casting programs and you may only need to un-mute your sound device. To do a simple check, click the 'Broadcast,' button on Justin(TV) in the upper right corner, go into 'Settings,' and then see if the name of your Capture Card is under the 'Microphone | Audio' pull down tab. If it's there, then you only need to un-mute your device. Due to the variations of operating systems and hardware setups, I've provided some generic adjustments for Windows XP & Vista.

Windows XP

To do this in Windows XP, right click the sound icon, choose 'Adjust Audio Properties.' Under 'Device Volume,' click on 'Advanced.' Find your capture card audio device and make sure to un-tick 'Mute.'

Vista

Right click the sound icon, go to 'Playback Devices,' and double-click on the device that has a green check mark on it. Go to the 'Levels' tab, find your capture device's name and make sure that the speaker icon doesn't have a red cancellation sign.

In case your device isn't found there, you'll need to go to the 'Recording Devices,' tab and look for your specific card. And again, look to see if your device is muted.

Enabling StereoMix

StereoMix is a software based analog mixer that allows you to combine your multiple recording devices or sound inputs into a combined sound. You could listen to your 'Ipod,' and do a voiceover with your Microphone or you could play a game and provide a commentary. It was a popular feature that came with the Windows XP operating system that enabled professionals and enthusiasts alike to record their own content without having to purchase extra recording hardware. However, it is at most times disabled or hidden in Vista.

Note that you don't need to enable Stereo Mix if you're planning to only broadcast game sound. Just select your default recording device as 'Line-in' by right clicking the sound icon and choosing 'Recording Devices,' then right-clicking 'Line-in,' and 'Set as Default Device.' However, I find Stereo Mix an easier way to change various sound levels on the go without turning off the cast.

Enabling Stereo Mix in Vista

If you're fortunate enough to have a soundcard or onboard audio device that came with your computer which utilizes StereoMix, you only need to enable it. Simply right click the sound icon, go into 'Recording Devices.' Right-click within the white space and choose 'Show All Disabled Devices.' Either 'StereoMix' will appear muted, or it won't -- or if you're lucky, your capture device's name will show up. If it does show, you only need to un-mute it.

If It Doesn't

Prepare for some craziness. In the likely event that your computer doesn't recover, I've decided to leave out modifying your registry files. Registry files are an index or way of telling your computer how the software will manage its hardware; anything from where the hardware is located, to the software settings. It's dangerous to alter, so I've provided an alternate solution.

Installing XP Drivers for your Sound Device

At the manufacturer's website, you'll usually find several versions of the drivers that came with your particular computer in a driver support disc. Refer to the documentation that came with your computer to find out the exact model of your P.C. What you want to look for is the XP Audio Drivers. Why Windows XP? As I mentioned earlier, this particular operating system has wide support for 'StereoMix.'

In case your driver doesn't install because of a prompt saying that the software you're installing is incompatible with this version of windows, don't worry. You only need to right-click the driver, select 'Properties,' go to 'Compatibility,' and then check 'Run this program in compatiblity mode for:' and the first option should be 'Windows XP (Service Pack 2).' You may want to check off under 'Privelege level,' as 'Run this program as an administrator.' After you're done installing your drivers, check for 'StereoMix,' under 'Recording Devices.'

Setting Your Sound Levels

And that's pretty much it, with 'StereoMix,' you'll not only be able to broadcast your gaming sound (Line-in), but also your voice (Mic-In), or whatever is playing on your computer (PC Speakers). All you need to do now is to set your sound at a comfortable level. Not too loud that you'd deafen your incoming viewers, yet not too low that it takes super hearing to discern sounds.

Headphones

I recommend using headphones instead of playing through the speakers, because you may want to speak to your viewers. Some casters use the microphone to pick up the game sound, which at most times drown out the voice and/or the game sound. You should use direct sound inputs to ensure clear signals. There are headsets available that allow you to hear the input sounds from your computer, while at the same time have a microphone boom to speak in. At the moment, you can only broadcast in analog stereo or mono (single channel), so having a regular stereo headset won't be too bad.

Enable Mic Boost

If you're soft spoken or just want to speak at a comfortable level without putting too much strain on the voice, you should enable 'Mic Boost' and adjust the slide accordingly. To enable that feature, head into 'Recording Devices,' by right clicking the sound icon. The adjustments vary depending on the sound device you have installed. I recommend getting a noise cancellation headset that filters outside sound like your computer fans for instance, so that you can produce a high clarity sound for your voice.

My Settings

After casting for a few months, I've come to realize that I have a pretty developed sense of hearing; and because of that, my cast is usually on the low volume side. To remedy this, I plugged a headset directly into the headset port of my T.V. and adjusted the volume on my end, while the casting computer was a notch or two louder.

  • Stereo Mix: 5%
  • Line In: 60%
  • PC Speakers: 60%
  • Microphone: 75% w/ Mic Boost Enabled

note: If you have buzzing sounds on your broadcast, you might be putting the default input device too high (the primary device that you're broadcasting). What's happening is that you're attempting to amplify the sound beyond its audible range and that is why you're hearing noise.

By the way, I wrote this haphazardly during my break, so you may see grammar and spelling errors or whatever else that can literally go wrong with blogging -- so you probably have more questions for me. If you'd like to, send me an e-mail below and I'll do my best to assist you.

10.12.08

jtv casting setup


Mirror's Edge, E.A. Dice (12/09/2008)

This jump took me forever to do, as I've only been able to do it once off the time trials mode. I know it may not be clear from the video, but I timed the jumps off the air units with slight tic jump from the top of the wall corner. It's the same method used on balance beam skipping, by jumping as soon as you land a hop.
Hey! This entry will discuss the exact setup and settings that I use to cast on Justin(TV). In case you've never heard of Justin, it's a live video sharing service that's available in 9 countries and in 7 different languages. It connects people from all different walks of life, anywhere from the struggling artist to video game developers like yours truly. Did I mention that it's free? Start broadcasting and being part of a large community now by signing up at justin.tv . If you're wondering what the requirements to do live broadcasting are, I'll discuss a moderately simple set up that I use.

My Computer

Often called 'the beast,' it's a rightly deserved name, weighing at 27 lbs. with all of its components. 'The beast,' however is a great gaming P.C. as well as a good broadcasting P.C. Any computer with a dual core that's clocked at atleast 2.0Ghz and contains 3Gb of R.a.M. would do well.

  • A.M.D. Phenom 9550 (2.6GHz running at 3.6Ghz)
  • 8Gb DDR 3 R.a.M.
  • 3 Nvidia GeForce 8800 GTX (in SLi mode)
  • Avermedia M.C.E. A180 (Whitebox) && Hauppauge HVR 950T HDTv Usb Tuner

My T.V.

My television is a Samsung HL-S5087W 50" 1080p DLP HDTV. This T.V. is great for broadcasting because it has a 'Monitor Out' connection in the back that allows you to connect it to an outside source like an amplifier or in our case, a capture card. In other words, it has the Yellow, White, and Red connections that you can connect to the Avermedia.

Subsequently, the problem now is that you cannot convert a High Definition signal to a Standard Definition signal on the fly, forcing you to play in Standard Definition; the only format your capture device would take. In other words, playing in H.D. would render your 'Monitor Out' as an irregular signal since it uses basic composite outputs (RCA Yellow, Red, White).

Most broadcasters tell you that sacrifices have to be made in order to cast, but I think we've grown accustomed to being High Definition nuts and we may just have to get a device that converts H.D. signals. In case you're fine with Standard Definition, you could use the monitor out on your Television and then change the settings to play in regular S.D.

Phase-Shifting Device

No, this has nothing to do with Star Wars. A phase shifting device is like a V.C.R., or if that's before your time -- it's like a TiVO or digital recorder. The one that I use is the Hava Platinum HD. It takes output from your HDTv and then converts your signal into Standard Definition. In essence what you're trying to do is play in HD, but cast in SD. This device allows you to do that by doing the conversion for you. Note that since it's a phase shift device, you're going to see video on your broadcast at a delayed rate, which is normal.

The Set-up

So you have your T.V., and you have your own version of a 'beast' with the capture device, now it's time to set up the cables. Looking at all the wires may have you thinking it's a daunting task, but just take a deep breath and take note of where things would go. Chances are that if you were able to plug in your gaming console, then you'll have no problem plugging in your casting setup. Since the Hava is an optional device to use, and Justin(TV) is optimized for SD broadcasting, I'm going to leave the HD gaming / SD casting setup for another entry.

  1. Hook up your game system to your T.V. (or I'll assume you already have it set up).
  2. Use an Analog Female (for audio) to RCA 3.5Mm Male dongle and connect the Red & White to the corresponding audio output of your T.V. Then connect the 3.5Mm to the line-in of your P.C. (usually light blue or if you don't have blue, then pink)
  3. Use a Yellow Composite Video cable or an S-Video cable and connect that to the corresponding video output of your T.V. Connect the other end to your Avermedia capture card.

That's pretty much it in regards to the setup! Easy wasn't it? As far as the locations of your devices, it would be best if everything was in close proximity to one another. The HDTV that I have is hooked to my P.C. (since I use it as a media center, they stay close together). And my laptop is wireless and is always at my side for easy access to my adoring viewers.

Casting Programs

There are various programs to use that work wonderfully with live casting. There are free programs and ones that have a trial period displaying a logo until you purchase them. I'll discuss the programs that I use, which is more or less streamlined for the kind of setup that I have. My CPU usage never falls above 20%, but the quality is sometimes dependent on the time of day or network usage.

Flash Media Encoder

This is a great program that you can tweak settings to your hearts content for an optimal broadcast. It's free and available at Adobe.com, and you only need to sign an account with them to gain access. As of this date and time of this writing, the current version is 2.5. These are my exact settings.

  • capture device: WebCamMax Capture
  • frame rate: 24.00
  • size: 320 x 240
  • audio device: Stereo Mix (sound integrated) | 44100Khz | Stereo 128Kb/s
  • format: VP6 | Lower Quality - Best Framerate | 256Kb/s

note: the human eye can discern images at 24 f.p.s. at an average. That value changes depending on several factors, such as stress level or heightened alert levels, but for full-motion video and just overall live casting, 24 f.p.s. is optimal.

Stereo Mix may not be enabled for your particular computer. It depends on the Operating System. What it is, is a software solution to those who don't want to get a physical sound mixer. It performs just like a mixer that mixes the analog recorder devices that you have on your computer (Mic, Line-in, PC Speakers) and sends them out through the Stereo Mix channel. I've supplied a google search engine for you so that you may discover how to enable Stereo Mix for your particular computer.

Custom Search

WebCamMax Capture

WebCamMax is a fun little program that has unique features. It's primarily for those who use live webcams and conference chatrooms, but it's an awesome program that allows you to change the frame rate and resolution of your cast as well as add flashy effects such as the timer you often see when I do speed runs. My setup matches F.M.E.

Under Tools > Options > Source you choose the resolution 320x240, and at 24fps. Under the Sources tab, I have Vladimir Hmelyoff's Multi-Cam.

V.H. Multi-Cam

A great program to streamline various sources, such as a Webcam, video or any other capture device. A simple right-click allows you to access never before seen options for your capture device, such as framerate and compression method.

Click 'Add Source' > 'Avermedia A180' and then left-click and drag the window to stretch it out on the available space. If you haven't messed with the resolution, it should be set at 320 x 240. Right-click the screen and choose options. You can now set up your capture device and its appropriate values such as brightness, contrast, and sharpness.

You may want to change the 'Capture Format' and match it with F.M.E. (24fps | 320 x 240). As for 'Color Space Compression,' you may choose RGB 24 if you're uploading at a speed greater than 256Kb/s. I use 'UYUY' since it closely matches the way we see as human beings in regards to chroma values. That format also uses less resources.

Optional Hardware

You may want to get a laptop to chat with viewers or monitor the quality of your broadcast. Most of the current browsers use a lot of resources that you will need for casting. If your computer is not up to date, you may want to use IRC; a stripped down yet functional alternative. It's a text based interface so that you can chat with your viewers.

And that's it! That's all that I do for my late night casting shenanigans. So just find a comfortable seat, pull up your laptop on a coffee table (in my case) and have fun interacting and playing live content for the unexpected audience.