views:

141

answers:

5

How can I embed any type of video onto a webpage, youtube seems to be able to upload any type of video and I'd like to know if I can do that too without huge amounts of resources and money (the website would be very small with definitely under 100 member, most likely under 50)

Is there a player that plays all formats, or would I have to use different players?

Also on HD videos I'd like to have a SD option.

+2  A: 

There is no player that plays all formats. You would either have to restrict the containers and codecs usable, or farm off reencoding to another process.

Ignacio Vazquez-Abrams
I had guessed that be the case,it seems to obvious to exist.
Jonathan
+1  A: 
  • shwup.com can host collaborative video albums to share amongst friends / family / classrooms only. unlimited uploads. since you want private sharing.

  • another cool way is to use one of the video APIs to upload/encode to the cloud, e.g.: YouTube Data API, Vimeo API, Hey!Watch, Orb, Phanfare

  • For players: JW Player is pretty nice.

  • Flowplayer is great as well.

  • if you have ffmpeg on your host, that can easily handle conversion between most popular formats

  • if you're doing tons of encoding and self-hosting the files, another option is uEncode.com - an on-demand web service to convert between formats

  • also you could just upload the files to a regular account on one of the sharing sites like youtube, veoh, and embed them in your site. let them provide the bandwidth :)

jspcal
JW Player hands off the playing of the video to the Flash plugin, which has limited codec/container support.
Ignacio Vazquez-Abrams
you can encode it using ffmpeg or uEncode before streaming it, if the format isn't natively supported
jspcal
I'd prefer the videos to visible to only members of the site (family), then people who upload can choose to link from youtube and such
Jonathan
shwup.com would be a pretty good app for that. no need to host a lot of stuff on a shared web host
jspcal
+1  A: 

I use JW Player: http://www.jeroenwijering.com/?item=JW%5FFLV%5FPlayer

AlbertEin
+1  A: 

YouTube uses ffmpeg (free and open-source) to convert uploaded video to a Flash format for embedding. You can do the same, if you like.

ceejayoz
I have heard this takes a lot of resources (is that the right word?) and that hosts dont like it.
Jonathan
Yes, it takes a substantial amount of resources if you're doing a lot of video processing. Issues with hosts can be resolved by getting a dedicated VPS slice somewhere like Slicehost.com or Linode.com.
ceejayoz
A: 

Decided to use Divx webplayer, as it does avi, divx, and mkv (mts can convert to mkv easily)

Jonathan