This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
header_com [2012/01/11 16:37] jhb50 |
header_com [2012/11/12 02:08] mjb numerous edits for clarity, grammar, formatting, and to add command-line info |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | Some .mkv files have been created with header compression, which prevents their playback on devices that do not support that feature. Unfortunately the list of such devices is long. Removing the header compression will allow those videos to play on those devices. If you receive a message that the "File format is not supported" | + | ====== MKV header compression |
- | Remuxing does not recode | + | If you receive a message that the "File format is not supported" |
+ | |||
+ | Serviio can attempt to transcode these files into a different, playable format (if profile.xml has mkvHeaderCompressed=" | ||
+ | |||
+ | You can use [[mediainfo|MediaInfo]] to verify whether there is header compression. To remove the compression, | ||
+ | |||
+ | ===== About remuxing ===== | ||
+ | Remuxing does not re-encode | ||
The demuxing/ | The demuxing/ | ||
- | Download and install MKVToolNix: | + | ===== Requirements ===== |
- | > | + | You need to download and install MKVToolNix from http:// |
- | Run mkvmerge GUI | + | This will give you several tools for manipulating MKV files. You'll only be using mkvmerge, which, despite its name, can be used for more than just merging. |
+ | |||
+ | ===== GUI method ===== | ||
+ | Run the mkvmerge GUI (mmg or mmg.exe). | ||
Add the MKV file by Drag 'n Dropping into the "Input files" section or by using the " | Add the MKV file by Drag 'n Dropping into the "Input files" section or by using the " | ||
- | a. Open the "Extra options" | + | All video, audio, subtitles (subtitles are actually video tracks), and any other track that will allow " |
- | b. Highlight each Track. | + | |
- | c. Change the " | + | |
- | d. Repeat steps b & c until all tracks are set to " | + | |
- | Note1: Some tracks do not use this setting and will not allow it to be changed. | + | |
- | Note2: | + | |
- | a.) In the " | + | - Open the "Extra options" |
- | + | - Highlight each Track. | |
- | b.) Click "Start muxing" | + | - Change the " |
+ | - Repeat steps 2 & 3 until all tracks are set to " | ||
+ | - In the " | ||
+ | | ||
When muxing completes, close mkvMerge and play the file with your favorite media player or standalone device. The original file may be deleted when the new file is tested and deemed proper. | When muxing completes, close mkvMerge and play the file with your favorite media player or standalone device. The original file may be deleted when the new file is tested and deemed proper. | ||
+ | |||
+ | ===== Command-line method ===== | ||
+ | Each track in the MKV has a numeric ID starting at 0. Assuming the filename of the MKV is " | ||
+ | |||
+ | < | ||
+ | or | ||
+ | < | ||
+ | |||
+ | The output will look something like this: | ||
+ | |||
+ | < | ||
+ | Track ID 0: video (V_MPEG4/ | ||
+ | Track ID 1: audio (A_AC3)</ | ||
+ | |||
+ | Then you can use those IDs in the --compression options in the command line. Add " | ||
+ | |||
+ | < | ||
+ | |||
+ | That's all there is to it. The output file, output.mkv (or whatever you named it) should be playable. | ||
+ | |||
+ | The --clusters-in-meta-seek option is not related to compression; |