Jump to content
bazet

Bagaimana Untuk Stream Desktop Anda Ke Internet

Recommended Posts

I did this so my friend can watch me play WoW live

For some demo, watch at http://bazet.dyndns.tv or you can watch using Media player using this address mms://bazet.dyndns.tv:8080 ( depends whether I'm playing or not. I live in +8 GMT area )

Knowledge required

1. Apache web server to host webserver at you WinXp machine

2. Port forwarding to port 80 ( webserver ) and 8080 ( video server )

3. HTML basics

4. Know how to use Media Encoder

Software & Tools

Windows XP

Windows Media Encoder 9 ( it's free ) or you can use Videolan ( http://www.videolan.org ) to stream

Vh Capture ( the main engine ) http://www.hmelyoff.com/index.php?section=22

Apache web server to host your html files, you can use win32 edition

How To

Install VH Capture

Install Windows media Encoder

Open VH Capture Config anc choose World of Warcraft Windows and set the output size to 320x240

Open Windows Media Encoder and choose to stream live event.

On video source choose VHCap

Choose to stream at 128kbps or 250 kbps

Choose 8080 as your stream port

Click Start Encoding

Your WoW should be streaming locally now. You can tets by typing mms://127.0.0.1:8080 at you windows media player..and you can see the streaming video on your media player.

Now you'll need a webserver so when visitor open your server, they can see the stream automatically.

Download Apache Webserver ( http://www.apache.org ) and choose win32 binary. Install and run the apache server

try to open http://127.0.0.1, if you see a congratulation page, thats mean you apache server is running.

Go into Apache httpdocs folder. usually at c:\apache\httpdocs and edit index.html

put these code into the file

[pre]<object id="MediaPlayer" width=320 height=286 classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">

<param name="filename" value="mms://127.0.0.1:8080">

<param name="Showcontrols" value="True">

<param name="autoStart" value="True">

<embed type="application/x-mplayer2" src="mms://127.0.0.1:8080" name="MediaPlayer" width=320 height=240></embed>

</object>

[/pre]

And open http://127.0.0.1 . You should see a streaming video there.

if you can reach the steps up to this stage, you're almost done.

Now how to enable your router modem to accept connection and server both video and http server

First you must know what is your local pc ip address. on my case, i use static ip ( 192.168.1.2 ) and my modem at 192.168.1.1

So means that

Apache runs at 192.168.1.2 at port 80

MMS runs at 192.168.1.2 at port 8080

In you router configuration update your firewall / router setting. You have to google out on how to do this since every router/modem have different settings ( I'm using Xincom Router BTW )

Every incoming request to port 80 and port 8080 ( TCP ) should be redirected to 192.168.1.2

Then you must know the ip address given to you by your ISP. You check at http://www.whatismyip.com

Then change the IP address you've entered in the index.html to the ip given by your ISP. Save index.html and move on

After that, ask you friend ( YM,MSN ,AOL ) to open the browser to http://<your public ip>

If they can see the live video feed , it's consider done.

In my country, my isp give random IP, so to make things easier, i registered my dynamic ip to a static domain offered by DynDns.org ( http://www.dyndns.org )

Screenshots

http://img149.imageshack.us/my.php?image=stream1vy6.jpg

Showing WoW + actual streaming

http://img403.imageshack.us/my.php?image=stream2ew2.jpg

Various settings

http://img376.imageshack.us/my.php?image=stream3ce7.jpg

Router setting. i use 192.168.1.55 as my server. Note the MMS and HTTP setting

Important

------------------

If you choose to use DynDns.org service, make sure you change the ip in your index.html to rflect your domain, example

http://rogueslayer.dyndns.tv

mms://druid.dyndns.tc

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...