1. Короткий опис
2. Опис
This program lists all elements contained in a Matroska(tm). The output can be limited to a list of tracks in the file including information about the codecs used.
Option | Description |
---|---|
-g, --gui |
Start the GUI. This option is only available if mkvinfo was compiled with GUI support. |
-c, --checksums |
Calculates and display the Adler32 checksum for each frame. Useful for debugging only. |
-s, --summary |
Only show a terse summary of what mkvinfo(1) finds and not each element. |
-t, --track-info |
Show statistics for each track in verbose mode. Also sets verbosity to 1 if it was at level 0 before. |
-x, --hexdump |
Show the first 16 bytes of each frame as a hex dump. |
-X, --full-hexdump |
Show all bytes of each frame as a hex dump. |
-z, --size |
Show the size of each element including its header. |
--command-line-charset character-set |
Встановлює набір символів заданого в командному рядку для конвертації. Типово використовується набір символів згідно поточної локалі системи. |
--output-charset character-set |
Встановлює вихідний набір символів заданого в командному рядку для конвертації. Типово використовується набір символів згідно поточної локалі системи. |
-r, --redirect-output file-name |
Writes all messages to the file file-name instead of to the console. While this can be done easily with output redirection there are cases in which this option is needed: when the terminal reinterprets the output before writing it to a file. The character set set with --output-charset is honored. |
--ui-language code |
Forces the translations for the language code to be used (e.g. 'de_DE' for the German translations). It is preferable to use the environment variables LANG, LC_MESSAGES and LC_ALL though. Entering 'list' as the code will cause mkvinfo(1) to output a list of available translations. |
-v, --verbose |
Be more verbose. See the section about verbosity levels for a description which information will be output at which level. |
-h, --help |
Відображається інформація про використання додатку і відбувається завершення роботи додатку. |
-V, --version |
Відображається інформація про версію додатку і відбувається завершення роботи додатку. |
--check-for-updates |
Відбувається перевірка на наявність нової версії шляхом завантаження з URL http://mkvtoolnix-releases.bunkus.org/latest-release.xml. Буде відображено чотири рядка у key=value стилі: URL, звідки отримана інформація (key version_check_url), поточна запущена версія (key running_version), остання випущена версія (key available_version) і URL для завантаження (key download_url). Після чого додаток завершує роботу з кодом повернення 0, якщо немає нової версії, і з кодом 2, якщо виникла помилка (наприклад, коли не було отримано інформації про оновлення взагалі). Дана опція наявна лише тоді, коли додаток компілювався з підтримкою libcurl. |
@options-file |
Зчитує додаткові параметри командного рядка з файла options-file. Рядки, які містять зразу після символу переносу рядка мітку хеша ('#') сприймаються як коментарі і ігноруються. Символи переносу на початку і в кінці рядка опускаються. Кожний рядок має містити лише один параметр. 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 |
3. Verbosity levels
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.
4. Коди завершення
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.
5. Виокремлення спеціальних символів у тексті
Є декілька місць, де спеціальні символи у тексті мають або повинні бути виокремлені. Правила для виокремлювання прості: кожен символ, що потребує виокремлення, замінюється на зворотній слеш з деяким символом, що йде після нього.
The rules are: ' ' (a space) becomes '\s', '"' (double quotes) becomes '\2', ':' becomes '\c', '#' becomes '\h' and '\' (a single backslash) itself becomes '\\'.
6. Дивіться також
mkvmerge(1), mkvextract(1), mkvpropedit(1), mmg(1)
7. WWW
Остання версія завжди може бути знайдена на веб-сторінці the MKVToolNix homepage.