If you have not already, we suggest setting your Plex username to something else rather than email which is displayed on your posts in forum. You can change the username at https://app.plex.tv/desktop#!/account
Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

Header Compression in MKV files

ChuckPAChuckPA Posts: 22,186Members, Plex Pass, Plex Ninja, Plex Team Member Plex Team Member
edited June 2017 in Linux Tips

Header Compression in MKV files

If you encounter any issues with header compression in MKV files, this little script will tell you which files in the current directory are using it.

IFS=$'\n'
for infile in `find . -name "*.mkv"` 
do
 uses_compression=$(mkvinfo "$infile" | grep "header removal")
 if [ -n "$uses_compression" ]; then 
    echo $infile 
 fi
done`

Obviously the script can be expanded and mkvmerge invoked to remux without header compression.
PMS has gotten much better at detecting this but may not catch all cases (AFAIK)/

Please DISABLE Verbose logging until requested

Please search before posting

Primary support: Linux, Synology, and QNAP

Please remember to report back. This benefits others.

Useful links

 Installation and Basic Setup |  Media Preparation (How to name your media files)  |  Linux Permissions 

 Handling TV Specials | Handling Movie extras  |  Nas Compatibility

 Reporting Plex Server issues | Plex Media Server FAQ | Linux Tips

 

Other useful guides: Local Subtitles | The Plex "dance" | Synology FAQ | PMS Release Announcements

Hosts: Fedora, QNAP, Synology, most Linux distros in VM

No technical support via PM unless offered

Please remember to mark the appropriate answer(s) which solved your issue.

 
This discussion has been closed.