Improve ffmpeg error reporting in case of input/output stream mismatch,