-r, --redirect-output file-name
Afterwards the program exists with an exit code of 0 if no newer release is available, with 1 if a newer release is available and with 2 if an error occured (e.g. if the update information could not be retrieved).
This option is only available if the program was built with support for libcurl.
Several chars can be escaped, e.g. if you need to start a non-comment line with '#'. The rules are described in the section about escaping text.
The command line 'mkvinfo -v -v input.mkv --redirect-output info.txt' could be converted into the following option file:
# Be more verbose -v -v # Parse input.mkv input.mkv # and write the output to info.txt --redirect-output info.txt
The -v option can be used to increase mkvinfo(1)'s verbosity level and print more information about the current file.
At level 0 mkvinfo(1) will print only the track headers it finds and their types. mkvinfo(1) will exit as soon as the headers are parsed completely (more technical: as soon as the first cluster is encountered). In this level the seek head entries and the cues will not be displayed -- even if they're located in front of the track information.
At level 1 mkvinfo(1) will also print all Matroska(TM) elements encountered for the complete file but the seek head entries and the cue entries. If the summary mode is enabled then mkvinfo(1) will output the frame position as well.
At level 2 mkvinfo(1) will also print the seek head entries, the cue entries and the file position at which each Matroska(TM) element can be found at.
At level 3 and above mkvinfo(1) will print some information that is not directly connected to a Matroska(TM) element. All other elements only print stuff about the elements that were just found. Level 3 adds meta information to ease debugging (read: it's intended for developers only). All lines written by level 3 are enclosed in square brackets to make filtering them out easy.
mkvinfo(1) exits with one of three exit codes:
0 -- This exit codes means that the run has completed successfully.
1 -- In this case mkvinfo(1) has output at least one warning, but the run did continue. A warning is prefixed with the text 'Warning:'.
2 -- This exit code is used after an error occurred. mkvinfo(1) aborts right after outputting the error message. Error messages range from wrong command line arguments over read/write errors to broken files.
There are a few places in which special characters in text must or should be escaped. The rules for escaping are simple: each character that needs escaping is replaced with a backslash followed by another character.
The rules are: ' ' becomes '\s', '"' becomes '\2', ':' becomes '\c', '#' becomes '\h' and '\' itself becomes '\\'.
mkvmerge(1), mkvextract(1), mkvpropedit(1), mmg(1)
The latest version can always be found at m[blue]the MKVToolNix homepagem.
Moritz Bunkus <email@example.com>