Interested in SEO Blogs? |
Home | News | Papers | Dev | Reviews | Random | About the Editor | Contact

VideoLan Tutorial

Posted by Miles Evans

videolan.gifGoing along with yesterdays post on how to record skype conversations I decided today I would focus on video streaming. As far as marketing goes I guess this article may one day bring me some hate for teaching some dumbass to build online infomercials, but I assure you my motives are far less industrious.

If you live outside North America, like me, you might think watching your favorite TV provider back home was impossible. In fact for years I figured I was just stuck with crap TV and limewire downloads. Trailerpark Boys, Battlestar Gallactica, and Family Guy had become pleasures I relied on friends to send me in the mail, years after they aired. Until now...

I have been fiddling with this all day and I will say VLC (www.videolan.org) is one of the coolest open source programs I have come across in some time. Platform support is universal from Win32, *Nix to even long dead BeOS. These are also the people behind Google Video if that is any indication. VLC allows you to stream video online, multicast, save incoming streams, and do all sorts of cool things only people with lots of money should be able to do – like open your own TV station. The quality is really amazing and of course endlessly tweakable. Oh and ya did I mention it is completely free? Ok I did, onwards...

I tested VLC by getting a friend to stream DISH Network to me from the US and it was VERY watchable. Keep in mind this was streaming from Seattle, WA to Bangkok, TH. 18 hops.

The VLC client window

Streaming using a Video Capture Card

What you will need:

  • Operating System
  • 1 Video Capture Card
  • Drivers for Video Capture card (go to driversguide.com to find software drivers for video capture cards)
  • DirectX 9.0c
  • VLC (please get the nightly CVS version, a lot of good folks work really hard on this software, and PLEASE donate to them if you can)
  • A network connection
  • Windows Media Player
  • A WHOLE LOT of patience

Step 1

  • Install Capture Card (I use all ATI Wonder Cards and have no problem)
  • Install or Update your DirectX (windowsupdate.com)
  • Install VLC


Step 2 FOR NAT(using DHCP for home networks)/DSL/CABLE Routers

  • Go to your router and click on Port Forwarding
  • Enter your VLC server's IP address and the desired port for forwarding.
  • Your router should accept the setting and tell you everything is ok

Step 3

  • Fire up VLC
  • Go to File > Open Captue Device > Video Device Name > Refresh.. (wait a moment) click on the default bar and then click on your capture device driver (the one that came with your card)
  • Now click Stream/Save > Settings
  • Click on Play Locally and MMSH. Insert YOUR LOCAL IP ADDRESS and DESIRED port (for folks using NAT thats 192.X.X.X that you forwarded on your router earlier)
  • Click on Video Codec and select your Video Codec format (I use WMV since I am using WMP), then select a good bit rate like 192 or 128, then select the size of the picture in your player (1 - 2)
  • Repeat the instructions above for audio
  • One VERY IMPORTANT quality setting is TTL - Type 10 at a minimum. This tells VLC the number of routers your stream will probably go across.
  • Click Ok and Click Ok again to start your stream

Step 4

  • Open WMP and click on File > Open URL
  • Type http://:9494

Your video will take a bit to buffer but then you should see your pictures.

I would love to hear results from anyone else working with VLC. My next step is to setup a remote control with an external IRD box, so I can change channels - yes people ARE doing this!

If you are not so technically inclined you can check out slingbox.com, but you have officially lost all bragging or coolness points by doing so.

Posted Feb 20, 2006 at 11:07 PM | | Trackback URL | Del.icio.us | DIGG!

Comments

That's cool. However there's another way to do this, and it's a lot easier: use orb.com. It's free, you can change channels on the remote TV tuner card, you don't have to fool around with port forwarding (etc.) on your router, you have access to all the other media files on the remote PC (like MP3 files), you can set the remote TV tuner card to record shows, etc...

By coincidence, I just came back from a month's vacation in Thailand and I used it many times to watch my favorite shows from home (in the US). It's quite fun--and somewhat surreal--to be sitting in a net cafe in Bangkok (8,000+ miles away), watching "60 Minutes" or your hometowns local news, streaming full-screen directly from your PC back home. :)

Very cool indeed!

Another free tool I used on my trip to Thailand was logmein.com. It let me use my desktop at home remotely, just like I was sitting in front of my keyboard and monitor. I even had it installed on a client's PC at his house in Sacramento and was able to help him with a problem he had on his computer. He sat and watched me type and move the mouse around his screen, like I was sitting right there with him!

Also, Skype for phone calls (I used both SkypeIn and SkypeOut). SkypeIn meant people could use their regular phone to reach me at a local phone number for them, just like I was back home. And using SkypeOut on my end, I could call them for dirt cheap with good sound quality using my laptop or just about any broadband net cafe.

So with the combination of Orb, Logmein and Skype, I almost felt like I had never left: I could use my PC just like I was sitting back home, I could watch all my favorite TV shows just like I was back home, and I could stay in contact with people back home almost like I was still there. All for free or very cheap! Amazing stuff...

Sounds like we are thinking along the same lines with the online remote thing. I was going to try an figure out a way to do a Flash+PHP+anything else needed to get it to work online, with the server IP and client IP. Will let you know if anything happens.

Sure, this is an old article, but I just found it.

I wanted to say, I use VLC at home all the time. I have a laptop with great specs and an amazing widescreen display, but this laptop does not have a digital output for audio, so if I wire it into my system, I'll only be getting stereo. So, I use VLC to stream from the laptop to a tower next to the surround system. Now I can watch all my movies with great picture and great sound. Now if only I could figure out how to get rid of the several millisecond delay...

I even had it installed on a client's PC at his house in Sacramento and was able to help him with a problem he had on his computer.

Post a comment

* Required

* Required but not displayed

Home | News | Papers | Dev | Reviews | Random | About the Editor | Contact
Free Backlinks
Copyright © 2004-2007 ProfitPapers.com. All rights reserved. All other logo's and trademarks herein are © their respective owners.
You may not use any of this content without written permission from ProfitPapers.com.
For contact inquiries please see the contact us page.