I am currently working on a rather large site that requires several thousand files to be encoded using ffmpeg in flash format (along with creating thumbnails, encoding mobile files). Average coding works for about 5-15 minutes, as these are rather large source files. At the end of the task, the outputs should be sent to different servers (a flash file in one box, thumbnails in another, a mobile file in another, and a source file in another).
During these processes (at the moment it’s 13 steps) there is a LOT that can go wrong at any given time (bad files, stuck encodings, network latency, dying servers, peak wire), so error handling is a bitch.
Are there existing solutions for this kind of work? Or do I just need to adjust my homegrown scripts?
user15063
source
share