attachment-related command line handling is problematic
Original reporter: vvas AT hal.…
Hello,
Recently I installed mkvtoolnix out of the Debian packages provided, in order to use .mkv files for my dvd::rip output files. Well, mkvmerge seems to work great, apart from the command line options that have to do with attachments. In particular, the argument of --attachment-description seems to get overwritten and doesn't end up inside the resulting .mkv file. Consider an example command line from my system:
$ mkvmerge -o /media/tmp/kill.mkv killalllights2001.avi --attachment-mime-type text/plain --attachment-description 'My CPU information!' --attach-file /tmp/cpuinfo
When viewing the resulting file with mkvinfo, the description is "H~\022" instead (3 characters). If I change the order of --attachment-description and --attachment-mime-type then I get:
'die' called: cstrutf8_to_UTFstring: Invalid UTF-8 sequence encountered. Please contact moritz@bunkus.org and request that he implements a better UTF-8 parser.
In general, command line processing when it comes to attachments seems to be having serious issues. In fact, I haven't even managed to create an .mkv file with the description being what it was supposed to, so I won't bother uploading sample files. If you don't manage to reproduce this (!) then we'll see.
Thanks, Vasilis