Written in Python, cross-platform (tested and seems to work fine on FreeBSD, Linux, Windows (XP, 2000, 2003))
Designed to run as background daemon process, it looks time to time into special 'request' database table, picks least recent record and performs conversion. Such approach are a lot better than executing 'convert.php' in background as currently implemented in ClipShare, because:
a) workload on video conversion server is constant through time (only one job at time is running opposing to as many as requested in current CS version)
doesn't require GD library to generate movie thumbnails (it uses mplayer's ability to extract JPEGs from movie stream and downsample it to specified size)
c) Have small memory footprint and able to run almost on any server
d) Secure. It doesn't open any sockets except one required to communicate to MySQL server.
e) Extensible Anyone can write additional functionality if required.
Also, because all video conversion requests stored in database table, one can query it to figure out how many requests complete, how many failed, total time of video data to convert etc.
Download text attachment below, edit contents to reflect your actual database/username/directory/program locations, rename it to videoconverter.py or any name your like with extension .py and run.
Any comments and/or suggestions are welcome.
This source code is in public domain and permission granted hereby to use and modify at your taste. The only requirement is to keep original copyright notice in comments.
Install & Use instructions follows in next post