# Vlc RTP Live

**URL:** https://community.wowza.com/t/vlc-rtp-live/34095
**Category:** Wowza Streaming Engine
**Created:** [January 4, 2010, 8:22pm UTC](https://community.wowza.com/t/vlc-rtp-live/34095 "2010-01-04T20:22:29Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Hansy\_Schmitt](https://avatars.discourse-cdn.com/v4/letter/h/9de0a6/32.png) [@Hansy\_Schmitt](https://community.wowza.com/u/Hansy_Schmitt)
#### Post date: [January 4, 2010, 8:22pm UTC](https://community.wowza.com/t/vlc-rtp-live/34095/1 "2010-01-04T20:22:29Z")

</div>

Hello, we are using EC2 with wowza , tried the vlc method (as wowza in ec2 already have installed rtplive) but does not work.

Also the url for the streammanager does not load(just show the server details as any other random url)

Here is the command being used

```auto
vlc -vvv -I rc dshow:// :dshow-vdev="CyberLink Web Camera Filter" :dshow-adev="External Mic (IDT High Definiti" :dshow-size="640x480" --sout "#transcode{venc=x264{keyint=60,profile=baseline,level=3.0,nocabac,qpmax=36,qpmin=10,me=hex,merange=24,subme=9,qcomp=0.6},vcodec=x264,vb=500,scale=1,acodec=mp4a,ab=96,channels=2,samplerate=48000}:rtp{dst=174.129.38.243,port-video=10000,port-audio=10002,sdp= file://d:/vlc.sdp}"

```

and this is the vlc.sdp file contents

```auto
v=0
o=- 14910574936334423556 14910574936334423556 IN IP4 Elendil
s=Unnamed
i=N/A
c=IN IP4 174.129.38.243
t=0 0
a=tool:vlc 0.9.9
a=recvonly
a=type:broadcast
a=charset:UTF-8
m=audio 10002 RTP/AVP 96
b=AS:96
b=RR:0
a=rtpmap:96 mpeg4-generic/48000/2
a=fmtp:96 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1190; SizeLength=13; IndexLength=3; IndexDeltaLength=3; Profile=1;
m=video 10000 RTP/AVP 97
b=AS:500
b=RR:0
a=rtpmap:97 H264/90000
a=fmtp:97 packetization-mode=1;profile-level-id=42c01e;sprop-parameter-sets=Z0LAHpJUBQHtgIgAAAMACAAAAwGUeLF1,aM4yyA==;

```

note that the vlc.sdp file was copied to the server(content folder) so that is not really the issue, also when testing on iphone it shows file not found

Thanks for your help

---

<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: [January 15, 2010, 11:30am UTC](https://community.wowza.com/t/vlc-rtp-live/34095/2 "2010-01-15T11:30:43Z")

</div>

I do not know of any such solution. At one point On2 had an ActiveX encoder that would run in the browser but I think it was VP6 only.

Charlie

---

<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 5, 2010, 1:13pm UTC](https://community.wowza.com/t/vlc-rtp-live/34095/3 "2010-01-05T13:13:09Z")

</div>

There was an error in earlier docs, might be the problem. The StreamManager is here, using port 8086:

http://[wowza-address]:8086/streammanager

You do need to start this kind of stream with SteamManager first, before you can play it in IPhone, that’s why stream not found.

Richard

---

<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: [January 12, 2010, 4:44pm UTC](https://community.wowza.com/t/vlc-rtp-live/34095/4 "2010-01-12T16:44:10Z")

</div>

Did you copy the vlc.sdp file into the [install-dir]/content folder? The order is:

- Start Wowza Server 2.0

- Start encoding with VLC

- Copy vlc.sdp to the [install-dir]/content folder of Wowza Server 2.0

- Use the stream manager to start the stream (using rtp media caster type and stream name vlc.sdp)

- Check in the logs, you should see the stream being packetized

- Try to play the stream in Flash

- Try to play the stream on the iPhone

---

<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: [January 13, 2010, 5:02pm UTC](https://community.wowza.com/t/vlc-rtp-live/34095/5 "2010-01-13T17:02:57Z")

</div>

I would say that it is a firewall issue or your VLC command is not sending the stream to the server running Wowza. You should see firstPacket log statements for each of the UDP ports to which you see bind statements. Be sure that UDP ports 10000-10003 are open on your firewall. Be sure you are sending the stream from the encoder to Wowza 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: [January 14, 2010, 11:08am UTC](https://community.wowza.com/t/vlc-rtp-live/34095/6 "2010-01-14T11:08:29Z")

</div>

You need to be sure you open the right kind of ports. For RTP the ports are UDP. So be sure you are opening UDP ports:

```auto
ec2-authorize default -P udp -p 10000-10003

```

QuickTime Broadcaster can either use RTSP/RTP (Automatic Unicast Announce) or native RTP with an SDP file (Manual Unicast). So if you want to simulate what VLC is doing you want manual unicast. You can export an SDP file from the File-\>Export menu.

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: [January 14, 2010, 5:37pm UTC](https://community.wowza.com/t/vlc-rtp-live/34095/7 "2010-01-14T17:37:01Z")

</div>

Very strange. Not sure where to go from here. I just tried this again today with an EC2 image that I have up and running and it is working fine. If you send me the ip address of your instance I can try to send a stream to it and play it back to see if I can get it to work. Send it to support@wowza.com. I assume you are running the default startup package?

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: [January 15, 2010, 10:36am UTC](https://community.wowza.com/t/vlc-rtp-live/34095/8 "2010-01-15T10:36:45Z")

</div>

I am not sure what you mean by this:

> do you know of any flash-java based that allows to stream-transcode

Charlie

---

<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 12, 2010, 11:40pm UTC](https://community.wowza.com/t/vlc-rtp-live/34095/9 "2010-01-12T23:40:49Z")

</div>

I would copy the sdp file before starting in StreamManager.

Try it in LiveVideoStreaming example player with

Server: rtmp://_ **.** _. **.** \*:1935/rtplive

Stream: vlc.sdp

Is there anything interesting in the log files?

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 13, 2010, 12:15am UTC](https://community.wowza.com/t/vlc-rtp-live/34095/10 "2010-01-13T00:15:26Z")

</div>

If you don’t change any vlc settings you can use the same sdp file.

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 14, 2010, 5:57pm UTC](https://community.wowza.com/t/vlc-rtp-live/34095/11 "2010-01-14T17:57:37Z")

</div>

The only way I know to test is put it all together and see if it works. This is the Quicktime Broadcaster guide:

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

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 14, 2010, 6:18pm UTC](https://community.wowza.com/t/vlc-rtp-live/34095/12 "2010-01-14T18:18:51Z")

</div>

Actually, we’re not promoting consulting, Wowza does software. We would like to see this start working for you. The usual problem between two computers is ports and firewalls.

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 14, 2010, 6:20pm UTC](https://community.wowza.com/t/vlc-rtp-live/34095/13 "2010-01-14T18:20:15Z")

</div>

On EC2, it is the Security Group. You have to add ports to the security group. The Wowza EC2 guide has instructions.

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 14, 2010, 10:18pm UTC](https://community.wowza.com/t/vlc-rtp-live/34095/14 "2010-01-14T22:18:01Z")

</div>

That looks okay.

I would focus on EC2 security groups, getting that right.

You need to add UDP ports in some case,TCP in others. The CIDR values is always **“0.0.0.0/0” \<-- check that**

Are you using the Firefox ElasticFox plugin?

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 14, 2010, 10:21pm UTC](https://community.wowza.com/t/vlc-rtp-live/34095/15 "2010-01-14T22:21:43Z")

</div>

Look at this post:

[http://community.wowza.com/t/-/704#8](http://community.wowza.com/t/-/704#8)

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 14, 2010, 10:25pm UTC](https://community.wowza.com/t/vlc-rtp-live/34095/16 "2010-01-14T22:25:59Z")

</div>

You won’t need all these, and I don’t remember why I have half of them, but for reference this my default security group:

[http://laketk.com/EC2SecurityGroup.png](http://laketk.com/EC2SecurityGroup.png)

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 14, 2010, 10:46pm UTC](https://community.wowza.com/t/vlc-rtp-live/34095/17 "2010-01-14T22:46:52Z")

</div>

You need to add:

UPD 6970 - 9999

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 15, 2010, 7:19pm UTC](https://community.wowza.com/t/vlc-rtp-live/34095/18 "2010-01-15T19:19:53Z")

</div>

Won’t work because Flash plugin does not encode to h.264 baseline 3, which is required by IPhone.

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 21, 2011, 2:39pm UTC](https://community.wowza.com/t/vlc-rtp-live/34095/19 "2011-01-21T14:39:27Z")

</div>

You can use enocder that does rtmp or rtp/rtsp push.

[https://www.wowza.com/docs/how-to-set-up-live-streaming-using-an-rtmp-based-encoder](https://www.wowza.com/docs/how-to-set-up-live-streaming-using-an-rtmp-based-encoder))

Richard

---

<div class="post-metadata">

### Author: ![Craig\_Thompson](https://avatars.discourse-cdn.com/v4/letter/c/97f17d/32.png) [@Craig\_Thompson](https://community.wowza.com/u/Craig_Thompson)
#### Post date: [January 14, 2010, 11:52am UTC](https://community.wowza.com/t/vlc-rtp-live/34095/20 "2010-01-14T11:52:30Z")

</div>

How can we test two things for our streaming?

1. Cam on mac with broadcaster to a diff server, to confirm stream can be received?

2. A diff stream to our EC2 server

Therefore narrowing down where the pipe is clogged?

[Next page](https://community.wowza.com/t/vlc-rtp-live/34095.md?page=2)
