Podium Cafe: An SB Nation Community

Navigation: Jump to content areas:


Pro Quality. Fan Perspective.
Around SBN: Can Tebow Say No To Anything?

How To: Live Audio Race Commentary

VideoLAN (aka VLC) is the open source (free) swiss army knife of media streaming and transcoding. It runs on Windows, Mac, and Linux. It's indespensible for a media starved cycling fan. If you can watch it or listen to it, VideoLAN can encode it to a file, decode it from a file or serve it up on a network in dozens of formats.

You can use VLC to encode live audio from a microphone that's plugged into your PC or laptop into an mp3 stream. If you aren't satisfied with the commentary for the ToC, you can provide your own to the world!

The "how to" follows below:

Star-divide

Network Setup
You need some network know-how to make your world-wide debut. A detailed networking tutorial is beyond the scope of this write-up, so here are some basic hints.

There are a handful of common network configurations for cable and DSL providers. If you have a public IP address, you're good to go. You'll just need to configure your firewall to allow access to the port we'll use (more on that later). Alternatively, your modem might use NAT (Network Address Translation), so your PC has a private IP address (private addresses will start with "10" or "172" or "192"). In that case, you'll need to configure DNAT (destination NAT) so your PC can be reached from the Internet. Or, your ISP might use a private address scheme that prevents the outside world from connecting to your PC (Boo!).

Hardware Setup
You need a microphone and a relatively modern PC or laptop. If you don't have a mic, you can use a pair of headphones, though the sound quality won't be as good.

VLC Setup
Download and install VideoLAN (VLC). It has a spartan, functional graphical interface.

First, before you broadcast to the world, you'll want to do a loopback test.

Start VLC, and from the "File" menu select "Open Capture Device". A dialog box will pop up that allows you to choose audio and video sources. For the video source, select "None", and for the audio source select the name of your audio adapter. Next check the "Stream/Save" box and click the "Settings..." button.

Another dialog box will open with a mind boggling set of choices.

For the "Outputs" you want to serve your stream via the "mmsh" protocol. Check the mmsh box. In the "address" box next to "mmsh", enter 127.0.0.1. For the encapsulation method, select the ASF format. For the transcoding options, check the "Audio codec" box, and select "mp3". A bitrate of "128" kbits is great quality, but will probably consume all your available bandwidth with three or four simultaneous connections. A "32" kbps rate sounds like a bad cell phone call, but is intelligible, and you will probably be able to support an audience of 10 people! You'll be famous.

Finally, click OK, and you're ready to listen to yourself.

Open your favorite media player, for Windows Media, select the "open URL" option, and enter the following address:

mms://127.0.0.1:1234/

Note the "port" is specified after the colon. The VLC player typically uses port 1234. When you configure your firewall, specify TCP port 1234.

You should be able to hear yourself, or massive feedback. In either case, you're ready to broadcast world-wide.

Stop VLC, and run through the setup again, but replace "127.0.0.1" with "0.0.0.0" and let the world hear your cycling commentary!

Conclusion
This diary entry is just one example of the many things you can do with VLC. Numerous good how-tos on other topics are out there on the web. Have fun!

0 recs  |  Comment 1 comment

Story-email Email Printer Print

Comments

Display:

This sounds cool.
    I would think about trying it but I have trouble transferring pictures to a web site.  I'd be game to try "tuning in" if some else wanted to call a race.  
Time flies like an arrow. Fruit flies like a banana. - G. Marx

by flying dog on Feb 15, 2008 6:55 PM EST reply actions   0 recs

Comments For This Post Are Closed


User Tools

Every sprint, every cobble, every mountain pass from the world of Pro Cycling
Start posting on Podium Cafe »

Join SB Nation and dive into communities focused on all your favorite teams.

FanPosts

Community blog posts and discussion.

Recent FanPosts

Marmotte9076_small
Tattoos (and other bodily adornments) of the peloton
Ocana_small
Coors Classic - Gone and forgotten?!
Bike_flag_small
Tour preparation isn't so simple
2261_small
RCS announced teams for T-A and Milan-SanRemo
Pdcavatar_small
Ted King interview!
Pdc_5a_small
Trivia Monday Quiz #15
Small
O/T: super bowl
Rollers_small
techs/mechs help
Garin03winner_small
Vino the Quote Machine
White_unicorn_160_x_160_small
Need help picking your VDS team? The unicorns are back!

+ New FanPost All FanPosts >

Our Sponsors!

FanShots

Quick hits of video, photos, quotes, chats, links and lists that you find around the web.

Recent FanShots

Skeleton Racer Hopes For Redemption In Vancouver
Trofeo Inca: THE COWS WIN! LEEENOS!
Tour de France Podium Girls
Zdenek Stybar aged 7
Sixday Loonies-Good portrait
"After all that Wigan and Manchester United stuff, we've just won the...
Cyclocross Zonhoven - Live
Tour of Murcia bans Italian teams
VN: LeMond free to irritate Armstrong
Hesjedal interview at Velonews

+ New FanShot All FanShots >


Managers

Hope_small Chris...

Espresso_cup_small gavia