views:

328

answers:

6

I want to make a video site in which we can upload the video in any format and display it like youtube. How can I do this? My whole site is in PHP I'm a newbie in the video streaming sp plz be descriptive with your answer

Thanks

A: 

One of my websites does this, and it's a MASSIVE pain. However, there are websites out there that'll take a video and convert it to an FLV for you (for a price), for example we use a service called Hey!Watch which is reasonably reliable.

If you really want to encode it to flash yourself, you're going to need a full copy of Flash and a LOT of time =]

Ed Woodcock
"you're going to need a full copy of Flash and a LOT of time (...)" You could just `ffmpeg` or `memcoder` :)
voyager
+1  A: 

I suggest looking at the html5 <video> tag, this is probably the simplest way. For an example look at the the one from surfin' safari.

Be aware that some browsers support ogg and others h264, but not both.

Encoding of the video can be made using ffmpeg on the server.

Georg
+3  A: 

First you need a VideoPlayer written in Flash / Actionscript, there are also a lot of free ones arround in the internet, e.g.: FlowPlayer, You also could write you own. You acctually do not net to buy Flash for this. The Flash/Flex compiler mxmlc is available for free. You could also write you Flashvideoplayer in haXe (also free).

You you do not want the users to switch within the video you could deliver the videos via HTTP, other wise you need an streaming server like: FlashMediaServer (not free). There are also open source alternatives like Red5 or haxeVideo.

You you do not have the video available in the right format you need to encode them: the best tool for this task could be ffmpeg

Hippo
A: 

Download online streaming video with streaming video recorder,it can download any online streaming video like download yahoo video,download google video,download myspace video.

A: 

There is this highly underrated post with 3 great links for open source solutions that are like youtube and fits perfectly your question (and at least another one):

I'm posting this here just to point out the links. I think 2 of those 3 questions should be marked as duped anyway.

Cawas
A: 

Hi, you can try E.M. Total Video Converter Command Line, it is a powerful console utility for video conversion between almost all video types which will supply you an easy and effecient way to add video encoding features such as video editing, batch conversion, quality control, watermarking, subtitling and etc. to your server side application and build your own video hosting site on Windows and Linux server. Hope it helps!

crystal