# VLC Live contents to WMS

**URL:** <https://community.wowza.com/t/vlc-live-contents-to-wms/37033>\
**Category:** Wowza Streaming Engine\
**Created:** [February 6, 2012, 8:18am UTC](https://community.wowza.com/t/vlc-live-contents-to-wms/37033 "2012-02-06T08:18:12Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Javier\_Castro](https://avatars.discourse-cdn.com/v4/letter/j/7ab992/32.png) [@Javier\_Castro](https://community.wowza.com/u/Javier_Castro)\
**Post date:** [February 6, 2012, 8:18am UTC](https://community.wowza.com/t/vlc-live-contents-to-wms/37033/1 "2012-02-06T08:18:12Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [February 6, 2012, 4:20pm UTC](https://community.wowza.com/t/vlc-live-contents-to-wms/37033/2 "2012-02-06T16:20:38Z")

</div>

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](https://www.wowza.com/docs/how-to-use-vlc-as-a-live-stream-encoder-with-wowza-media-server-mpeg-ts)

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [February 6, 2012, 6:30pm UTC](https://community.wowza.com/t/vlc-live-contents-to-wms/37033/3 "2012-02-06T18:30:50Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [February 6, 2012, 6:33pm UTC](https://community.wowza.com/t/vlc-live-contents-to-wms/37033/4 "2012-02-06T18:33:06Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [February 6, 2012, 6:41pm UTC](https://community.wowza.com/t/vlc-live-contents-to-wms/37033/5 "2012-02-06T18:41:45Z")

</div>

To be clear:

file: /content/udp.stream

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

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [February 6, 2012, 6:50pm UTC](https://community.wowza.com/t/vlc-live-contents-to-wms/37033/6 "2012-02-06T18:50:34Z")

</div>

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

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [February 7, 2012, 3:20pm UTC](https://community.wowza.com/t/vlc-live-contents-to-wms/37033/7 "2012-02-07T15:20:06Z")

</div>

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/how-to-set-up-and-run-wowza-transcoder-for-live-streaming)

[https://www.wowza.com/docs/wowza-transcoder](https://www.wowza.com/docs/wowza-transcoder)

Richard

---

<div class="post-metadata">

**Author:** ![Randall\_Auriemma](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@Randall\_Auriemma](https://community.wowza.com/u/Randall_Auriemma)\
**Post date:** [February 7, 2012, 3:35pm UTC](https://community.wowza.com/t/vlc-live-contents-to-wms/37033/8 "2012-02-07T15:35:14Z")

</div>

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](https://www.wowza.com/tradeup)

---

<div class="post-metadata">

**Author:** ![Javier\_Castro](https://avatars.discourse-cdn.com/v4/letter/j/7ab992/32.png) [@Javier\_Castro](https://community.wowza.com/u/Javier_Castro)\
**Post date:** [February 6, 2012, 10:22am UTC](https://community.wowza.com/t/vlc-live-contents-to-wms/37033/9 "2012-02-06T10:22:58Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Javier\_Castro](https://avatars.discourse-cdn.com/v4/letter/j/7ab992/32.png) [@Javier\_Castro](https://community.wowza.com/u/Javier_Castro)\
**Post date:** [February 6, 2012, 10:28am UTC](https://community.wowza.com/t/vlc-live-contents-to-wms/37033/10 "2012-02-06T10:28:29Z")

</div>

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](http://XXX.XXX.XXX.XXX:1935/live/10000/playlist.m3u8)

---

<div class="post-metadata">

**Author:** ![Javier\_Castro](https://avatars.discourse-cdn.com/v4/letter/j/7ab992/32.png) [@Javier\_Castro](https://community.wowza.com/u/Javier_Castro)\
**Post date:** [February 6, 2012, 10:49am UTC](https://community.wowza.com/t/vlc-live-contents-to-wms/37033/11 "2012-02-06T10:49:34Z")

</div>

Working!!!

Many, many thanks for your help Richard!

---

<div class="post-metadata">

**Author:** ![Javier\_Castro](https://avatars.discourse-cdn.com/v4/letter/j/7ab992/32.png) [@Javier\_Castro](https://community.wowza.com/u/Javier_Castro)\
**Post date:** [February 7, 2012, 7:03am UTC](https://community.wowza.com/t/vlc-live-contents-to-wms/37033/12 "2012-02-07T07:03:43Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Javier\_Castro](https://avatars.discourse-cdn.com/v4/letter/j/7ab992/32.png) [@Javier\_Castro](https://community.wowza.com/u/Javier_Castro)\
**Post date:** [February 7, 2012, 7:23am UTC](https://community.wowza.com/t/vlc-live-contents-to-wms/37033/13 "2012-02-07T07:23:18Z")

</div>

Can I use it with WMS 2?

Thanks.
