# 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:** 3

<div class="post-metadata">

**Author:** ![Noman\_Naseer](https://avatars.discourse-cdn.com/v4/letter/n/2acd7d/32.png) [@Noman\_Naseer](https://community.wowza.com/u/Noman_Naseer)\
**Post date:** [December 9, 2009, 12:17pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/41 "2009-12-09T12:17:47Z")

</div>

I do same process u told but there is an error coming i don’t understand what is that and why is that and 2nd i don’t understand how to make vlc.sdp file plz help me what to do ?

its very long script runs i show last few lines hope u get it

[0xe2b144] main input debug: TIMER input launching for '1.7.2/content/Extremist.

m4v’ : 79.000 ms - Total 79.000 ms / 1 intvls (Avg 79.000 ms)

[0xe30c04] main playlist debug: changing item without a request (current 7/8)

[0xe30c04] main playlist debug: nothing to play

---

<div class="post-metadata">

**Author:** ![sheena\_shirley](https://avatars.discourse-cdn.com/v4/letter/s/278dde/32.png) [@sheena\_shirley](https://community.wowza.com/u/sheena_shirley)\
**Post date:** [March 28, 2010, 8:40pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/42 "2010-03-28T20:40:56Z")

</div>

I am new to flash video servers but I need to learn quick! (isn’t that always the way?)

I want to try a test setup where VLC streams a web stream to the wowza server and then I view this in a flash player. I know it’s more complicated than it needs to be but I’m just trying to prove the concept at the moment.

When I try the above code with the dshow code replaced with the URL VLC simply crashes (badly!) Can you offer any advice?

Forgot to mention, the VLC and wowza are on different machines. Is it possible to get wowza to retransmit a unicast stream?

[plumber in temecula](http://www.plumberintemecula.info)

---

<div class="post-metadata">

**Author:** ![Pablo\_Enrique\_Sanmar](https://avatars.discourse-cdn.com/v4/letter/p/8dc957/32.png) [@Pablo\_Enrique\_Sanmar](https://community.wowza.com/u/Pablo_Enrique_Sanmar)\
**Post date:** [September 16, 2010, 1:52pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/43 "2010-09-16T13:52:36Z")

</div>

Hello.

I need execute this code but in remote server

vlc -vvv -I rc dshow:// :dshow-vdev=“QuickCam for Notebooks Pro” :dshow-adev=“Logitech Mic (Notebooks Pro)” :dshow-size=“320x240” --sout “#transcode{venc=x264{keyint=60},vcodec=x264,vb=500,scale=1,acodec=mp4a,ab=32,channels=2,samplerate=22050}:rtp{dst=127.0.0.1,port-video=10000,port-audio=10002,sdp=file://%WMSCONFIG\_HOME%/content/vlc.sdp}”

How should I write sdp? (rtp{dst=REMOTE\_SERVER,port-video=10000,portaudio=10002,sdp=REMOTE\_SDP}")

Thanks.

---

<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:** [June 4, 2008, 11:41am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/44 "2008-06-04T11:41:48Z")

</div>

[http://url/url/.asx](http://url/url/.asx) does not seem like a valid url. I would first make sure you can playback what ever content you are trying to transcode. So you should be able to use VLC to the playback the url using File-\> Open Network Stream… Once VLC is able to playback the content then work on transcoding 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:** [June 4, 2008, 12:06pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/45 "2008-06-04T12:06:56Z")

</div>

I have a feeling that the sdp file location is causing problems. What you have specified:

file://172.16.0.15/c$/vlc.sdp

Does not seem like a valid file url. You need to save this file to the machine running Wowza Pro in the [install-dir]/content folder of the Wowza Pro installation.

The rest of the command line looks ok to me.

BTW, your current command line is transcoding to H.264. We only support H.264 over RTP. We do not support VP6 or Sorenson using this method.

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:** [June 6, 2008, 5:06am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/46 "2008-06-06T05:06:34Z")

</div>

Yes, they need to be in the same network. VLC needs to be able to save the SDP file to the server running Wowza Pro. I think the current url you are using is not right at all. But I am not sure how to instruct you on how to fix it.

Another option is to have VLC make the sdp information available at a url. The format is something like this:

sdp=“http://[vlc-ip-address]:9000/streamtest/mystream.sdp”

Where **[vlc-ip-address]** is the ip address of the machine running VLC.

The you would use a stream name in Flash of:

rtplive:http://[vlc-ip-address]:9000/streamtest/mystream.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:** [July 15, 2008, 1:32pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/47 "2008-07-15T13:32:36Z")

</div>

It is the same instructions just use the external ip addresses for all three items.

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 26, 2008, 7:50am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/48 "2008-07-26T07:50:39Z")

</div>

VLC is a tricky beast. It usually requires a lot of experimentation to get right.

When you enter the .sdp address into a web browser from the machine running Wowza Pro, what do you get in the browser?

Follow these instructions and send me debug log information. It might lead to more information. Also send me a list of VLC command lines that you have tried and the results:

> _Note: If you experience problems getting either the audio or video to play through Flash, double check the version number of the Flash player (Flash player version **9.0.115.0** or above is required). If you still have problems, turn on Wowza Pro debug logging (edit **[install-dir]/conf/log4j.properties** and change the **log4j.rootCategory** on the first line from **INFO** to **DEBUG** ), try the encoder several more times, zip up and send your **[install-dir]/logs** folder along with screen shots of the encoder setup screens and the **LiveVideoStreaming** player screen and send a detailed description of your problem to support@wowza.com._

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 2, 2008, 3:20am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/49 "2008-08-02T03:20:14Z")

</div>

Instead of using the destination address 127.0.0.1 try using the actual ip address of the machine. See if that makes a difference.

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 18, 2008, 7:14am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/50 "2008-09-18T07:14:08Z")

</div>

This looks like a very old Application.xml file. I suggest you upgrade to Wowza Pro 1.5.3. the AVSyncMethod is part of the default Application.xml file in 1.5.3.

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 27, 2008, 3:40am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/51 "2008-09-27T03:40:08Z")

</div>

It might be all the spaces in your path names. Try:

vlc -vvv “C:/Program Files/Wowza Media Systems/Wowza Media Server Pro 1.5.3/content/Extremists.flv” --sout “#transcode{venc=x264,vcodec=x264,vb=500,scale=1,acodec=mp4a,ab=32,channels=2,samplerate=22100}:rtp{dst=127.0.0.1,sdp=file://%WMSCONFIG\_HOME%/content/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:** [September 29, 2008, 3:13am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/52 "2008-09-29T03:13:40Z")

</div>

Also, if VLC is running on a different machine other than the machine Wowza Pro then 127.0.0.1 will not work. This address is the local ip address. You need to find the actual ip address for the machine. Try one of the following command:

ipconfig - Windows

ifconfig - Linux

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 3, 2008, 7:46am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/53 "2008-10-03T07:46:55Z")

</div>

Try this:

Origin:

Setup application named **rtplive** with streamType **rtp-live** as you did for direct testing.

Edge:

Setup application **liverepeater** with stream type **live-repeater-edge** and set the OriginUrl to **rtmp://[origin-ip]/rtplive**. Use the following info when connecting to the edge:

Server: rtmp://[edge-ip]/liverepeater

Stream: sdp-filename

Should work.

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 3, 2008, 11:00am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/54 "2008-10-03T11:00:19Z")

