Make a script that will automate file encoding using the command line application provided with VideoProducer
I need a script running on a server using Windows 2003 to recieve files sent by HTTP POST, encode them using RealNetworks VideoProducer, FTP the encoded file to the main server and signal the other server that the file has been recieved via HTTP POST.
PHP preferred but not required.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
**********************************
1) The script must verify the creditials of the recieved information with a request to [[login to view URL]][1] This page will return a 1 if these credentials match and a 0 if they do not, at which time the program will either continue or terminate and delete the uploaded information.
2) Upon verification, the script will encode both a 56k stream and a 256k stream using RealProducer. If RealProducer is encoding another file at this time, it will be queued and will be encoded once the current one is finished. The script must allow for many files to be queued in this manner so that a large number of files uploaded at once will not crash the server or significantly slow down the encoding process of each individual file.
3) If RealProducer cannot encode the file, send an error message to the main server via HTTP Post, including the username and key code.
4) Upon successful encoding, ftp the file to server, and signal that it has been sent using HTTP post to the main server.
5) All authorizations and settings (e.g. ftp server, username and password) should be strings in an easily accessible and well commented config file.
## Platform
Windows Server 2003