MKV muxing has "Header Stripping" on by default

Bug report and feature request
Post Reply
SiliconKid
Beginner
Beginner
Posts: 7
Joined: Sun Jul 31, 2011 1:00 am

MKV muxing has "Header Stripping" on by default

Post by SiliconKid » Fri Feb 24, 2012 8:32 pm

This issue is more of an MKVMerge issue per se, than a MediaCoder issue, but it directly affects MediaCoder.

When an MKV is muxed with any recent version of MKVMerge, the resultant MKV file will have "Header Stripping / Compression" turned on.

This is a problem because:

a. A setting like that should be optional, not forced in my opinion. I'll decide if I want that kind of stuff enabled in my files.

b. There are certain devices in this world that flat out do NOT support Header Stripping and attempting to play an MKV with it on those devices results in audio with NO picture. The Seagate media players are prime examples of this.

I've personally written software that leverages MKVMerge to remux MKV files and remove Header Stripping and I know that it is possible to disable Header Stripping during the muxing process at a file level.

Unfortunately, the command line syntax required to disable it is specific to a particular output file and there does not appear to be a global switch you can hand MKVMerge.exe to disable it, you have to inject the right switches in the appropriate places when your MKVMerge params string is built up.

In short, you cannot go into the settings for MKVMerge in MediaCoder and supply a simple command line switch as an extra setting and get around this issue.

For this to be solved in MediaCoder, some special attention would be required. A tickbox to enable or disable the feature would be needed and then, when MediaCoder builds the command line params that it passes to MKVMerge when it's time to mux an MKV, MediaCoder will need to check that tickbox setting and inject the appropriate switches into the params.

It would be VERY nice if MediaCoder offered this because as it stands right now MediaCoder does everything I want and spits out an MKV file that is perfect in every respect other than the fact that Header Stripping is turned on in the file. Which means that I have to then go and remux the file AGAIN just to remove Header Stripping.

Fortunately remuxing the file isn't a terribly time consuming process and the software I've written largely automates that process now anyway, but it just seems very unnecessary to mux an MKV twice in a row when this could actually be resolved as part of the initial Muxing in MediaCoder.

flagpole
Modest
Modest
Posts: 259
Joined: Tue Jan 26, 2010 10:12 pm
Contact:

Re: MKV muxing has "Header Stripping" on by default

Post by flagpole » Fri May 04, 2012 5:52 pm

I wish there was an easy way around this.

a button for header stripping on/off.

i've been using ffmpeg as my mkv muxer, which doesn't compress the headers.
my quant puzzles http://puzzles.nigelcoldwell.co.uk go look :)

Killing Joke
Amateur
Amateur
Posts: 10
Joined: Fri Feb 20, 2009 5:59 pm

Re: MKV muxing has "Header Stripping" on by default

Post by Killing Joke » Thu Jul 12, 2012 6:31 pm

The problem with LG TV is the same, I allways have to remux the mkv with a standalone version of MKVMerge and set compression to none.

flagpole
Modest
Modest
Posts: 259
Joined: Tue Jan 26, 2010 10:12 pm
Contact:

Re: MKV muxing has "Header Stripping" on by default

Post by flagpole » Sun Dec 30, 2012 10:44 pm

still would really love this feature.

you can't add it to the command line, i don't think because you need to do it for each of the streams.
my quant puzzles http://puzzles.nigelcoldwell.co.uk go look :)

loki10
Beginner
Beginner
Posts: 3
Joined: Mon Dec 31, 2012 5:39 am

Re: MKV muxing has "Header Stripping" on by default

Post by loki10 » Mon Dec 31, 2012 9:35 pm

I also support this.
It is impossible to disable this feature using single command line.
it shoud be generated by the Media Coder, and included as option on MKVmerge options box.

Should we move this to Feature Requests ?

L.

meRobs
Expert
Expert
Posts: 3116
Joined: Tue Jun 23, 2009 2:45 pm
Location: Sydney, Australia

Re: MKV muxing has "Header Stripping" on by default

Post by meRobs » Mon Dec 31, 2012 10:30 pm

Good idea.
Consider it moved!
Have you checked out the Tips & Guides for MediaCoder? Try: http://forum.mediacoderhq.com/viewtopic.php?f=17&t=8061
Also, get older builds at: http://www.videohelp.com/tools/MediaCoder/old-versions#download

flagpole
Modest
Modest
Posts: 259
Joined: Tue Jan 26, 2010 10:12 pm
Contact:

Re: MKV muxing has "Header Stripping" on by default

Post by flagpole » Thu Jan 17, 2013 8:35 pm

I'm kind of bumping this thread.

also to say if you use FFmpeg as the muxer that does not use header stripping.

but obviously FFmpeg is not always suitable for muxing MKV, you can usually though set up a simple preset with audio and video set to stream copy that remuxes in to mkv using FFmpeg... ...a work around rather than a fix.
my quant puzzles http://puzzles.nigelcoldwell.co.uk go look :)

stanley
Site Admin
Site Admin
Posts: 4135
Joined: Mon May 15, 2006 7:43 pm
Location: Sydney

Re: MKV muxing has "Header Stripping" on by default

Post by stanley » Fri Jan 18, 2013 1:41 am

I will improve this.
When things work together, things work.

flagpole
Modest
Modest
Posts: 259
Joined: Tue Jan 26, 2010 10:12 pm
Contact:

Re: MKV muxing has "Header Stripping" on by default

Post by flagpole » Fri Jan 18, 2013 9:18 pm

YAY.

the way i had considered it working was just a check box on the MKVmerge tab called 'disable header stripping'
my quant puzzles http://puzzles.nigelcoldwell.co.uk go look :)

Post Reply