# Streaming videos from S3 using vlc media player

**URL:** <https://community.wowza.com/t/streaming-videos-from-s3-using-vlc-media-player/36759>\
**Category:** Wowza Streaming Engine\
**Created:** [June 8, 2011, 11:04am UTC](https://community.wowza.com/t/streaming-videos-from-s3-using-vlc-media-player/36759 "2011-06-08T11:04:46Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Krishna\_Sharma](https://avatars.discourse-cdn.com/v4/letter/k/fbc32d/32.png) [@Krishna\_Sharma](https://community.wowza.com/u/Krishna_Sharma)\
**Post date:** [June 8, 2011, 11:04am UTC](https://community.wowza.com/t/streaming-videos-from-s3-using-vlc-media-player/36759/1 "2011-06-08T11:04:46Z")

</div>

Hi,

I am currently testing the video streaming from S3 bucket using vlc media player. I have followed these steps for set up.

1. Created a bucket in S3, uploaded a sample.mp4.

2. Created a Wowza instance, opened a telnet connection and mounted S3. Also modified the conf/Applications.xml file by changing digest to none for RTP authentication.

3. Have allowed all ports (1935,80,554) for all tcp in my security groups.

4. I open vlc media player and in the network stream i type this

rtsp://[my-instance].amazonaws.com:1935/vods3/_definst_/mp4:amazons3/AR\_videos/sample.mp4

rtsp://[my-instance].amazonaws.com:554/vods3/_definst_/mp4:amazons3/AR\_videos/sample.mp4

rtsp://[my-instance].amazonaws.com/vods3/_definst_/mp4:amazons3/AR\_videos/sample.mp4

But all fail to play the videos. Some observations

1. The log messages of the vlc shows that it is successful in establishing a rtsp connection but unable to open the whole path.

main debug: looking for access module: 1 candidate

main debug: net: connecting to [my-instance].amazonaws.com port 1935

main debug: connection succeeded (socket = 1796)

main error: open of `rtsp://[my-instance].amazonaws.com:1935/vods3/_definst_/mp4:amazons3/AR\_videos/sample.mp4’ failed: (null)

1. I have disabled my firewall and antivirus.

Kindly help me out as this very crucial for my project.

Thanks,

Krishna

---

<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:** [June 8, 2011, 7:11pm UTC](https://community.wowza.com/t/streaming-videos-from-s3-using-vlc-media-player/36759/2 "2011-06-08T19:11:26Z")

</div>

Krishna,

Welcome. First, changes to /conf/Application.xml do not affect vods3 application if /conf/vods3/Application.xml exists, which it should.

Did you use one of the pre-built AMIs? Which one?

Stop the Wowza service if it is running, and run Wowza in a console /bin/startup.sh so you can see what Wowza is logging in real time.

What do you see in a browser at this url?:

http://[wowza-address]:1935

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:** [June 8, 2011, 7:20pm UTC](https://community.wowza.com/t/streaming-videos-from-s3-using-vlc-media-player/36759/3 "2011-06-08T19:20:59Z")

</div>

Ok, all good. What do you see in console when you try to play?

Also, it is recommended to test in Flash and RTMP first. Use SimpleVideoStreaming player in the Wowza examples folder:

Server: RTMP://[my-instance].amazonaws.com:1935/vods3

Stream: mp4:amazons3/AR\_videos/sample.mp4

Looking at the console where you started Wowza, click play.

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:** [June 8, 2011, 7:35pm UTC](https://community.wowza.com/t/streaming-videos-from-s3-using-vlc-media-player/36759/4 "2011-06-08T19:35:34Z")

</div>

You have to set AWS keys in /conf/Server.xml, and restart Wowza after change.

Richard

---

<div class="post-metadata">

**Author:** ![Krishna\_Sharma](https://avatars.discourse-cdn.com/v4/letter/k/fbc32d/32.png) [@Krishna\_Sharma](https://community.wowza.com/u/Krishna_Sharma)\
**Post date:** [June 8, 2011, 11:16am UTC](https://community.wowza.com/t/streaming-videos-from-s3-using-vlc-media-player/36759/5 "2011-06-08T11:16:38Z")

</div>

Hi Richard,

Sorry i meant both conf/Applications.xml and conf/vods3/Applications.xml

when i type http://[wowza-address]:1935 i see this

Wowza Media Server 2 for Amazon EC2 2.2.4 build27452

I use (ami-5a649833) as the AMI id

– Krishna

---

<div class="post-metadata">

**Author:** ![Krishna\_Sharma](https://avatars.discourse-cdn.com/v4/letter/k/fbc32d/32.png) [@Krishna\_Sharma](https://community.wowza.com/u/Krishna_Sharma)\
**Post date:** [June 8, 2011, 11:26am UTC](https://community.wowza.com/t/streaming-videos-from-s3-using-vlc-media-player/36759/6 "2011-06-08T11:26:13Z")

</div>

Failed to play amazons3/AR\_videos/sample.mp4; stream not found.

This is the error i get when i play using the SimpleVideoStreaming player.

Do i have to give some kind of permissions to the video files in S3 bucket ? The tutorials and documentations dont say anything.

Krishna

---

<div class="post-metadata">

**Author:** ![Krishna\_Sharma](https://avatars.discourse-cdn.com/v4/letter/k/fbc32d/32.png) [@Krishna\_Sharma](https://community.wowza.com/u/Krishna_Sharma)\
**Post date:** [June 8, 2011, 11:49am UTC](https://community.wowza.com/t/streaming-videos-from-s3-using-vlc-media-player/36759/7 "2011-06-08T11:49:05Z")

</div>

I set the AWS keys in /home/wowza/conf/Server.xml. And rebooted the instance

Unfortunately it still gives me the same error when i play using SimpleVideoStreaming player.

Failed to play amazons3/AR\_videos/sample.mp4; stream not found

–Krishna

---

<div class="post-metadata">

**Author:** ![Krishna\_Sharma](https://avatars.discourse-cdn.com/v4/letter/k/fbc32d/32.png) [@Krishna\_Sharma](https://community.wowza.com/u/Krishna_Sharma)\
**Post date:** [June 8, 2011, 12:37pm UTC](https://community.wowza.com/t/streaming-videos-from-s3-using-vlc-media-player/36759/8 "2011-06-08T12:37:32Z")

</div>

Hello Richard,

Kindly help me figure out what the problem here is. I am stuck for a long time and this is a part of my big project.

Thanks,

Krishna

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)\
**Post date:** [January 28, 2020, 7:16pm UTC](https://community.wowza.com/t/streaming-videos-from-s3-using-vlc-media-player/36759/9 "2020-01-28T19:16:52Z")

</div>

Great one

[Satta matka](http://sattafixjodi.com)
