stop if transcoding fails. Fixes #533