VLC Live contents to WMS

Hi everyone,

I have find again a new problem trying to configure my WMS. Now the problem is that I would like to have a live streaming in my Wowza media Server. I’m sending contents from a live encoder to wowza, via .sdp. But the problem is that my encoder allows me only to encode contents with max. 288 height, and I would like to be able to send wowza contents with higher resolution. How can I do this with VLC, for example?

Hope you can help,

thanks.

Javier

Javier,

We have some VLC guidance in this article:

https://www.wowza.com/docs/how-to-use-vlc-as-a-live-stream-encoder-with-wowza-media-server-mpeg-ts

Richard

Javier,

VLC and Wowza do not have to be on the same machine.

Make sure UDP ports 0 - 65535 are open. Or at least 6970 - 9999. Check your firewall and you might have to map udp ports (port-forward) in your router.

If you test with Wowza and VLC on the same machine UDP ports will not be an issue. So it is a good idea to start there, then stream from VLC to remote Wowza server.

Richard

Use .stream files, text file with .stream extension in the content folder that contains the UDP url, e.g. /content/udp.stream. Then you will start “udp.stream” as the stream name in StreamManager and use that name to playback the stream. Make sure the .stream file is plain text and does not get a .txt extension added to it by your text editor.

Richard

To be clear:

file: /content/udp.stream

contents: udp://xxx.xxx.xxx.xxx:10000

Richard

Cool! Glad it’s working. Thanks for the update.

Richard

Javier,

You can with the Wowza Transcoder Addon:

https://www.wowza.com/docs/how-to-set-up-and-run-wowza-transcoder-for-live-streaming

https://www.wowza.com/docs/wowza-transcoder

Richard

Hi Javier,

The Transcoder is part of WMS 3 only. You can get a free license to switch over to WMS 3 which is recommended. See here: https://www.wowza.com/tradeup

I’ve just read this article and I have a few questions:

First, ¿Should the VLC run in the same machine that wowza is running, or could be running in another machine in the same LAN?

If I can run VLC in other machine, I’m running it from a batch with this parameters:

"vlc -vvv “dshow://” --sout “#transcode{venc=x264{keyint=60,profile=baseline,level=3.0,nocabac},vcodec=x264,vb=150,scale=0.5,acodec=mp4a,ab=96,channels=2,samplerate=48000}:rtp{dst=XXX.XXX.XXX.XXX,port=10000,mux=ts}” (Like the article says)

XXX.XXX.XXX.XXX Is the IP of the machine where wowza is running. In this machine, I open the Streamsmanager and in “live/definst” app, I’m starting stream with this parameters:

MediaCaster type: rtp

Stream Name: XXX.XXX.XXX.XXX:100000

What am I doing wrong??

Many thanks for your help.

Javier

Sorry,

Correct Stream Name is: XXX.XXX.XXX.XXX:10000 (4 zeroes instead of 5)

The Stream starts Ok. But when I try to play this in my iPhone it doesn’t not works:

http://XXX.XXX.XXX.XXX:1935/live/10000/playlist.m3u8

Working!!!

Many, many thanks for your help Richard!

Hi Richard,

I have a new question for you. Yesterday, with your help, I was able to start the “udp.stream” stream and made it work. But now, I would like to know if there is a way to control the streaming bitrate from this file, or configure it in any file on wowza.

Many thanks

Can I use it with WMS 2?

Thanks.