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

<div class="post-metadata">

### Author: ![Simon\_Blandford](https://avatars.discourse-cdn.com/v4/letter/s/3ec8ea/32.png) [@Simon\_Blandford](https://community.wowza.com/u/Simon_Blandford)
#### Post date: [December 29, 2009, 2:08pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/141 "2009-12-29T14:08:09Z")

</div>

FYI I have found a problem with recent builds of VLC. Support for AAC encoding has been removed due to licensing issues.

[http://mailman.videolan.org/pipermail/vlc-devel/2009-August/065277.html](http://mailman.videolan.org/pipermail/vlc-devel/2009-August/065277.html)

[http://mailman.videolan.org/pipermail/vlc-devel/2009-April/058995.html](http://mailman.videolan.org/pipermail/vlc-devel/2009-April/058995.html)

I am using the PLF build of VLC version 1.0.4 on Mandriva 2010.0 and it sort of encodes AAC but the --sout-ffmpeg-aac-profile option now does nothing so it sounds awful. Not sure how it is still managing to encode now, I’m still working through the source trying to reverse patches, but it is definitely not as usable as it was.

It would be really nice if it was possible to send MP3 via RTP to Wowza and I could forget about AAC. I’ve cound that faac sounds worse for the same bitrate than LAME anyway.

---

<div class="post-metadata">

### Author: ![Simon\_Blandford](https://avatars.discourse-cdn.com/v4/letter/s/3ec8ea/32.png) [@Simon\_Blandford](https://community.wowza.com/u/Simon_Blandford)
#### Post date: [December 29, 2009, 2:28pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/142 "2009-12-29T14:28:28Z")

</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

Thanks Charlie. That’s useful to know.

---

<div class="post-metadata">

### Author: ![Simon\_Blandford](https://avatars.discourse-cdn.com/v4/letter/s/3ec8ea/32.png) [@Simon\_Blandford](https://community.wowza.com/u/Simon_Blandford)
#### Post date: [March 2, 2010, 8:18pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/143 "2010-03-02T20:18:22Z")

</div>

From your VLC command line, I can see “dst=127.0.0.1”. This would send the packets to localhost, not your Wowza server. You are running VLC on a Windows machine and the Wowza paths look like Linux, so I assume they are actually on different machines.

Try changing the destination address to be that of your Wowza server.

---

<div class="post-metadata">

### Author: ![Simon\_Blandford](https://avatars.discourse-cdn.com/v4/letter/s/3ec8ea/32.png) [@Simon\_Blandford](https://community.wowza.com/u/Simon_Blandford)
#### Post date: [March 2, 2010, 10:23pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/144 "2010-03-02T22:23:29Z")

</div>

Great to hear it’s working for you 🙂

I have had problems with the latest version of VLC with the motion stop-starting with live capture both on Windows and Linux builds of VLC.

It may be worth trying older version of VLC until you find one that works. They can be downloaded from here…

[http://download.videolan.org/pub/videolan/vlc/](http://download.videolan.org/pub/videolan/vlc/)

Unfortunately, VLC isn’t entirely stable yet and new versions tend to break as many things as they fix. I still struggle with it because it can encode different bitrates at once and it runs on Linux, unlike Adobe’s encoder.

Another issue with later versions of VLC is that the audio AAC (FAAC) encoding library has been dropped due to licensing issues. If you are using Wowza 2.x then you may find you get better results changing from MP4A to MP3.

---

<div class="post-metadata">

### Author: ![Andrew\_Smith](https://avatars.discourse-cdn.com/v4/letter/a/a88e57/32.png) [@Andrew\_Smith](https://community.wowza.com/u/Andrew_Smith)
#### Post date: [June 4, 2008, 7:31pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/145 "2008-06-04T19:31:51Z")

</div>

Ah, good point

```auto
vlc -vvv http://url/url/.asx --sout "#transcode{venc=x264,vcodec=x264,vb=500,scale=1,acodec=mp4a,ab=32,channels=2,samplerate=22100}:rtp{dst=172.16.0.15,sdp=file://172.16.0.15/c$/vlc.sdp}"

```

Like I said, I’m new :S

Also, is there a way to just get wowza to stream [http://url/file.asx](http://url/file.asx) without the VLC stage?

---

<div class="post-metadata">

### Author: ![Andrew\_Smith](https://avatars.discourse-cdn.com/v4/letter/a/a88e57/32.png) [@Andrew\_Smith](https://community.wowza.com/u/Andrew_Smith)
#### Post date: [June 4, 2008, 7:51pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/146 "2008-06-04T19:51:14Z")

</div>

Sorry, I meant [http://url/file.asx](http://url/file.asx)

I have changed it from the real URL as it’s a test url for my boss’ company so I don’t want to post it. I have tried opening it in VLC and it works fine.

I’ve read that transcoding to flv is a bit hit and miss in VLC. Would I be better off doing it to h.264?

---

<div class="post-metadata">

### Author: ![Andrew\_Smith](https://avatars.discourse-cdn.com/v4/letter/a/a88e57/32.png) [@Andrew\_Smith](https://community.wowza.com/u/Andrew_Smith)
#### Post date: [June 5, 2008, 10:16am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/147 "2008-06-05T10:16:27Z")

</div>

Excellent! you were right. It’s all working now thank you.

---

<div class="post-metadata">

### Author: ![Andrew\_Smith](https://avatars.discourse-cdn.com/v4/letter/a/a88e57/32.png) [@Andrew\_Smith](https://community.wowza.com/u/Andrew_Smith)
#### Post date: [July 4, 2008, 4:11pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/148 "2008-07-04T16:11:54Z")

</div>

Hi,

Is it possible to use VLC to encode on a computer with an Osprey 530 card and then stream it to rtmp://ipaddress/app and streamname like you would with Flash Media Encoder? I’m trying to use H.264 and FME seems to be rubbish at it.

Or, if you have any other suggestions then please let me know 🙂

Thanks in advance

Andrew.

---

<div class="post-metadata">

### Author: ![Joshua\_Rubingh](https://avatars.discourse-cdn.com/v4/letter/j/ba8739/32.png) [@Joshua\_Rubingh](https://community.wowza.com/u/Joshua_Rubingh)
#### Post date: [June 10, 2008, 8:13pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/149 "2008-06-10T20:13:06Z")

</div>

Hi,

just new here, but I can confirm that this all works. I have VLC transcoding my tv signal from a Dreambox to a H264 video and MP4A audio rtsp stream. And that is than pickuped by wowza with the rptlive application.

Had the same problem with generatin the sdp file. So the [http://.](http://.). option did do the trick!

And now I can watch my tv in H264 with flash… which is quite nice 😃

TheYOSH

---

<div class="post-metadata">

### Author: ![Juan\_Perez](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@Juan\_Perez](https://community.wowza.com/u/Juan_Perez)
#### Post date: [August 26, 2008, 11:21am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/150 "2008-08-26T11:21:55Z")

</div>

Hi,

We’ve been evaluating FME/FMS and for our requeriments (rtp stream as source) now we’re moving to this solution. For us, it works well (only with an not desirable long delay). The onlye problem is that we need to add metadata in the rtmp stream. Before, we setted the metadata info (author, etc.) from FME side easily, but now we don’t know how to set this in the server side (we assume that in this case, VLC is out of the solution).

How we can configure the rtplive stream setted from the vlc source to add this static metadata?

Pd. We use metadata to detect stream presence from flash client side.

---

<div class="post-metadata">

### Author: ![Juan\_Perez](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@Juan\_Perez](https://community.wowza.com/u/Juan_Perez)
#### Post date: [August 27, 2008, 10:21am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/151 "2008-08-27T10:21:29Z")

</div>

Thanks for the quick reply.

We will try to tell VLC to create the sdp file in a temporary folder, edit it and copy the modified file in the /content folder of Wowza.

We will publish the results

---

<div class="post-metadata">

### Author: ![Juan\_Perez](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@Juan\_Perez](https://community.wowza.com/u/Juan_Perez)
#### Post date: [September 5, 2008, 6:07pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/152 "2008-09-05T18:07:03Z")

</div>

Hi again,

It’s seem that vlc is including some metadata elements in the generated session descriptor ( exactly, the attribute tool:vlc…) so we suppose that would enough to detect the start of the stream after the connection in the flash client side.

However, in our testings, we’ve observed that the solution it’s working with VLC versions 0.8.6d and above. We connect with vlc to a video input source (MPEG4-SP over RTP) via RTSP protocol, but newests versions of vlc doesn’t work correctly with this (the connection is suddenly closed over 30 seconds before it has been been established). So we can only use vlc 0.8.6d version as an intermediate solution.

Anyone with this issue or similar?

---

<div class="post-metadata">

### Author: ![Juan\_Perez](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@Juan\_Perez](https://community.wowza.com/u/Juan_Perez)
#### Post date: [October 20, 2008, 6:33pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/153 "2008-10-20T18:33:32Z")

</div>

Hi,

First of all, you’re trying with VLC to stream via RTP from an h264 file as source (the Wowza example video file), I’ve tried similar scene but it seems that VLC cannot do it (look at the VLC forum). VLC can play h264 files but can’t transmit it via RTP. Try with diferent video encoded file (p.e. an MPEG-2 file), it should work.

Anyway, the purpose of this thread is to retransmit an encoded h264/AAC stream via RTP from VLC to Wowza. Yoy can directly stream an h264 file with default stream of Wowza (see simplevideostreaming example).

---

<div class="post-metadata">

### Author: ![Juan\_Perez](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@Juan\_Perez](https://community.wowza.com/u/Juan_Perez)
#### Post date: [November 20, 2008, 12:33pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/154 "2008-11-20T12:33:40Z")

</div>

@charlie

I tested new 0.9.6 version of VLC. The problem of ‘hole’-\>drop seems to be resolved and the data flow to Wowza doesn’t stop but I observed that this release it’s quite stable, has a notable increase of cpu power consumption compares to previous version I was testing (0.8.6d) and the new libraries for AAC encoding doesn’t works fine yet. So it’s still not a solution.

@rogerlittin

Try to capture network traffic between VLC and your camera during the RTSP negotiation process. I had a similar problem cause my source doesn’t inform VLC that support GET\_PARAMETER method in the OPTIONS reply, and VLC uses it periodically after the session is established to demand the source to keep the session active. I modified vlc source code to send anyway this message periodically (old version of VLC do that and works fine with this source, and the source really supports this feature). You can try directly with an older version of VLC (0.8.6d i.e.). Apart the issue I describe above, it works almost fine.

---

<div class="post-metadata">

### Author: ![John\_Beales](https://avatars.discourse-cdn.com/v4/letter/j/2bfe46/32.png) [@John\_Beales](https://community.wowza.com/u/John_Beales)
#### Post date: [August 2, 2008, 6:36am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/155 "2008-08-02T06:36:31Z")

</div>

So I have VLC Almost working, but not quite.

Using this command:

```auto
vlc -vvv /usr/local/WowzaMediaServerPro/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:///usr/local/WowzaMediaServerPro/content/myStream.sdp}"

```

It looks like it’s working well, then I get a bunch of these:

```auto
[00000451] ffmpeg decoder warning: cannot decode one frame (50 bytes)
[00000451] ffmpeg decoder warning: cannot decode one frame (50 bytes)

```

Then it does some more stuff, like output the sdp to the terminal window, then I get these:

```auto
[00000450] access_output_udp private warning: send error: Connection refused
[00000454] access_output_udp private warning: send error: Connection refused
[00000454] access_output_udp private warning: send error: Connection refused

```

and occasionally one of these:

```auto
[00000327] stream_out_transcode private debug: late picture skipped (6993)

```

until I abort the program.

So, why would the server be refusing the connection? I can connect and generate a stream find from Quicktime broadcaster on my mac, but streaming from VLC seems to be causing problems.

---

<div class="post-metadata">

### Author: ![John\_Beales](https://avatars.discourse-cdn.com/v4/letter/j/2bfe46/32.png) [@John\_Beales](https://community.wowza.com/u/John_Beales)
#### Post date: [August 2, 2008, 1:58pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/156 "2008-08-02T13:58:48Z")

</div>

It doesn’t, I tried that first.

---

<div class="post-metadata">

### Author: ![John\_Beales](https://avatars.discourse-cdn.com/v4/letter/j/2bfe46/32.png) [@John\_Beales](https://community.wowza.com/u/John_Beales)
#### Post date: [August 2, 2008, 3:43pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/157 "2008-08-02T15:43:54Z")

</div>

So I just tried again with the real IP address, just for kicks, and it seems to output more “late picture skipped” than with 127.0.0.1.

Do you know if it’s possible to duplicate the Unicast (Announce) method that Quicktime Broadcaster uses?

---

<div class="post-metadata">

### Author: ![John\_Beales](https://avatars.discourse-cdn.com/v4/letter/j/2bfe46/32.png) [@John\_Beales](https://community.wowza.com/u/John_Beales)
#### Post date: [August 4, 2008, 3:32am UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/158 "2008-08-04T03:32:56Z")

</div>

I got it working. It turns out that I didn’t have write permission for the content folder, and the server doesn’t accept connections unless someone’s actually trying to view the media, so VLC outputs a “connection refused” message.

---

<div class="post-metadata">

### Author: ![Radek\_Novotny](https://avatars.discourse-cdn.com/v4/letter/r/eb9ed0/32.png) [@Radek\_Novotny](https://community.wowza.com/u/Radek_Novotny)
#### Post date: [May 26, 2009, 4:18pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/159 "2009-05-26T16:18:58Z")

</div>

Finally i can stream live video with VLC 0.9.9 to wowza in h264 and play in nativeRTP player.

There is no bug in VLC \> 0.9, that is a linux distribution restricition (ffmpeg codecs). There is a way how to download codecs to make h264 video working.

I was wondering if I can play this video in other player (non web based). Can I somehow play RTP video from wowza?

---

<div class="post-metadata">

### Author: ![Radek\_Novotny](https://avatars.discourse-cdn.com/v4/letter/r/eb9ed0/32.png) [@Radek\_Novotny](https://community.wowza.com/u/Radek_Novotny)
#### Post date: [June 9, 2009, 5:43pm UTC](https://community.wowza.com/t/using-vlc-with-wowza-pro-native-rtp/70/160 "2009-06-09T17:43:05Z")

</div>

we made HD live rtp stream with vlc 0.9.9 with H264. it works on 4 core CPU quite well but sometimes with broken elements.

wowza gave us errors after while but streaming was working - do you want to send these errors messages?

is here anybody who want to try and test linux hd live streaming?

> My understanding is that H.264 encoding has been broken in VLC for quite some time. The most recent version that works is 0.8.6i. You will see in one of the **Notes** paragraphs in the first post of this thread it points you to the most recent version that works. This feature has been broken in VLC for quite some time. I think it has been over a year.
> 
> Charlie

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

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