Bugfixes to trap unsuccessful mp4 generation.