Admin,

Our programmer says, "Holding the database connection open like that is a very bad idea. You should close the connection and write the data to an array while the video is processing and then insert the data in the array into the database."

This will solve the problem for those that are getting a "MySQL has gone away" error during conversion.