Setting up your own live video feed

March 7, 2007

Setting up your own live video feed Probably one of the neatest, yet often overlooked, features on the web is the live webcam feed. In addition to broadcasting a real time feed from your webcam, you can also broadcast archived media files from your PC. The process is quite simple, and does not even require a website to broadcast them through. In this article, we’ll show you how it’s done.


For this demonstration, we’ll be using Windows XP with a tested and functional webcam; we’ll leave that part up to you. A webcam, however, is not required; you can broadcast media files from your computer as well. You’ll also need some software to encode the media and stream it across the Internet. We recommend using Windows Media Encoder, which is a free application that we’ll be using for this demonstration. Finally, we recommend a broadband connection to ensure your live streams aren’t choppy and hesitant.

How it’s done

Once you have Windows Media Encoder installed, you’re ready to begin. Upon the initial launch of WME, you’ll notice a screen similar to the one shown below.

Initial startup
Initial startup – click to enlarge

You’ll want to select ‘broadcast a live event’ from the wizards tab. After clicking ‘OK’, a new session wizard dialogue box will appear, and prompt you to select the video and audio device you’ll be using for your live feed.

Device options
Device options – click to enlarge

This part is self explanatory; if you have working devices on your machine, they will appear in the drop down menus. Click ‘next’ to continue.

You will then be prompted to select your broadcast method; there are 2 selections: push to a Windows Media server, and pull from the encoder. Select ‘pull from the encoder’ and continue by clicking ‘next.’

Broadcast connection
Broadcast connection – click to enlarge

At this point, you’ll be asked to set up your broadcast connection port. You’ll need to find an open port on your computer by clicking the ‘find free port’ button as shown below. After a free port is selected, the URL for Internet connections and URL for LAN connections will change to reflect the new port number; write these numbers down as you will need them later. Click ‘next’ to continue.

Encoding options
Encoding options – click to enlarge

Now comes the rigorous task of selecting an encoding option; this number should vary depending on the speed of your connection and the speed at which your audience is connected. You want viewers to be able to watch the live video continuously without any interruptions. As a start, we suggest selecting ‘low bandwidth video’ and ‘multiple bit rates audio’ for the video and audio encoding respectively. Once you’ve successfully set up your first feed, you may want to play around with those settings to determine which will best suit your applications. Click ‘next’ when you are finished.

The next 3 stages in the new session wizard are not necessary; however, we’ll run through them quickly.

The archive file section of the wizard allows you to record a copy of your feed onto your computer as a Windows Media Video (WMV) file. If you do not wish to save the broadcast, simply select ‘next’ to continue.

The include video files dialogue will allow you to include video files that contain welcome, intermission, and goodbye content with your live feed. We will not be using any for the demonstration; continue by selecting ‘next.’

Display information allows you to personalize your broadcast by adding a title, author information, and a general description; however, it is not necessary to supply this information. You will be brought to the settings review screen after clicking ‘next.’

Settings review
Settings review – click to enlarge

There is little to be said about the settings review, but you must make sure the ‘begin broadcasting when I click finish’ option is selected. Clicking ‘finish’ will start your live feed.

Viewing your live feed

Upon broadcasting, you should see a screen similar to the one shown below with a preview window of the feed.

Broadcast session – click to enlarge

Viewers can watch your live feed using one of two different methods; although, both do require Windows Media Player to function. Before you begin watching your feed, you’ll need to determine the broadcast address.

Broadcast connection
Broadcast connection – click to enlarge

The address you’ll need is the one that you wrote down in the broadcast connection section of the wizard. If you have a network set up in your home and wish to view the feed from the network, you’ll be using the URL for LAN connections address. If you have no network, or would like viewers to watch your feed  over the Internet, you will use the URL for Internet connections address.

The following applies only to those using a router

If you have a router in your home and would like viewers to watch your feed from over the Internet, you may need to forward the port to the appropriate IP address on your home network. For instance, we’re using port 1616 for the demonstration; so we would have to forward incoming port 1616 with a TCP protocol to Settings will differ from router to router, so we’ll leave that up to you; however, we have attached a screenshot from a Linksys WRT54G router utility to assist you.

Linksys web-based router utility
Linksys web-based router utility – click to enlarge is the IP address for the node on our network that is broadcasting the feed. Your internal IP address may differ, but may be found in the URL for Internet connections address that was given to you in the broadcast connection section of the new session wizard. You will use this address to determine where the port should be forwarded.