</div>

Thanks for the update. 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 6, 2008, 6:35pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/55 "2008-10-06T18:35:29Z")

</div>

I really don’t know. VLC has not proven to be super stable. Others have had problems on Linux.

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 22, 2008, 12:05pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/56 "2008-10-22T12:05:53Z")

</div>

I am not sure I completely understand what is and isn’t working. Can you post a section of the log file where it was attempting to connect to the SDP data over HTTP. Are you sure the stream is in the right format for Flash?

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, 2008, 7:35am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/57 "2008-10-24T07:35:26Z")

</div>

If you use the command line switch:

```auto
sdp="http://[vlc-ip-address]:9000/streamtest/mystream.sdp"

```

Then the SDP file will be host by the VLC process at the address:

http://[vlc-ip-address]:9000/streamtest/mystream.sdp

Where [vlc-ip-address] needs to be the ip address of the server running VLC. You can use any port number that you like. I just picked 9000 for this example. With this in place as long as you open any firewalls between the server running Wowza Pro and server running VLC to the port that you specify then you should be able to use the stream name:

http://[vlc-ip-address]:9000/streamtest/mystream.sdp

To play the stream being encoded by VLC.

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 13, 2008, 4:26am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/58 "2008-11-13T04:26:07Z")

</div>

VLC is sending the UDP packets directly to the server running Wowza Pro. So as long as you setup VLC to send the packets to the external address for the server running Wowza Pro then Wowza Pro will get the packets. Copying and modifying the SDP information seems like a reasonable way to get the information to Wowza Pro. If you look at the first post in this thread Wowza Pro can also get the SDP information from an HTTP url so you could host the SDP data at a web server as well. Either will work.

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 16, 2008, 4:36am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/59 "2008-11-16T04:36:16Z")

</div>

Take a look at Vara Software’s Wirecast or On2 Flix Live.

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 18, 2008, 2:31pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/60 "2008-11-18T14:31:05Z")

</div>

It is more likely that VLC has stopped sending packets to Wowza Pro then what you are suggesting. As I pointed out in the initial post, we have found VLC to be somewhat unreliable. We have also noticed that each build of VLC fixes some problems and introduces new ones. So the instructions in the initial post may no longer work with the most recent build. There may also be varying platform issues. I realize this does not help you nail down this issue.

Charlie

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

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