Jun 23 2008

Requirements for a Video Website

If you are planing to start a video website like youtube, here is some things to keep in mind.

FLV PLAYER
========

You know in now a days most of the video streaming websites use flash player for video streaming. The video file is in flv format. So you need a flash video player for this purpose.
You can download a free flash / flv player from : http://www.jeroenwijering.com/?item=JW_FLV_Player
or http://flowplayer.org/

FORMAT CONVERSION
===============

Now you need videos in flv file format. In normal cases, most of the videos uploaded by an user will be in avi, dat ,mpg,mp4 or 3gp. So you need a flv converter. You can use either ffmpeg library or mencoder for this purpose

Here is a sample video emmbedding method.



codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,18,0"
width="450" height="375" id="/YouTube_video/youtube" align="middle">
bgcolor="#ffffff" width="450" height="375" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />;

Here src parameter points the swf file, the flash palyer and video parameter points the flv file. This is the format of player i used in http://www.amvizone.com

ffmpeg also can be used for making thumbnails and video watermarking

STORAGE and BANDWIDTH
=====================

Where would you save flv files. In yourown server ? If there is a minimum number of videos, your server might handle it. But consider the case having a large number of videos, your server bandwidth will get used soon. So we have to switch into a CDN (Content Data Network) like amazone S3. What you have to do is just register with any CDN website and use their webservices for uploading and manipulating your video files. These CDN have very reasonable cost for the bandwidth usage and storage space.

Comment here if any queries
Regards

Sajith M.R

5 Comments on this post

Trackbacks

  1. Fkay said:

    NICE WORK..

    Download the latest application for your mobile that enables you to watch youtube videos on your mobile and suprsingly faster thn watching on computer..
    Mobitubia…
    -FLV PLayer
    -Youtube player

    http://fkay.blogspot.com/2008/06/mob-app-pack-1.html

    Fkay
    http://fkay.blogspot.com/

    June 23rd, 2008 at 8:18 pm
  2. miami said:

    thank for a very good information

    July 12th, 2008 at 10:58 pm
  3. izero said:

    Try http://www.intuitive.sk/fflib/ .. it is free ffmpeg based library

    August 28th, 2008 at 2:02 pm
  4. m_29 said:

    I am creating a website for video sharing.
    I require the following:
    1)I need an php script to upload files
    2)Howto convert videos of any format into flv
    3) How to use ffmpeg( i am using windows)
    4)A script to convert videos of any format into flv
    5) How to create video thumbnail
    6)How to create a database to store videos

    September 1st, 2008 at 8:35 pm
  5. Indunil said:

    Hi,

    I do also want to develop a simple video sharing app. However since I am running on shared hosting, how can I go for ffmpeg and/ mencoder…

    How do I can convert videos o FLV using PHP, through Mencoder ?

    October 23rd, 2008 at 5:53 pm

LEAVE A COMMENT

Subscribe Form

Subscribe to Blog

Sponsors

    Advt on sajithmr.com
    Advt on sajithmr.com
    Advt on sajithmr.com
    Itslife Online

Recent Comments

  • Binny V A: Thanks for the post - love the picture ;-)
  • TheAnand: A lot of people are seeing errors with google video chat….is there any other software which has to be...
  • Alex: Wow, interresting analysis you have done! I’m trying to run GoogleVoiceAndVideoSetup on linux, using...
  • Mella Fitriansyah: Nice plugin, I will try to add this plugin in my blog…
  • Mella Fitriansyah: Nice Info, Sir i will reading your another post success for you

Recent Readers

JOIN MY COMMUNITY!

Recent Posts