Streaming to Media Server (mms)

About encoding, codec settings, muxers and filter usage
Fahim
Blank Cone
Blank Cone
Posts: 12
Joined: 07 Jan 2008 19:55

Streaming to Media Server (mms)

Postby Fahim » 24 Mar 2008 02:21

Hello,
I've a server for Media (mms) protocol and how do I stream vlc to it? Because from VLC Stream output I see port number such as 1234 but my server goes by "mms://ipofserver/publishingpoint"

I'm used to Windows Media Encoder program, but want to try something new.

Thanks.

Fahim
Blank Cone
Blank Cone
Posts: 12
Joined: 07 Jan 2008 19:55

Re: Streaming to Media Server (mms)

Postby Fahim » 25 Mar 2008 03:09

Come on... Simple answer, either VLC has this feature or doesn't ! :roll:

mr5280
New Cone
New Cone
Posts: 2
Joined: 01 Apr 2008 19:18

Re: Streaming to Media Server (mms)

Postby mr5280 » 01 Apr 2008 19:27

i have been wondering the same thing. i have been using WMS for years and have been trying to use VLC on my Linux server as a replacement opportunity.

Fahim
Blank Cone
Blank Cone
Posts: 12
Joined: 07 Jan 2008 19:55

Re: Streaming to Media Server (mms)

Postby Fahim » 07 Apr 2008 03:03

I guess you can't expet free support here

ariconstancio
New Cone
New Cone
Posts: 4
Joined: 14 Apr 2008 16:02

Re: Streaming to Media Server (mms)

Postby ariconstancio » 14 Apr 2008 16:52

Hello,
I've a server for Media (mms) protocol and how do I stream vlc to it? Because from VLC Stream output I see port number such as 1234 but my server goes by "mms://ipofserver/publishingpoint"

I'm used to Windows Media Encoder program, but want to try something new.

Thanks.
Hi Fahim and mr5280,

I'm using VLC to receive streams from Windows Media Encoder (WME) as a simple solution to replace Windows Media Services (which was a paid service) with our own dedicated server running VLC (Linux).
With the following solution, VLC can be used in the same way (pushing stream to local port), so it doesn't matter if you're running VLC or WME as the streaming source. Also, as VLC runs on both platforms, I suppose the OS also doesn't really matter (at least in this context - let us not start a flame war ;)).

I believe the following is useful even if you stick with WMS on the server (of course, you can try to replace with VLC :)).

The setup goes like this:

(streaming source - vlc/wme) ---> localhost:1234 <--- (ssh) --- | localhost:15000 <--- vlc ---> mmsh://server_ip:port

Ordinarily, Linux/Unix machines have a running SSH daemon. As it seems you have a Windows server, you have to install an SSH daemon (with Cygwin, for instance).
In your streaming source machine, setup an SSH client, such as PuTTY, to connect to the server using port forwarding in reverse mode (as your server will be connecting to this machine, even though you establish an ssh connection in the opposite direction).
The parameters to use are (in 'Tunnels'):
- check "Local ports accept connections from other hosts"
- source port "15000" (e.g.)
- destination "localhost:1234" (e.g.)
- select "Remote" instead of "Local" at the bottom

On Linux/Unix, just use

Code: Select all

$ ssh -R15000:localhost:1234 server_ip
You could also use a direct connection from server to streaming source machine, if you can deal with all firewall problems, but I think it is simpler this way.

After the establishment of this connection, anything sent on the streaming source machine to local port 1234 will appear on the server on local port 15000.
You can then start your streamer (VLC or WME) and start your server VLC process to pick up the stream and send to a local port, which will get connections from the clients (Media Player, VLC, etc.) (see http://www.videolan.org/doc/streaming-h ... l#id311798 and http://wiki.videolan.org/Windows_Media_Encoder ).

Code: Select all

$ vlc -vvv mmsh://localhost:15000 --sout '#standard{access=mmsh,mux=asfh,dst=server_ip:port}'
I hope this helps.

Regards,
Ari Constancio

Fahim
Blank Cone
Blank Cone
Posts: 12
Joined: 07 Jan 2008 19:55

Re: Streaming to Media Server (mms)

Postby Fahim » 13 May 2008 06:25

Thanks Ari Constancio,
You basically answered the call. Exactly what I needed. I've the relay feature working just perfect :)

And now for the streaming to feature below.

$ ssh -R15000:localhost:1234 server_ip

What do I insert in server_ip location?

Thanks all.

ariconstancio
New Cone
New Cone
Posts: 4
Joined: 14 Apr 2008 16:02

Re: Streaming to Media Server (mms)

Postby ariconstancio » 18 May 2008 15:58

Thanks Ari Constancio,
You basically answered the call. Exactly what I needed. I've the relay feature working just perfect :)

And now for the streaming to feature below.

$ ssh -R15000:localhost:1234 server_ip

What do I insert in server_ip location?

Thanks all.
Hello,

server_ip is your server's domain name or IP address.

Cheers,
Ari Constancio


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 21 guests