Turns out that you can…I think so anyway.
Basically you setup VLC to stream from your desktop+audio.
Sound easy? It does take a few steps to get setup. I should make it easy and market it 🙂
To stream desktop (skip below for DVD):
VLC by default comes with a “screen input” option, to capture the desktop. Unfortunately it appears there’s a bug and currently it cannot use that option to capture along with audio (it is video only).
So we will have to use an alternative input, called DirectShow. With Directshow, you can choose your video and your audio input device separately, and they do work together out of the box.
So first go and download a direct show screen capture input filter: http://betterlogic.com/roger/?p=3059
Next setup your sound card to be able to “capture” wave out. If it is not there as an option then you may find some helpful notes here: http://betterlogic.com/roger/?p=3073
Now open VLC, choose Media [menu] -> Streaming -> Capture Device tab -> Set video device name as “screen capture” (may need to hit “refresh list” button first), and set audio device name as whatever device is capturing your wave out (probably your default sound card name, maybe something else).
Now to click on “stream” at the bottom.
To stream a DVD:
Go to Media [menu] -> Streaming -> Disc (make sure right drive is listed), hit Stream. (You may want to click “No DVD menus” and/or select a specific title.
Now for both:
Click on “Destinations”, change destination to http, click add, change url to “/go.mpg”
Now you’ll want to stream it using mp3 audio output, so click the wrench to edit the output options -> audio codec tab -> change it to mp3, hit save. (to be specific, you’ll be using the predefined “Video – H.264 + AAC (MP4)” setting, but with its audio changed to “mp3”). Note also that this eats up a fair amount of CPU since it is transcoding to H.264
Now hit “Stream”
It should now say “streaming” on the bottom.
Now to test your stream, let’s watch the stream by viewing it within another VLC instance (as client this time).
open up another instance of VLC, and open up that very stream, like
Media [menu] -> Open Network Stream -> type in http://localhost:8080/go.mpg
If this works, you are half way there.
Now let’s discover our more public IP address:
First find out your IP by running the “ipconfig” program. Open the “run” box by hitting windows + r key, now type in “cmd /c ipconfig && pause”
Looks for a line like “IP Address …… 22.214.171.124” (your IP address if the 126.96.36.199). (in vista it will say IPv4 Address).
now open it with a new instance of VLC, like
Media [menu] -> Open Network Stream -> type in http://188.8.131.52:8080/go.mpg (replace 184.108.40.206 with your IP Address).
And you’re live. At least you could theoretically go to other computers on your local network and they can see that stream of your “screen share” your desktop and audio now.
If you wanted to watch it live from “anywhere on the internet” you’d probably have to setup appropriate port forwarding, which is a topic for another day.
Also note that if you just need “point to point” streaming, you can also use ffmpeg for the streaming, which tends to be faster and more reliable in my experience, though doesn’t have a nice GUI to help you 🙂