The script now parses mkvinfo output

It uses the output to decide whether the audio or video is in the first stream and
what codec they are encoded with