# Using VLC with Wowza Pro (native RTP)

**URL:** <https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70>\
**Category:** Wowza Streaming Engine\
**Created:** [May 13, 2008, 7:04am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70 "2008-05-13T07:04:41Z")\
**Posts on this page:** 20\
**Page:** 4

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [February 24, 2009, 4:42am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/61 "2009-02-24T04:42:51Z")

</div>

I have changed the post to use keyint of 30.

Charlie

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [March 14, 2009, 4:42am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/62 "2009-03-14T04:42:38Z")

</div>

First, be sure you are running the latest version of Wowza Pro. Install Wowza Pro 1.7.0.

Second, follow the note in the first post and turn on debug logging and send the debug logs to me and I will have a look at them.

Charlie

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [April 1, 2009, 2:35pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/63 "2009-04-01T14:35:39Z")

</div>

You need to get the SDP data to Wowza Pro. It only changes if the audio config changes. So once you settle on a set of audio settings (sample-rate, port, bitrate…) then you just need to copy the .sdp file generated by VLC to the content folder of Wowza Pro.

Charlie

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [May 4, 2009, 10:12am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/64 "2009-05-04T10:12:47Z")

</div>

255 is the max. Usually 127 is a good value.

Charlie

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [May 5, 2009, 3:20am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/65 "2009-05-05T03:20:46Z")

</div>

No need to adjust the flush time.

Charlie

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [July 24, 2009, 8:37am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/66 "2009-07-24T08:37:26Z")

</div>

The Streams/StreamType name in conf/rtplive/Application.xml should be rtp-live not rtplive.

Charlie

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [August 25, 2009, 5:02am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/67 "2009-08-25T05:02:26Z")

</div>

What exactly are you trying to accomplish? Why do you need the same stream sent to the server twice?

Charlie

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [August 25, 2009, 6:51am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/68 "2009-08-25T06:51:18Z")

</div>

These two SDP files are using the same video/audio UDP ports. This is not possible with Wowza Media Server. Each stream must use a unique set of ports. In the VLC command line you can specify the ports to be used for streaming in the RTP destination part. Remember that each stream is going to use four ports (video: RTP, RTCP and audio: RTP, RTCP). The transport part of the vlc command needs to look like this:

stream1:

rtp{dst=127.0.0.1,port-video=10000,port-audio=10002,sdp= file://%WMSCONFIG\_HOME%/content/stream1.sdp}

stream2:

rtp{dst=127.0.0.1,port-video=10004,port-audio=10006,sdp= file://%WMSCONFIG\_HOME%/content/stream2.sdp}

Charlie

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [September 8, 2009, 3:46pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/69 "2009-09-08T15:46:38Z")

</div>

VLC is pretty unstable as far as encoding goes. I am pretty sure there are some AV sync issues with VLC when using MPEG-TS (which is what your command line suggests). I am not sure exactly what you are replacing but I would take a look at Wirecast if you are looking for a good software encoder.

Charlie

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [September 23, 2009, 9:26am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/70 "2009-09-23T09:26:05Z")

</div>

It should work fine through NAT as long as you have all the right ports opened at mapped. If you are doing RTSP/RTP map UDP ports 6970-9999 to the ip address of the server running Wowza Media Server. If you are doing it with SDP file then be sure the port range listed in the SDP file mapped properly.

Charlie

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [October 8, 2009, 4:53am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/71 "2009-10-08T04:53:24Z")

</div>

So what problems are you having? As long as you set the destination ip address in the VLC command line to the server running Wowza Media Server and open all the UDP ports (I believe you need UDP ports 10000-10003) you should be all set. As long as you don’t change encoder params in the command line you can generate the SDP file once, copy it to the Wowza Media Server [install-dir]/content directory.

Charlie

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [October 9, 2009, 3:40am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/72 "2009-10-09T03:40:40Z")

</div>

Great, glad to hear you have it working.

Charlie

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [October 24, 2009, 3:43am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/73 "2009-10-24T03:43:49Z")

</div>

VLC is very buggy. I strongly suggest another encoder such as Telestream Wirecast.

Charlie

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [October 26, 2009, 2:05pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/74 "2009-10-26T14:05:52Z")

</div>

I updated the first post in this thread based on my experience with **VLC media player 1.0.2 Goldeneye**.

Charlie

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [November 10, 2009, 9:14am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/75 "2009-11-10T09:14:17Z")

</div>

I am not surprised. It is tricky to get the AAC timecode right. There is a good chance that VLC is not doing this correctly. There is no way for us to fix this on our end. It needs to be fixed in the encoder.

Charlie

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [December 3, 2009, 12:05pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/76 "2009-12-03T12:05:20Z")

</div>

Change it to:

```auto
vlc -vvv -I rc mms://xxxxxxxx/xxxxx "#transcode{venc=x264{keyint=60},vcodec=x264,vb=50 0,scale=1,acodec=mp4a,ab=32,channels=2,samplerate= 22050}:rtp{dst=wowzamsIP,port-video=10000,port-audio=10002,sdp=file:"file://C:/vlc.sdp"}"

```

Charlie

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [December 8, 2009, 1:14pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/77 "2009-12-08T13:14:24Z")

</div>

You will need to copy the sdp file from the machine running vlc to the [install-dir]/content folder of the machine running Wowza. You only need to copy this file if/when encoding params change. So as long as these things don’t change then you can copy it over once and not worry about it.

Charlie

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [December 29, 2009, 6:24am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/78 "2009-12-29T06:24:26Z")

</div>

Wowza 2.0 can accept incoming MP3 streams over RTP. It has been tested with VLC. Wowza 1.7.x does not support MP3.

Charlie

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [March 15, 2010, 3:22am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/79 "2010-03-15T03:22:27Z")

</div>

Please don’t double post.

Charlie

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [March 29, 2010, 4:43am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/80 "2010-03-29T04:43:59Z")

</div>

You will need to work with the VLC team to work this out. We cannot support VLC.

Charlie

[Previous page](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70.md?page=3)

[Next page](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70.md?page=5)
