# how to stream youtube and kaltura hosted videos using wowza instance on my EC2

**URL:** <https://community.wowza.com/t/how-to-stream-youtube-and-kaltura-hosted-videos-using-wowza-instance-on-my-ec2/38217>\
**Category:** Wowza Streaming Engine\
**Created:** [February 21, 2012, 12:14am UTC](https://community.wowza.com/t/how-to-stream-youtube-and-kaltura-hosted-videos-using-wowza-instance-on-my-ec2/38217 "2012-02-21T00:14:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anurag\_Jain](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@Anurag\_Jain](https://community.wowza.com/u/Anurag_Jain)\
**Post date:** [February 21, 2012, 12:14am UTC](https://community.wowza.com/t/how-to-stream-youtube-and-kaltura-hosted-videos-using-wowza-instance-on-my-ec2/38217/1 "2012-02-21T00:14:54Z")

</div>

Hi Team,

I have a setup where i am running an instance of wowza on amazon EC2 and have some of my videos hosted at kaltura (again an instance of EC2) and youtube each.

Now i am able to play the sample.mp4 file from the test app given by wowza but i am not sure how to use the same rtmp port to transcode the youtube or kaltura media. I am using **rtmp://[my-public-domain]/vod** as the Server and mp4:**[www.youtube.com/watch?v=GJ8YMz33h0U](http://www.youtube.com/watch?v=GJ8YMz33h0U)** as the stream but its showing me an error as could not find the media to stream.

Any Suggestions?

[Anurag](http://www.eenov8.com)

---

<div class="post-metadata">

**Author:** ![Anurag\_Jain](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@Anurag\_Jain](https://community.wowza.com/u/Anurag_Jain)\
**Post date:** [February 21, 2012, 12:34am UTC](https://community.wowza.com/t/how-to-stream-youtube-and-kaltura-hosted-videos-using-wowza-instance-on-my-ec2/38217/2 "2012-02-21T00:34:57Z")

</div>

please let me know if i should add further info but any quick help is really appreciable.

---

<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:** [February 20, 2012, 7:18pm UTC](https://community.wowza.com/t/how-to-stream-youtube-and-kaltura-hosted-videos-using-wowza-instance-on-my-ec2/38217/3 "2012-02-20T19:18:19Z")

</div>

I’m not sure about youtube integration, but if the Kaltura content is on a web server, available over HTTP in anyway you can use MediaCache

[https://www.wowza.com/docs/how-to-scale-video-on-demand-streaming-with-media-cache](https://www.wowza.com/docs/how-to-scale-video-on-demand-streaming-with-media-cache)

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:** [February 21, 2012, 2:34pm UTC](https://community.wowza.com/t/how-to-stream-youtube-and-kaltura-hosted-videos-using-wowza-instance-on-my-ec2/38217/4 "2012-02-21T14:34:13Z")

</div>

I’m really not sure how to re-stream youtube content. Do they allow it? If so, they probably have a way to do it, some way that is documented by them. I doubt they allow it though.

Richard

---

<div class="post-metadata">

**Author:** ![Anurag\_Jain](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@Anurag\_Jain](https://community.wowza.com/u/Anurag_Jain)\
**Post date:** [February 21, 2012, 11:51am UTC](https://community.wowza.com/t/how-to-stream-youtube-and-kaltura-hosted-videos-using-wowza-instance-on-my-ec2/38217/5 "2012-02-21T11:51:22Z")

</div>

Thanks Richard,

As per the link u have shared it seems to transcode something on the fly i probably need to add the MediaCache package. Cant the same package work for youtube as well, i mean its again running over http.

Any suggestions?
