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

<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 25, 2010, 6:56am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/81 "2010-11-25T06:56:30Z")

</div>

You can skip this whole SDP file mess. Follow the most recent instructions:

[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))

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 1, 2010, 4:12am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/82 "2010-12-01T04:12:53Z")

</div>

We would need more detail to help. What do you mean it doesn’t run? What are the error/warning messagess? What is happening in Wowza? How do you have Wowza setup?

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

</div>

That is correct. Port sharing does not work for different streams sharing the same port. It is for binding to the same port more than once to receive the same stream.

Charlie

---

<div class="post-metadata">

**Author:** ![Roger\_Littin](https://avatars.discourse-cdn.com/v4/letter/r/d26b3c/32.png) [@Roger\_Littin](https://community.wowza.com/u/Roger_Littin)\
**Post date:** [November 19, 2008, 2:02pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/84 "2008-11-19T14:02:25Z")

</div>

I have a problem getting this command line to work

```auto
vlc -vvv rtsp://81.140.146.206/mpeg4/1/media.amp --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=http://127.0.0.1:9000/myStream.sdp}"

```

I can get it streaming with vlc 0.8.6i but vlc keeps loosing connection to the camera and stopping. It stops also if I just try playing back the original stream in vlc.

With vlc 0.9.6 I can playback the original stream without it stopping but vlc crashes when I try to use the command line to stream it.

Does anyone know if the command line has changed for the later versions?

Roger.

---

<div class="post-metadata">

**Author:** ![Roger\_Littin](https://avatars.discourse-cdn.com/v4/letter/r/d26b3c/32.png) [@Roger\_Littin](https://community.wowza.com/u/Roger_Littin)\
**Post date:** [December 7, 2008, 12:35pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/85 "2008-12-07T12:35:22Z")

</div>

I think the problem with 0.8.6 is a firewall issue. My firewall was blocking the response from the get requests to the camera when vlc was trying to reset the timeout. Open the firewall or tunnel through http and it works.

The problem with 0.9.6 is a documented bug with that version where x264 encoding is broken.

---

<div class="post-metadata">

**Author:** ![Dick\_Chen](https://avatars.discourse-cdn.com/v4/letter/d/eb8c5e/32.png) [@Dick\_Chen](https://community.wowza.com/u/Dick_Chen)\
**Post date:** [October 7, 2008, 2:07am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/86 "2008-10-07T02:07:56Z")

</div>

I work ok with VLC in the Windows using the “vlc -vvv …” command .

Later I install the VLC to the linux, but I only could run VLC on the Xwindow GUI to play various video files, if I input the below command in text mode:

```auto
vlc -vvv /tmp/Extremists.m4v --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/Extremists.sdp}"

```

will get the message as follows:

```auto
VLC media player 0.8.6d Janus
starting VLC root wrapper... using UID 0 (root)
***************************************
* Running VLC as root is discouraged. *
***************************************
 It is potentially dangerous, and might not even work properly.
[00000001] main private debug: checking builtin modules
[00000001] main private debug: checking plugin modules
[00000001] main private debug: loading plugins cache file /root/.vlc/cache/plugins-04041e.dat
[00000001] main private debug: recursively browsing `modules'
[00000001] main private debug: recursively browsing `/usr/lib/vlc'
[00000001] main private debug: recursively browsing `plugins'
[00000001] main private debug: module bank initialized, found 222 modules
libhal.c 644 : Error connecting to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[00000001] main private warning: Unable to get HAL device properties
[00000001] main private debug: opening config file /root/.vlc/vlcrc
[00000001] main private debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
[00000001] main private debug: looking for memcpy module: 3 candidates
[00000001] main private debug: using memcpy module "memcpymmxext"
[00000284] main playlist debug: waiting for thread completion
[00000284] main playlist debug: thread 3083533232 (playlist) created at priority 0 (playlist/playlist.c:184)
[00000285] main private debug: waiting for thread completion
[00000285] main private debug: thread 3073043376 (preparser) created at priority 0 (playlist/playlist.c:210)
[00000286] main interface debug: looking for interface module: 1 candidate
[00000286] main interface debug: using interface module "hotkeys"
[00000286] main interface debug: thread 3062553520 (interface) created at priority 0 (interface/interface.c:231)
[00000288] main interface debug: looking for interface module: 1 candidate
[00000288] main interface debug: using interface module "screensaver"
[00000288] main interface debug: thread 3052063664 (interface) created at priority 0 (interface/interface.c:231)
[00000284] main playlist debug: adding playlist item `/tmp/Extremists.m4v' ( /tmp/Extremists.m4v )
[00000290] main interface debug: looking for interface module: 4 candidates
[00000290] skins2 interface error: Cannot open display
[00000290] skins2 interface error: cannot initialize OSFactory
Remote control interface initialized. Type `help' for help.
[00000290] main interface debug: using interface module "rc"
[00000290] main interface debug: thread 3041569712 (manager) created at priority 0 (interface/interface.c:216)
[00000284] main playlist debug: creating new input thread
[00000294] main input debug: waiting for thread completion
[00000294] main input debug: creating statistics handler
[00000296] main stream output debug: stream=`transcode'
[00000297] main private debug: looking for sout stream module: 1 candidate
[00000296] main stream output debug: stream=`rtp'
[00000300] main private debug: looking for sout stream module: 1 candidate
[00000294] main input debug: thread 3031079856 (input) created at priority 0 (input/input.c:265)
[00000300] main private debug: set sout option: sout-rtp-dst to 127.0.0.1
[00000300] main private debug: set sout option: sout-rtp-sdp to file:////usr/local/WowzaMediaServerPro/content/Extremists.sdp
[00000300] main private debug: using sout stream module "stream_out_rtp"
[00000297] main private debug: set sout option: sout-transcode-venc to x264
[00000297] main private debug: set sout option: sout-transcode-vcodec to x264
[00000297] main private debug: set sout option: sout-transcode-vb to 500
[00000297] main private debug: set sout option: sout-transcode-scale to 1
[00000297] main private debug: set sout option: sout-transcode-acodec to mp4a
[00000297] main private debug: set sout option: sout-transcode-ab to 32
[00000297] main private debug: set sout option: sout-transcode-channels to 2
[00000297] main private debug: set sout option: sout-transcode-samplerate to 22100
[00000297] stream_out_transcode private debug: codec audio=mp4a 22100Hz 2 channels 32Kb/s
[00000297] stream_out_transcode private debug: codec video=x264 0x0 scaling: 1.000000 500kb/s
[00000297] main private debug: using sout stream module "stream_out_transcode"
[00000294] main input debug: `/tmp/Extremists.m4v' gives access `' demux `' path `/tmp/Extremists.m4v'
[00000294] main input debug: creating demux: access='' demux='' path='/tmp/Extremists.m4v'
[00000302] main demuxer debug: looking for access_demux module: 2 candidates
status change: ( new input: /tmp/Extremists.m4v )
status change: ( audio volume: 256 )
status change: ( play state: 1 )
[00000294] main input debug: creating access '' path='/tmp/Extremists.m4v'
[00000305] main access debug: looking for access2 module: 5 candidates
[00000305] vcd access debug: trying .cue file: /tmp/Extremists.cue
[00000305] vcd access debug: could not find .cue file
[00000305] access_file access debug: opening file `/tmp/Extremists.m4v'
[00000305] main access debug: using access2 module "access_file"
 :
 :
[00000329] main encoder debug: looking for encoder module: 1 candidate
x264 [warning]: width or height not divisible by 16 (640x360), compression will suffer.
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2
[00000329] main encoder debug: using encoder module "x264"
[00000344] main private debug: looking for sout access module: 1 candidate
[00000344] main private debug: set sout option: sout-udp-raw to (null)
[00000344] main private debug: net: connecting to 127.0.0.1 port 1232
[00000346] main private debug: thread 26880944 (sout write thread) created at priority 0 (udp.c:268)
[00000344] access_output_udp private debug: udp access output opened(127.0.0.1:1232)
[00000344] main private debug: using sout access module "access_output_udp"
[00000300] stream_out_rtp private debug: access out udp{raw}:127.0.0.1:1232
[00000300] stream_out_rtp private debug: we found a startcode for NAL with TYPE:6
[00000300] stream_out_rtp private debug: we found a startcode for NAL with TYPE:7
[00000300] stream_out_rtp private debug: we found a startcode for NAL with TYPE:8
[00000300] stream_out_rtp private debug: maximum RTP packet size: 1450 bytes
[00000300] stream_out_rtp private debug: sdp=v=0
o=- 1223295593848183 1 IN IP4 127.0.0.1
s=NONE
t=0 0
a=tool:vlc 0.8.6d
c=IN IP4 127.0.0.1
m=video 1232 RTP/AVP 96
b=AS:500
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=4d4033;sprop-parameter-sets=Z01AM5p0BQF/y4CIAAAfSAAHUwR4wZU=,aO48gA==;
Segmentation fault

```

What dose it mean ?

---

<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:** [July 10, 2008, 1:33pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/87 "2008-07-10T13:33:58Z")

</div>

I think you can set between 0 and 1. Default value is 0.1, reading here:

[http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/NetStream.html#bufferTime](http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/NetStream.html#bufferTime)

---

<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:** [September 18, 2008, 10:22am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/88 "2008-09-18T10:22:50Z")

</div>

I think that Wowza takes the sdp stream and makes it available to many clients, but there is only one stream coming from VLC, and if you are playing it then Wowza will not get it and be able to stream it through to clients.

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:** [January 28, 2009, 8:43pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/89 "2009-01-28T20:43:30Z")

</div>

Are you using an ElasticIP? I think I got that exact error with ElasticIP, fixed it by using the whole public DNS.

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:** [January 29, 2009, 3:55pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/90 "2009-01-29T15:55:55Z")

</div>

Did you allow ports 50000 and 50001 in your EC2 default security group?

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:** [January 29, 2009, 4:16pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/91 "2009-01-29T16:16:51Z")

</div>

Great!, you’re welcome, glad to have helped.

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:** [August 25, 2009, 12:59pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/92 "2009-08-25T12:59:08Z")

</div>

Wowza can handle many streams, you don’t need another instance on the same machine.

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:** [August 25, 2009, 1:26pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/93 "2009-08-25T13:26:35Z")

</div>

Just give each one a unique name, vlc1.sdp, vlc2.sdp, etc.

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:** [August 25, 2009, 2:00pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/94 "2009-08-25T14:00:53Z")

</div>

Is this two instances of VLC on the same machine? Are there two cameras?

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:** [September 4, 2009, 11:43am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/95 "2009-09-04T11:43:32Z")

</div>

The first post of this thread is the VLC guide, and for that use case. What part is not working for you?

Flash Media Live Encoder, Quicktime Broadcaster and Wirecast are each much easier then VLC.

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:** [September 23, 2009, 5:25pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/96 "2009-09-23T17:25:55Z")

</div>

On my home router I forward ports from internet to source of rtsp stream, in my case an axis cam. Then I use the public IP of my router to access the stream from anywhere else.

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:** [October 16, 2009, 11:26am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/97 "2009-10-16T11:26:14Z")

</div>

Take a look at the Troubleshooting Live Streaming Issues post:

[http://community.wowza.com/t/-/57](http://community.wowza.com/t/-/57)

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:** [October 20, 2009, 2:06pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/98 "2009-10-20T14:06:04Z")

</div>

I don’t. VLC has a reputation for being difficult. I don’t think it is a Wowza issue.

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:** [October 21, 2009, 11:38am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/99 "2009-10-21T11:38:19Z")

</div>

Probably Wirecast is the best option, with mac and pc versions and many nice tv station features.

Quicktime Broadcaster is free, but mac only, good quality but basic, no tv station features.

fastvdo smartcapture pro is interesting, a hardware solution, plugs into usb with the form factor of a thumb drive, connects to analog devices.

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:** [October 22, 2009, 11:08am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/100 "2009-10-22T11:08:24Z")

</div>

Can you explain in more detail what you are doing now?

Richard

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

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