I need a little php file that generates for example this webplayer code for embedding the DivX Web Player: [url removed, login to view]
Where the URL-OF-SERVER is picked from a list of server URLs entered by admin in the admin control panel.
Where the NAME-OF-FILE is just the name of for example a DivX file which would be located at the server URLs.
This code is thus to balance bandwidth usage for video streaming among several servers. If you can do just that I will pay you basic price.
If you can do following features I will pay you more:
- Each server has a max mbit/s to be input using the admin control panel, for example 100mbit/s. Also max monthly GB bandwidth usage can be input. Thus the php file should estimate how much mbit/s is used at any certain time, because each video has also got bitrate and filesize inputted by the admin using the control panel. So for example if 100 users connect to watch a 700mb 1mbit/s file within a period of 1h and a half, then the script knows "Too many users connected, please try again later".
I'll pay you even more if you can do:
- Each server has a .htaccess file in the root that limits file access only using the specific php script. Thus if people try to download the file using their download manager it should not work, it should only stream using the php script.
Also I'll pay you more if you have a solution to:
- Copy an uploaded file from a specific ftp account, over to the other registered mirror servers using the ftp accounts to connect to them. Those ftp accounts could be entered in the admin control panel of this system. Each user who uploads, could have a profile that specifies megabyte limit for storage, for bandwidth per month and for bandwidth per second, and the amount of mirror servers to use.