Next, you’ll have to determine your external WAN address. This address can be found using IPCheck. Your broadcasting address will be in the format: http://WAN_IP_ADDRESS:PORT

In our case, we would use the address where the IP address has been replaced by x’s for security purposes. 

Once you know the address at which your feed will be broadcast, you can simply open Windows Media Player, and click File>Open URL.

Windows Media Player open URL
Windows Media Player open URL – click to enlarge

Type in, or instruct your audience to type in the broadcasting address. After a slight buffering delay, your live feed should be viewable.

Setting up your live feed on a webpage

If available, you may want to set up your feed to be viewable on a webpage. This method is more advanced, but makes it more convenient for your audience to view your feed.

In its most simple form, the code to provide a live feed is:

<object ID=”MediaPlayer” WIDTH=”320″ HEIGHT=”270″ CLASSID=”CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95″ STANDBY=”Loading Windows Media Player components…” TYPE=”application/x-oleobject” CODEBASE=”
<param name=”autoStart” value=”True”>
<param name=”filename” value=”″>
<param NAME=”ShowControls” VALUE=”False”>
<param NAME=”ShowStatusBar” VALUE=”False”>
<embed TYPE=”application/x-mplayer2″ SRC=”″ NAME=”MediaPlayer” WIDTH=”320″ HEIGHT=”270″ autostart=”1″ showcontrols=”0″></embed></object>

Of course, you’ll have to enter the appropriate address in the value and SRC fields; you may also want to adjust the width and height of the object to match your broadcasting size.

Broadcasting media from a file

If you don’t have a webcam installed, you may want to provide a live feed of the media files on your computer. In this case, upon the initial startup of Windows Media Encoder, you would select ‘custom session.’

Custom session
Custom session – click to enlarge

A session properties dialogue box will then appear. Selecting ‘file’ as the source from in the sources tab will allow you to browse to a media file on your computer. As a rule of thumb, any media file that can be viewed or played in Windows Media Player should broadcast in Windows Media Encoder as well.

The port number you will be using is located on the output tab. By default, WME uses port 8080; although, we recommend clicking the ‘find a free port’ button located to the right of the port number.

Other settings can be defined here, but they are not required. Simply clicking the green ‘start encoding’ button will broadcast your media file. You can use the steps defined in the previous sections to view your live broadcast.


We’ve discussed how to set up a simple live feed from a webcam or media file, and broadcast it over a home network or the Internet to allow viewers, or yourself, to monitor anything from a remote location.

If you’re looking for ideas, we suggest checking out Earthcam; they’ve been serving up webcams for 10 years and have acquired an enormous collection. Such elegant feeds as the New England Aquarium, the Big Ben Cam, or the beaches of Hawaii can be viewed here as well as other oddities like the refrigerator cam in Japan. And, yes, the light does turn off when the door closes.

Be Sociable, Share!

