Skip to main content
Participant
April 8, 2007
Answered

How to set up a YouTube type service

  • April 8, 2007
  • 1 reply
  • 1279 views
I built an advertising website for one of my clients. He would like the website members (advertisers) to be able to upload videos and have them automatically appear on the website. (Sort of like how YouTube works, but he doesn't want to use YouTube).

Does anyone know how to do this?
    This topic has been closed for replies.
    Correct answer
    You should consider this things :

    Streaming video
    - require FMS($$$$)
    - use port 1935 or can tunneling on port 80 but there's always someone who's on a network that restrict this port..
    - if you host yourself you will need a different IP for FMS : FMS and your web server will fight on controlling port 80
    - need more time to develop
    - skills in server-side and client-side actionScript
    - less bandwidth(if the client doesn't play the entire movie)

    Progressive video
    - flash viewer only need path to flv or swf to play
    - server-side code can be PHP, ASP, ASP.NET.... or from a WebService (using AMFPHP or Flash Remothing)
    - higher bandwidth(client need to download the entire movie)
    - faster development

    Here's my opinion base on information that you post... but I think that you should post again but this time add more informations.... I think you should go for the progressive way for this reasons :

    - portability : you doesn't need to have a streaming server(FMS) to play media and you can put those files on any web server (Apache, IIS....)
    - firewalls : you have no problems about this issue...
    - developing time : add a table in your BD that contain path to your adds, create a script that return those paths, create a video player and voila!



    P.S. YouTube use progressive video...

    1 reply

    Correct answer
    April 9, 2007
    You should consider this things :

    Streaming video
    - require FMS($$$$)
    - use port 1935 or can tunneling on port 80 but there's always someone who's on a network that restrict this port..
    - if you host yourself you will need a different IP for FMS : FMS and your web server will fight on controlling port 80
    - need more time to develop
    - skills in server-side and client-side actionScript
    - less bandwidth(if the client doesn't play the entire movie)

    Progressive video
    - flash viewer only need path to flv or swf to play
    - server-side code can be PHP, ASP, ASP.NET.... or from a WebService (using AMFPHP or Flash Remothing)
    - higher bandwidth(client need to download the entire movie)
    - faster development

    Here's my opinion base on information that you post... but I think that you should post again but this time add more informations.... I think you should go for the progressive way for this reasons :

    - portability : you doesn't need to have a streaming server(FMS) to play media and you can put those files on any web server (Apache, IIS....)
    - firewalls : you have no problems about this issue...
    - developing time : add a table in your BD that contain path to your adds, create a script that return those paths, create a video player and voila!



    P.S. YouTube use progressive video...
    Participant
    August 13, 2009

    Another note about Streaming vs Progressive:

    It's harder for end users to steal streamed video.  They need a stream ripper of some sort and even then the quality of their bootleged video is not the best.  So streaming offers some deterrent from content theives.

    Progressive videos are stored on a server just like images or css files.  People can surf directly to the location of your flash movie and download it to thier computer.  Thus stealing a perfect copy of your movie.  Worse yet, the could deep link directly to your movie and claim your movie as it's own on their web site. (NOTE: there are ways to prevent deep linking of your content with the Apache web server's mod rewrite module)

    Also:

    A lot of people still use Quicktime and Apple's Darwin Streaming Media server is completely free and reliable.  It runs on Apache web servers and it streams quicktime videos.

    Red5 is a completely free, open source flash streaming media server.  It too runs on Apache web servers.  This one can stream flash.

    If you want to make it harder for people to steal your content, then your only choice is streaming.