I was searching google and forum and I can't find a response in my case.
I have some MKV files, and the 32 track don't have a CODEC ID value in none of these files, the file plays fine in HC-mpc and Potplayer, but I can't open this file in Multiplixer of mkvtoolnix, it says error code 2 and don't load the file.
Looking into the mkv info I notice that codec id is missing, but editing manually this value to S_TEXT/ASS in Header Editor it allows mkvtoolnix load the files in Multiplixer.
My question is, there is a way to use mkvmerge.exe from command line to make a batch file and set this value in all mkv files?
Or maybe delete/exclude this track?
I try these commands without success:
(1) mkvmerge.exe -o "test.mkv" -s !32 --compression -1:none "_test.mkv"
(2) mkvmerge.exe -o "test.mkv" --track-tags !32 --compression -1:none "_test.mkv"
Without editing in "Header Editor", mkvmerge.exe exits with error "matroska_reader: Codec Id is missing".
+ Reply to Thread
Results 1 to 5 of 5
Last edited by Lokotito; 27th Jan 2020 at 15:27.
If any one is interested, I drop this track (and reorder audio) with this command using ffmpeg:
ffmpeg -i "test.mkv" -ignore_unknown -map 0:v:0 -map 0:a:1 -map 0:a:0 -map 0:s -map -0:s:27 -map -0:s:28 -c copy "_test.mkv"
Last edited by Lokotito; 28th Jan 2020 at 08:45.