# How to integrate wowza with a php website?

**URL:** https://community.wowza.com/t/how-to-integrate-wowza-with-a-php-website/38922
**Category:** Wowza Streaming Engine
**Created:** [July 5, 2012, 6:52am UTC](https://community.wowza.com/t/how-to-integrate-wowza-with-a-php-website/38922 "2012-07-05T06:52:38Z")
**Posts on this page:** 18
**Page:** 1

<div class="post-metadata">

### Author: ![mingyong\_liu](https://avatars.discourse-cdn.com/v4/letter/m/e495f1/32.png) [@mingyong\_liu](https://community.wowza.com/u/mingyong_liu)
#### Post date: [July 5, 2012, 6:52am UTC](https://community.wowza.com/t/how-to-integrate-wowza-with-a-php-website/38922/1 "2012-07-05T06:52:38Z")

</div>

Hello mate!

I’m newbie to wowza and doing a php video website now, i’m trying to use wowza server as the video host, and i’ve set up an AMI instance on amazon ec2. Now i just want to know 2 things: 1. how to upload video to wowza media server from website. 2. how to get video from wowza server to play on website.

Thanks in advance

Liumy

---

<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: [July 5, 2012, 2:59pm UTC](https://community.wowza.com/t/how-to-integrate-wowza-with-a-php-website/38922/2 "2012-07-05T14:59:40Z")

</div>

You can FTP to EC2 instance. The EC2 guide has details, you need to use Active connection mode. Or you can install a web server on the Wowza server and map a web folder to Wowza content folder.

See this tutorial for configuring vod application:

[https://www.wowza.com/docs/how-to-set-up-video-on-demand-streaming](https://www.wowza.com/docs/how-to-set-up-video-on-demand-streaming)

For playback on your website, JW Player is one option:

[https://www.wowza.com/docs/how-to-use-longtail-jw-player-5-with-wowza-media-server](https://www.wowza.com/docs/how-to-use-longtail-jw-player-5-with-wowza-media-server)

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: [July 6, 2012, 2:48pm UTC](https://community.wowza.com/t/how-to-integrate-wowza-with-a-php-website/38922/3 "2012-07-06T14:48:26Z")

</div>

Liumy,

1. There is nothing built-in to Wowza, but there are many ways to move files from server to server and client to server. One approach is to just upload to the web server and use MediaCache which allows you to stream from content on a web server.

[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)

1. All the Tutorials (at top), documentation, guides and examples are here:

[https://www.wowza.com/docs/](https://www.wowza.com/docs/)

Browse the tutorials that fit your case, and look at the quickstart guide, examples, addons, etc.

HTML5 video tag is only supported in iOS devices (cupertino streaming) and Safari browser on Mac.

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: [July 6, 2012, 6:09pm UTC](https://community.wowza.com/t/how-to-integrate-wowza-with-a-php-website/38922/4 "2012-07-06T18:09:17Z")

</div>

Liumy,

Wowza only supports cupertino streaming involving HTML5 video tag, only to iOS devices and Safari on Mac OSX

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: [July 8, 2012, 12:29pm UTC](https://community.wowza.com/t/how-to-integrate-wowza-with-a-php-website/38922/5 "2012-07-08T12:29:25Z")

</div>

Take a look at this example:

[https://www.wowza.com/docs/how-to-take-a-single-frame-snapshot-of-a-live-stream-for-thumbnail-creation-modulecreatesnapshot](https://www.wowza.com/docs/how-to-take-a-single-frame-snapshot-of-a-live-stream-for-thumbnail-creation-modulecreatesnapshot)

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: [July 9, 2012, 2:00pm UTC](https://community.wowza.com/t/how-to-integrate-wowza-with-a-php-website/38922/6 "2012-07-09T14:00:32Z")

</div>

Liumy,

Wowza does not have any file transcoding capabilities.

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: [July 9, 2012, 2:17pm UTC](https://community.wowza.com/t/how-to-integrate-wowza-with-a-php-website/38922/7 "2012-07-09T14:17:16Z")

</div>

Wowza is not aware of new files when you FTP a file to Wowza content folder. So, no, thumbnails are not created. You can do it after the file is uploaded with this

[https://www.wowza.com/docs/how-to-take-a-single-frame-snapshot-of-a-live-stream-for-thumbnail-creation-modulecreatesnapshot](https://www.wowza.com/docs/how-to-take-a-single-frame-snapshot-of-a-live-stream-for-thumbnail-creation-modulecreatesnapshot)

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: [July 9, 2012, 2:36pm UTC](https://community.wowza.com/t/how-to-integrate-wowza-with-a-php-website/38922/8 "2012-07-09T14:36:10Z")

</div>

No, Wowza is also unaware of files being uploaded by php script

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: [May 6, 2013, 12:49pm UTC](https://community.wowza.com/t/how-to-integrate-wowza-with-a-php-website/38922/9 "2013-05-06T12:49:29Z")

</div>

Mukesh,

It is used to transcode and transrate live streams. Take a look at this guide to vod encoding:

[https://www.wowza.com/docs/how-to-encode-video-on-demand-content](https://www.wowza.com/docs/how-to-encode-video-on-demand-content)

Richard

---

<div class="post-metadata">

### Author: ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)
#### Post date: [May 7, 2013, 9:18am UTC](https://community.wowza.com/t/how-to-integrate-wowza-with-a-php-website/38922/10 "2013-05-07T09:18:50Z")

</div>

Hi,

You can find the listed codecs that will be transcoded by Wowza below under the Decoding section,

[https://www.wowza.com/media-server/specifications](https://www.wowza.com/media-server/specifications)

Jason

---

<div class="post-metadata">

### Author: ![mingyong\_liu](https://avatars.discourse-cdn.com/v4/letter/m/e495f1/32.png) [@mingyong\_liu](https://community.wowza.com/u/mingyong_liu)
#### Post date: [July 6, 2012, 5:40am UTC](https://community.wowza.com/t/how-to-integrate-wowza-with-a-php-website/38922/11 "2012-07-06T05:40:58Z")

</div>

Hello Richard,

Thanks for your help!!

1. i have 2 seperate instances on amazon, one is AMI have wowza media server installed, another has web server installed, is it possible to write code uploading videos from web server to the wowza server in 2 instances?

2. i’ve taken a look at the guide, my requirement is to make the video playable on both desktop and mobile, so i used a html5 video player now, is there any guide for that?

meanwhile as i know there’re different video formats for different browsers, such as mp4,ogv,webm, when uploading videos to wowza server, how to make it transcode the videos to these different formats?

Thanks very much

Liumy

---

<div class="post-metadata">

### Author: ![mingyong\_liu](https://avatars.discourse-cdn.com/v4/letter/m/e495f1/32.png) [@mingyong\_liu](https://community.wowza.com/u/mingyong_liu)
#### Post date: [July 6, 2012, 7:03am UTC](https://community.wowza.com/t/how-to-integrate-wowza-with-a-php-website/38922/12 "2012-07-06T07:03:47Z")

</div>

Hello Richard,

For 2, as i know, firefox, chrome and IE9 all supports html5 video tag except ios devices, and i’ve tested.

The problem is these browsers supports different video formats, such as firefox supports .ogv, chrome supports .mp4, IE9 supports .webm.

In that case, do you have some suggestions or tutorials to help?

Thanks!!!

Liumy

---

<div class="post-metadata">

### Author: ![mingyong\_liu](https://avatars.discourse-cdn.com/v4/letter/m/e495f1/32.png) [@mingyong\_liu](https://community.wowza.com/u/mingyong_liu)
#### Post date: [July 8, 2012, 12:33am UTC](https://community.wowza.com/t/how-to-integrate-wowza-with-a-php-website/38922/13 "2012-07-08T00:33:35Z")

</div>

Hello Richard,

Thanks for your clarifications.

I have one requirement to create thumbnails when uploading video to wowza server, does wowza have such capability?

Thanks

Liumy

---

<div class="post-metadata">

### Author: ![mingyong\_liu](https://avatars.discourse-cdn.com/v4/letter/m/e495f1/32.png) [@mingyong\_liu](https://community.wowza.com/u/mingyong_liu)
#### Post date: [July 9, 2012, 5:06am UTC](https://community.wowza.com/t/how-to-integrate-wowza-with-a-php-website/38922/14 "2012-07-09T05:06:46Z")

</div>

Hello Richard,

After reading the transcoder tutorial, i think the transcoder is not what i want, my requirement is that after user uploads a video to wowza server, transcoder automatically encodes that video to different formats such as .mp4, .webm, .flv.

Can you pls give me further explanations?

Thanks

Liumy

---

<div class="post-metadata">

### Author: ![mingyong\_liu](https://avatars.discourse-cdn.com/v4/letter/m/e495f1/32.png) [@mingyong\_liu](https://community.wowza.com/u/mingyong_liu)
#### Post date: [July 9, 2012, 6:10am UTC](https://community.wowza.com/t/how-to-integrate-wowza-with-a-php-website/38922/15 "2012-07-09T06:10:34Z")

</div>

ok, thanks!

From what i’ve learned from tutorials, seems wowza also can’t create thumbnails when uploading videos to wowza server, there seems to be only capabilities to create thumbnails when calling the stream.

is that true?

Thanks

---

<div class="post-metadata">

### Author: ![mingyong\_liu](https://avatars.discourse-cdn.com/v4/letter/m/e495f1/32.png) [@mingyong\_liu](https://community.wowza.com/u/mingyong_liu)
#### Post date: [July 9, 2012, 6:23am UTC](https://community.wowza.com/t/how-to-integrate-wowza-with-a-php-website/38922/16 "2012-07-09T06:23:16Z")

</div>

I don’t use ftp to upload files, instead we use php to move files to wowza, in that case, is there any automatic method or settings to create thumbnails?

Thanks

---

<div class="post-metadata">

### Author: ![Mukesh\_Gupta](https://avatars.discourse-cdn.com/v4/letter/m/74df32/32.png) [@Mukesh\_Gupta](https://community.wowza.com/u/Mukesh_Gupta)
#### Post date: [May 6, 2013, 2:59pm UTC](https://community.wowza.com/t/how-to-integrate-wowza-with-a-php-website/38922/17 "2013-05-06T14:59:19Z")

</div>

Hi,

Can you please tell me if Wowza does not have any file transcoding capabilities, then what is the purpose of the Wowza Transcoder AddOn?

Regards,

Mukesh

---

<div class="post-metadata">

### Author: ![Mukesh\_Gupta](https://avatars.discourse-cdn.com/v4/letter/m/74df32/32.png) [@Mukesh\_Gupta](https://community.wowza.com/u/Mukesh_Gupta)
#### Post date: [May 7, 2013, 9:47am UTC](https://community.wowza.com/t/how-to-integrate-wowza-with-a-php-website/38922/18 "2013-05-07T09:47:18Z")

</div>

Hi Richard,

Thanks for you prompt reply.

According to the user guide:

**"Ingests a non-H.264 video and non-AAC/MP3 audio media stream and converts it to a set of H.263 or H.264 AAC adaptive bitrate media streams**

**"**

Does this mean wowza can convert any type of video Codec such as VP8/Theora and any type of Audio codec such as MP3/Vorbis?

Regards,

Mukesh