58 Responses to “Setting up your own live video feed”

  1. Sarah:

    Thanks a billion, I’ve been trying to find a straightforward guide for this for weeks. My only complaint is the html provided has issues with a transitional doctype.

  2. Dave:

    Hey, I’m trying to set up a live feed for my room but whenever I put my page on my site in Firefox, it says missing plugins, any help?

  3. E. Cowley:

    Thank you for making an ease of something other advisers seemed to be struggling with themselves. Was streaming a nest cam onto the net during a morning. When I find what ‘value’ and ‘SRC’ fields mean I can set about making it viewable from our webpage! That’s how ignorant I am of computerspeak.

    Thank you once again.

  4. Chris:

    i have tried to get windows media encoder but it wont let me get it, is there an alternative?

  5. stewart charles:

    thanks for posting this tutorial, Its been really good to see how it works, however on my computer I have the following problem

    url for internet connection could not detect

    any ideas on how I can get past this? I’m using a bt hub. I can stream over my own network but I carnt get the web page bit to work because of this problem. thanks again

  6. Chris:

    thanks for the tutorial. Unfortunately I wasnt able to get this to work. I have a linksys router and a comcast router, so maybe its getting confused. But I did what you said to do step by step, and I couldnt get it to work…darn! I really wanted to get this to work out…if you have any further suggestions please let me know…thanks

  7. Christina:

    Thanks for the tutorial. Unfortunately I was not able to get it to work out. The page kept having errors. I am using a linksys router along with a comcast router. Maybe its getting confused. If you have any other suggestions that would be great! Again, thanks for the tut!

  8. Colin:

    windows 2000, windows media encoder 9(Could not detect) url for internet connection. Cannot view LAN OR WAN videocast on WMP (not found).
    Did port forwarding on my linksys router but still does not.Help please


    thank you so much for the simple run down. i downloaded windows media encoder 9. i can see the video, but i can’t get the audio. i’m running the camera through a pinnacle 700usb, it’s listed in the “video” device options but not the “audio” the only options are: default audio, realtek hd audio, or multichannel WAV source and NONE of them work1 i’m so stuck, any suggestions? thank you -raven

  10. Alex:

    thanks for the tutorial – i can transmit to the player but my transmission loops after a few seconds and replays underneath what i am saying – result is something that sounds like about 20 dj’s all speaking at once.

    i would be so grateful for your help with this as many people seem to have the same problem but no one seems to have an answer – urgently need to get this to work.


  11. Adam Goldsztajn:

    Very nice summary of Kulvir Singh Bhogal’s article of April 2006 here:

    Perhaps you should give him some credit.

  12. Wes:

    Trying to get a feed of my Hauppauge! MinTV PVR USB2, but no matter what I do, It won’t get a feed. Help please!

  13. Don:

    What do I put in for “Value” where it says “False”

  14. A J:

    Followed the instructions right up to “Open Windows Media Player. Click on file>open URL.” I am running Vista and there isn’t a “File” option. How do I proceed from here. I was told I couldn’t do live video from my website because BlueHost doesn’t support it. Am I screwed?

  15. pappas:

    I am a complete computer novice .the main reason I now have a computer,is for the ability to feed video from my vehicle as i have a 9 cam system which shows a four cam split screen/w1 screen having 5 switchable cams that work off the vehicle systems (turn/rev/break/door) so anyway I think this will work but I do not know what I need to connect the video out from the system to the computer any help would be much appreciated thanks Pappas

  16. chris conner:

    I happend to have a girlfriend who came up with the brilliant idea….i swear shes great to me in so many ways in life. And her idea was to make movies in our private life and have a website with stored media archieves of the live feeds that someone might miss. Im currently about to graduate with an associates degree in industrial electronics engineering…but this has been a dream all of both of our lives…and a lot cleaner work than an industrial electrican. but any info you could send or direct me to would be greatly appreciated.
    thank you,
    chris conner

  17. Joe:

    Followed all your steps but a few errors still maybe you could help me, first question , i had someone type the url it says Windows Media Player cannot play the file because a network error occurred. The server might not be available. Verify that you are connected to the network and that your proxy settings are correct. secondly what do you put in Value in the html coding? Thanks~

  18. Salle:

    I am running Vista and am told the windows media encoder 9 would not run properly with Vista. Is there another method?

  19. waylon:

    Can the video be hosted online but still be a live feed?

  20. derek:

    html wouldn’t work, but the following will:

  21. asif:

    thanx for the tutorial
    After a free port is selected, the URL for Internet connections could not detect.

  22. jams:

    hi , i am trying to run 20 1o secs web cam feed on one web page. is that possible to do first.

  23. Nthai:

    i want to teach 2 classes from diffrent classrooms. how can i do it using a webcam?

  24. Ashley @ Hawaii 4G Wireless:

    Hi there, just doing some research for my Hawaii 4g website. Can’t believe the amount of information out there. Not what I was looking for, but great site. Have a nice day.

  25. Chuck Pesner:

    Its like you read my mind! You seem to know a lot about this, like you wrote the book in it or something. I think that you could do with some pics to drive the message home a little bit, but other than that, this is excellent blog. A fantastic read. I’ll certainly be back.

  26. baidu456:

    every housewife is applause for your article. Awesome.

  27. fuck This ASSHOLE:

    This can be a really great website, too unhealthy I am an asshole.

  28. 666 games|games 666:

    Hello very cool website!! Man .. Beautiful .. Amazing .. I will bookmark your blog and take the feeds additionally?I’m satisfied to find a lot of helpful info here within the post, we want work out more strategies in this regard, thank you for sharing. . . . . .

  29. live videochat:

    Hi there very nice site!! Guy .. Excellent .. Wonderful .. I will bookmark your site and take the feeds additionally?I am glad to seek out a lot of useful information right here within the submit, we want develop more strategies on this regard, thanks for sharing. . . . . .

  30. Free Screen Recording Software:

    hello!,I like your writing very much! percentage we keep in touch more approximately your article on AOL? I require a specialist in this space to resolve my problem. May be that’s you! Looking ahead to look you.

  31. seo:

    Howdy! Would you mind if I share your blog with my zynga group? There’s a lot of folks that I think would really appreciate your content. Please let me know. Thank you

  32. Willette Maruca:

    I am new to Older Women’s Network – just recently joined – and I’m only just beginning to think of myself as an older woman. I’ve read material posted on this website (under “What We Fight For”) about pension reform, housing, and health care, and I’m wondering what we can do to help. Maybe putting a face to the problems will help support OWN in its advocacy efforts. Here are my issues:

  33. Singapore Web Design, Singapore SEO, Singapore Internet Marketing:

    Hi there, I discovered your web site via Google whilst looking for a comparable matter, your web site came up, it looks good. I have added to favourites|added to bookmarks.

  34. entrepreneurs:

    Howdy! This blog post couldn’t be written any better! Going through this article reminds me of my previous roommate! He always kept preaching about this. I am going to send this information to him. Fairly certain he’s going to have a very good read. Many thanks for sharing!

  35. you ever found a virus which infects command prompt? I came across one last week and had to change the pc registry to remove several entries. It was a rather difficult removal as the records were hidden quite well. If you like I will discuss some of the t:

    I’ve been using Norton security suite for several years now and I have to claim it is a piece of crap. I’d happily pay more cash for something which worked much better. This application is sluggish and does not give me any confidence it is defending my computer. I did find some good thoughts out of your site and will be looking into them this week. Thanks!

  36. shanghai ladies:

    Magnificent beat ! I would like to apprentice at the same
    time as you amend your site, how can i subscribe for a blog web site?
    The account aided me a applicable deal. I have been a little bit familiar of this your broadcast offered bright
    clear concept

  37. ac supply in houston:

    Ahaa, its fastidious dialogue about this post at this place at this webpage, I have read all that, so now me also commenting here.

  38. Article to video:

    Based on my research, after a in foreclosure home is offered at an auction, it is common with the borrower to be able to still have any remaining unpaid debt on the mortgage. There are many loan merchants who try and have all fees and liens paid off by the following buyer. However, depending on certain programs, regulations, and state guidelines there may be several loans which aren’t easily settled through the transfer of lending products. Therefore, the responsibility still rests on the borrower that has acquired his or her property in foreclosure. Thanks for sharing your ideas on this web site.

  39. search engine optimization:

    Wonderful blog! I found it ωhile ѕurfing arοund οn Yаhoo Newѕ.
    Do you haѵe any suggestions on how to get listed
    in Yahoo Neωs? I’ve been trying for a while but I never seem to get there! Many thanks

  40. Find out how much a website is worth get full information including site traffic,ad revenue,and rank.:

    Simply want to say your article is as astounding. The clarity on your post is just cool and that i could suppose you are an expert in this subject. Fine along with your permission let me to grab your RSS feed to stay updated with approaching post. Thanks 1,000,000 and please continue the rewarding work.


    I know this if off topic but I’m looking into starting my own weblog and was wondering what all is required to get set up? I’m assuming
    having a blog like yours would cost a pretty penny?
    I’m not very web smart so I’m not 100% sure. Any suggestions or advice would be greatly appreciated. Appreciate it

  42. top xbox 360 games:

    Hello, this weekend is good in support of me, since this occasion i am
    reading this fantastic educational article here at my home.

  43. Alejandrina:

    You actually make it seem so easy with your presentation but I find this matter to be
    really something which I think I would never understand.

    It seems too complicated and very broad for me.
    I’m looking forward for your next post, I’ll try
    to get the hang of it!

    I am greatful that you using a period to view my profile.
    Please feel free to take a glimpse at my webpage also for added advice and helpful tips:

  44. Nicki:

    Link еxchange is nothing else eхсept it is simply placing the other person’s website link on your page at proper place and other person will also do same in support of you.

  45. SEO收費:

    Hey! I just wish to give an enormous thumbs up for the nice information you
    have got here on this post. I will be coming again to your blog
    for more soon.

  46. кредити без трудов договор:

    Бързи заеми и всички видове бързи кредити
    Сайт за бързи заеми и потребителски кредити в България
    Пари назаем до 24 часа с бърз кредит
    В този уеб сайт ще намерите списък на фирми предлагащи бърз заем, в които
    получавате парите до 24 часа, предложения за бърз потребителски кредит над
    399 лв, както и актуални промоции , списък с офисите на компаниите
    по градове, микрокредити за малкия бизнес, удобен филтър за бързо намиране на най-добрата оферта, калкулатор, услуги с изцяло онлайн процес
    за кандидатстване и взимане на парите, полезна информация.

    Feel free to surf to my webpage … кредити без трудов договор

  47. Ferdinand:

    I’m truly enjoying the design and layout of your website.
    It’s a very easy on the eyes which makes it much more enjoyable for me to come here and visit more
    often. Did you hire out a developer to create
    your theme? Exceptional work!

  48. Hotels in Greater Manchesterhotel specialseleventh hour resort lodge deals.:

    Excellent beat ! I would like to apprentice while you amend
    your site, how could i subscribe for a blog site? The
    account helped me a acceptable deal. I had been a little bit acquainted of this your broadcast offered bright clear idea

  49. idź tutaj:

    We’re a group of volunteers and opening a brand new scheme
    in our community. Your web site provided us with valuable information to work on.
    You have done a formidable task and our entire group can be grateful to you.

  50. friendshipsms:

    Hi, its nice post regarding media print, we all know media is a great
    source of facts.

  51. 20 gratis spinn:

    If you are going for best contents like myself, just pay a visit this web page daily since
    it offers feature contents, thanks


    Host – Gator get a permanent client along with the web
    site operator sets out to create their services or products on the internet.
    However the real story is that not all of them offer that in practice.

    Lunarpages has received countless positive reviews, with
    only some negatives (which is to be expected of any web host).

  53. Zoosk coins generator:

    You’re so cool! I don’t think I’ve read anything like that before.
    So wonderful to find someone with a few unique thoughts
    on this topic. Seriously.. thanks for starting this up.
    This web site is something that is required on the web, someone with
    a bit of originality!

  54. Rory:

    Thanks for your marvelous posting! I certainly enjoyed reading
    it, you could be a great author.I will be sure to bookmark your blog and will often come back from now on.
    I want to encourage you to ultimately continue your great posts, have a nice afternoon!

    Also visit my web site Skype Premium Free Vouchers (Rory)

  55. where to buy airport extreme:

    The Pre-Talayotic Period or Cave Era from 2000 – 1300BC, the Talayotic Period or Bronze age, 1300 – 800BC and the Post Talayotic Period or Iron Age,
    800 – 100BC. 11n device lineup can take advantage of enabling a pure 802.
    With regular menstrual cycle, the female body achieves overall good
    health and can keep many health ailments at bay.

  56. شركة استضافة:

    Hello! This is kind of off topic but I need some advice
    from an established blog. Is it hard to set up your own blog?
    I’m not very techincal but I can figure things out pretty quick.
    I’m thinking about creating my own but I’m not sure where to start.
    Do you have any points or suggestions? Thank you

  57. is krill oil good:

    I don’t mind that it smelled of fish, but it sure wasn’t pleasant.
    Stresx capsule is another herbal supplement used to lower your BP.
    Additionally, numerous different krill oil studies
    have confirmed it to be an effective tool for keeping
    diabetes in check due to its ability to lower glucose levels in the blood.

    Here is my blog … is krill oil good

  58. hale groves promocodes:

    I would like to thank you for the efforts you’ve put
    in penning this blog. I am hoping to view the same high-grade blog posts by you in the future
    as well. In truth, your creative writing abilities has motivated me to get my own, personal website now ;)

Leave a Reply:

Recent stories

Featured stories

RSS Windows news

RSS Mac news

RSS iPad news

RSS iPhone & Touch

RSS Mobile technology news

RSS Tablet computer news

RSS Buying guides

RSS PS3/Wii/Xbox 360

RSS Green technology

RSS Photography

Featured Content


Copyright © 2014 NS