webkul
webkul

Reputation: 2864

Online video streaming

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

Upvotes: 3

Views: 2578

Answers (4)

TheHippo
TheHippo

Reputation: 63139

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

Upvotes: 4

cregox
cregox

Reputation: 18390

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.

Upvotes: 0

Georg Schölly
Georg Schölly

Reputation: 126085

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.

Upvotes: 1

Ed James
Ed James

Reputation: 10607

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 =]

Upvotes: 0

Related Questions