Closes #19 and #20. Transcoder no longer gets into a weird state if ffmpeg fails to execute.