Transcodes mp4 and flv asynchronously

This can be improved by chaining streams together.
Once the first stream is finished encoding,
the upload can be marked as complete on the client-side.