Wowza Community

Upload video

In our WebTV-solution we would like the give the viewers the possibility to upload their own videoes to the Wowza server. How can we make that?

The Wowza Pro server does not directly support file upload. You could use the com.wowza.wms.server.IServerNotify mechanism (configured through the Server.xml file) to integrate a servlet engine such as Winstone or Tomcat or an HTTP server such as Jetty to do file upload. It seems like this might be a lot of work for a little gain. I would just run a standalone web server such as Apache and add the PHP engine to handle the file upload using the PHP file upload mechanism. This link discusses how to do file upload using PHP:

http://www.tizag.com/phpT/fileupload.php

Does this make sense? Can you just add Apache + PHP to your infrastructure? If you do want to learn more about how to use com.wowza.wms.server.IServerNotify to integrate a servlet engine, I can provide an example of how this is done.

Charlie

We have allready a posibility to upload flv files in our solution, but we need an upload functionality that converts the videofiles to flv from the browser. Does your suggestions convert to flv?

No, we do not have trancoding capabilities in the server. Your best bet is to look at open source tools like ffmpeg or SDK’s from On2 or Sorenson.

Charlie

Hi

I think, live video.google.com does, is to simply pass the uploaded file to a script that convert automatically the file. that would look like :

ffmpeg -i a.mov -ar 11025 -ab 8000 -s 320x240 a320.flv

there is options like -sameq to get the same quality parameters etc.

ffmpeg is available precompiled, I’m sure you will easilly find it on the net if you want.

So the php script, after the file upload, could simply execute this script. If the file is long, that could take lot of time and ressources, but well, it would work fine. And by getting the latest ffmpeg and updating it, you could support nearly everything that exists.

There are a million php upload scripts easy to find in search.

Richard

"

The Wowza Pro server does not directly support file upload. You could use the com.wowza.wms.server.IServerNotify mechanism (configured through the Server.xml file) to integrate a servlet engine such as Winstone or Tomcat or an HTTP server such as Jetty to do file upload. It seems like this might be a lot of work for a little gain. I would just run a standalone web server such as Apache and add the PHP engine to handle the file upload using the PHP file upload mechanism. This link discusses how to do file upload using PHP:

http://www.tizag.com/phpT/fileupload.php

Does this make sense? Can you just add Apache + PHP to your infrastructure? If you do want to learn more about how to use com.wowza.wms.server.IServerNotify to integrate a servlet engine, I can provide an example of how this is done.

Charlie

"

could you provide that example for me instead, pliz? :stuck_out_tongue:

Hello Everbody, i try to made un HTTPProvider in java, for upload file existing in my wowza server, but when i try to upload large file, it’s don’t work.

Could you help me please.

thanks

When the file is short, it work but if the file is that more 140MB, it’s don’t work.