# vlc streaming using wowza and amazonEC2

**URL:** <https://community.wowza.com/t/vlc-streaming-using-wowza-and-amazonec2/41008>\
**Category:** Wowza Streaming Engine\
**Created:** [August 9, 2013, 5:04pm UTC](https://community.wowza.com/t/vlc-streaming-using-wowza-and-amazonec2/41008 "2013-08-09T17:04:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sujin\_sr](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@sujin\_sr](https://community.wowza.com/u/sujin_sr)\
**Post date:** [August 9, 2013, 5:04pm UTC](https://community.wowza.com/t/vlc-streaming-using-wowza-and-amazonec2/41008/1 "2013-08-09T17:04:19Z")

</div>

I am using vlc and amazonEC2 with wowza license for video streaming.

For testing purpose I created instance in amazonEC2 with wowza, i got below public DNS address

**[ec2-54-251-165-32.ap-southeast-1.compute.amazonaws.com](http://ec2-54-251-165-32.ap-southeast-1.compute.amazonaws.com)**

**I trying to stream a video from local machine to 5009 udp port of above address by the help of udp.**

**In the vlc streaming wizard gui i given address as**

**[ec2-54-251-165-32.ap-southeast-1.compute.amazonaws.com](http://ec2-54-251-165-32.ap-southeast-1.compute.amazonaws.com)**

**udp port as**

**5009**

**Active transcoding as**

**video-H.264+AAC(TS)**

**And selected**

**stream all elementry streams**

**check box in vlc**

**Now i trying to play streaming by using the help of vlc open network stream with following address**

**udp://@ec2-54-251-165-32.ap-southeast-1.compute.amazonaws.com:5009**

**video not playing, getting following error in vlc log as**

**_main error: socket bind error (Cannot assign requested address)_**

**_access\_udp error: cannot open socket_**

**_main error: open of `udp://@ec2-54-251-165-32.ap-southeast-1.compute.amazonaws.com:5009’ failed: (null)_**

**When i try same procedure in local network its working properly, correct me where i doing wrong.**

**Thanks.**

---

<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 9, 2013, 1:29pm UTC](https://community.wowza.com/t/vlc-streaming-using-wowza-and-amazonec2/41008/2 "2013-08-09T13:29:44Z")

</div>

You are missing a step or two. Follow this [VLC mpeg-ts Guide](https://www.wowza.com/docs/how-to-use-vlc-as-a-live-stream-encoder-with-wowza-media-server-mpeg-ts%28MPEG-TS%29)

The above uses VLC command line, but you might be able to replace that with your settings in the VLC gui. Either way, you will then have to start the stream with the MediaCaster system following this [MPEG-TS Guide](https://www.wowza.com/docs/how-to-publish-and-play-a-live-stream-mpeg-ts-based-encoder%28MPEG-TS-based-encoder%29)

Richard
