streaming over internet?????????????????????????????????????

About encoding, codec settings, muxers and filter usage
aharris
New Cone
New Cone
Posts: 4
Joined: 29 Dec 2004 17:39

streaming over internet?????????????????????????????????????

Postby aharris » 03 Jan 2005 19:05

Can someone please assist me. I am trying to stream an mpeg over the internet from a web page. Currently, I am able to stream the video from one computer on my LAN. I can watch the stream with Mindows Media Player from any other computer on my LAN by opening URL mms://LOCAL_IP_ADDRESS:PORT. The local IP address will not suffice for an external client on the net! How do you do this? For instance, if I put 10.12.2.155:1234 into WMP, I can watch the video all day. I go to "whatismyip.com" and get the IP address and use that and nothing happens!

Once I determine whether this simple task is even possible, I will need to figure out how to initiate VLC with the correct settings, from the HTML code on the page.

Thanks in advance...

markfm
Big Cone-huna
Big Cone-huna
Posts: 1536
Joined: 22 Feb 2004 17:42

Postby markfm » 03 Jan 2005 22:10

You need to set your router, the thing actually connected to the 'Net, to provide NAT, so that it redirects incoming connection requests to the PC on your LAN that you want to serve video from.

It'll be somewhere in the Setup, or Advanced Configuration, options for your router, assuming you use a Cable ISP router kind of connection. For instance, I tell my router to forward incoming TCP requests on port 1234 to go to my PC. On my PC I run a framegrabber connected to a camera, with VLC serving to mmsh/DIV3/128 kbps. An external 'Net-connected WMP would connect to:

mms://my_router_WAN_IP:1234

while an external 'Net-connected VLC client would use:
mmsh://my_router_WAN_IP:1234

aharris
New Cone
New Cone
Posts: 4
Joined: 29 Dec 2004 17:39

Postby aharris » 03 Jan 2005 22:39

Excellent, that sounds great and thank you very much. One more thing: How can I get VLC to start streaming at the time of the request for the video, rather than just looping all the time? I see that it uses up between 50 and 70% of the processor while streaming this large mpeg out in the appropriate format.

I am not familiar with any ways of launching an executable from a web page hyperlink. I looked through some of the configurations that can be run from the command line, but am at a loss on how to set this up.

Thank you,

markfm
Big Cone-huna
Big Cone-huna
Posts: 1536
Joined: 22 Feb 2004 17:42

Postby markfm » 03 Jan 2005 22:55

You might want to poke about, in the Forum or at the VLC (or developer) documentation, for information about the HTTP interface. It allows you to browser-based control of the server. Not sure if it's what you're looking to do.

(for me, the continuous mmsh stream applies, since I serve live camera)


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 13 guests