I need to create a php script that will upload a video file onto the server, then convert the video to flash (flv) format using ffmpeg, and create a thumnail image, then add a record to a mysql database with the information about the new video including its location. Then give me the object code to play the video back in a player based off a mysql query that will select the video info from a database.
Specifics This would be an admin to upload video for the public or member of the website:
I would need to the following :
1. You need to create user interfaced pages including the upload form and the page to show the video.
2. You need to create the database where the video file info will be stored. (This will have, also additional field, such as Public or Private, Description , Title )
3. The website and database resides on the main server.
4. The server already has ffmpeg with all the component needed installed on it.
5. If you have a youtube clone script already installed called OS Tube on your video server. You are welcome to use parts of it if you want.
6. The php script that will upload the video file will need to support multiple video formats and convert it to FLV
7. While the file is uploading there should be status bar on the web page that shows the progress of the upload and the estimated time left.
8. The size of the file should be restricted to 500 mb and I should be able to change this somewhere.
9. After uploading the file it should direct the user to the video page where he can view or edit the fileds.
10. Then the script should convert the uploaded file to the flash format using ffmpeg.
11. Then the script should create a thumbnail image from the video using the first frame that is not black.
12. Then the script should delete the original video file that was uploaded off the server.
13. Then the script should insert a record on the main database with the video title, date, location of video flash file, location of thumb image in the table 'videos', with Public or Private, Description , Title etc... .
14. Create a webpage that will play the flash video embedded using a flash player
15. If the webpage to view the video is accessed while it is being converted a message should appear saying that it is still being encoded and to please check back later.
If selected for the project I will provide all server login details.
I will pay via paypal after the work is complete or escrow the amount , I can test that it is functioning.
Deadline: ASAP. Please include your expected completion date when bidding so I can take that into account.
If you are good, and have done this job correctly, i will probably have you do other sections of the website , and other project are comming down the road.