View Full Version : chapterEditor(Chapter-Database Disc2mkv Matroska-Tools[Tags,Menu,Multi-MKV])+CLI
Pages :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[
16]
17
18
RivDoVi
15th June 2023, 13:20
Here are the steps :
- Demuxing 00800.mpls normally ; no "episode demuxing" here as it would be pointless since this is the first edition.
- Demuxing 00801.mpls, checking episode demuxing this time to be able to use only the required m2ts parts once extracted..
This gives indeed separate extracted video/audio/subs files for all parts.
- Since all parts are labelled [1] [2] etc (example : 5900 [1] PID 1011.hevc) ... i removed the unneeded ones using the "M2TS list" provided by DGDemux, for alien it was 1/2 to delete which is quite logical so i only kept the parts with even numbers (2/4/6 etc)
- I then appended all these parts to the corresponding audio/video/subs etc... part from 00800.mpls in mkvtoolnix
- I then dropped the tags.xml and the chapters.xml that i previously generated with BD2mkv cE to mkvtoolnix and then muxed everything.
It now works absolutely flawlessly.
I can't vouch for very very short m2ts file like 1/2s as my shortest was indeed 30 second (real playtime) but if you have an example i could try it for you :)
Also a quick note : I tried "chop excess audio" during my first trial with DGDemux and this screwed audio in the last portion of the mkv so avoid to check that lol.
Of course, creating a custom playlist would avoid all these steps as you say. This would be the best option but i have absolutely no knowledge as to how to create a playlist sadly.
Hope it's useful :D !
hubblec4
15th June 2023, 13:39
Thanks for your answer.
The steps are good described and I know what is to do.
I have also asked before a few seconds in the DGDemux forum to an option for the "-ep" demux to specify a list of needed parts/m2ts files.
https://www.rationalqm.us/board/viewtopic.php?p=17262#p17262
I think a small m2ts file with a short duration should also work.
For -ep demuxing DGDemux don't accept the -sf and -sl switches but this can be ignored and cE will not use such short m2ts files.
OK, good to know that "chop excess audio" not work. I don't understand fully what are the differences between this and remove gaps and strict-playlist.
I understand well the mpls structure but it is different to create a new one, so this will be my last option because I think this needs some time to learn.
RivDoVi
15th June 2023, 14:54
Okay browsing the forum you linked i just stumbled upon this thread : https://www.rationalqm.us/board/viewtopic.php?f=16&t=1174
Second post talks about DGIndexNV being capable of extracting separate M2TS.
I then tried and it worked ! I loaded the playlist 00801.mpls in DGIndexNV, then went to "open" and deleted the unnecessary m2ts files and reorganised the files as i wanted them to be, selected the audio/subs i wanted to be kept, and then clicked "save project".
It extracted and joined all M2TS selected in the order specified.
While it doesn't extract all M2TS separately, this is very useful because i obtained all the requested second edition parts in 1 file for each audio/video/subs.
So in theory it should be possible to use DGDemux to extract the main playlist, then use DGIndexNV for the parts needed for second,third etc... editions.
I don't know if DGIndexNV support Dolby Vision though as this is mandatory to correctly extract high quality UHD like Gladiator. Losing Dolby Vision is not conceivable.
This is still not a fully automated process but it makes the task less cumbersome as extracting every m2ts with DGDemux was really a pain :D !
hubblec4
15th June 2023, 18:47
Many thanks for this tests, I will report this to DGDemux because he has think about to implement this DGIndexNV(sorry I has said before DGDecNV) feature into DGDemux.
Could you make another test with DGIndexNV where you load the 00800.mpls and add all other missing m2ts from 00801.mpls to get one fully stream(per stream type) for all Editions?
When this feature is implemented in DGDemux all will be very easy.
I have already a simple support for DGIndexNV in cE it is used in the BD2mkv editor for the Split feature because I can load a m2ts list.
But this tool is not free. So I want implement it for demuxing in BD2mkv.
hubblec4
15th June 2023, 20:11
A note: You don't need to extract others then audio streams. Only this stream type is the bottleneck. Video and subtitle streams are well handled by MKVToolNix.
But for DoVi is a demux for the video necessary.
This should safe time for the moment for manually creating.
RivDoVi
16th June 2023, 10:25
Hi.
Okay i was able to load the 00800.mpls, then i manually added the required 00801 parts at the end and it seemed to work as well. However it's a bit cumbersome to do in DGIndexNV because when i added multiple m2ts they were sorted by title. Which means if your second edition has files named 687/688 and your first editions are labeled 700/701 etc... the second edition parts will be on top, so you have to manually descend each file one after another lol. But yes it worked during my test and is a good temporal solution.
However, since the objective is to be able to correctly support UHD discs, there is no DV support at all in DGIndex, i just tried with Gladiator and the DV layer wasn't processed so yes, DGDemux support would be a lot better.
Also, thanks for the tip. I knew MKVToolnix could correctly cut video files but i wasn't sure about the subs. Thanks a lot, that will help me save my SSD a bit, i think i must have processed a few TB of data for all these tests lol :).
hubblec4
16th June 2023, 15:38
Many many thanks for your testing and I'm very happy to read it works.
I have also requested for DGDemux to implement the m2ts-list loading feature from DGIndexNV and your test proves it works.
I have made a bit progress last night to implement DGDemux in cE but I think I will take some time more to be finished.
Currently I have no UHD disc with DoVi for testing.
Gladiator is such a disc, do you know other discs with DoVi?
RivDoVi
16th June 2023, 16:30
I'll be glad to test it once it's done, take your time :) ! I'm happy to be able to help as i"m a remuxing nerd as well lol.
You can find pretty much all Dolby Vision bluray titles here : https://www.nextgenhometheater.com/dolby-vision-uhd-blu-ray-movies/
I took the example of gladiator because it has both Dolby Vision, seamless branching & 2 cuts of the movie on the disc which makes it a perfect guinea pig !
Edit : Okay i also tried a different type of "custom 2in1" for the sake of experiment : I took an extended cut dolby vision remux of Gladiator in .mkv and tried to mux the theatrical cut part in m2ts format from the UHD Bluray. I used MakeMKV to extract the video parts to retain the DV layer for each part and DGIndexNV for subs & audio.
To my greatest surprise, cE was able to create the chapters required for both cut while just looking at the mpls files, i did not even have to copy all m2ts, it seems the mpls & clipinf files are enough to generate chapters in cE which is very good !
So the good news is that i was able to correctly create a new Dolby Vision mkv with both cut, synced audio, but sadly there is a black frame for a split second before each theatrical cut parts transition, so yeah, gonna have to stick to full m2ts when creating 2in1 editions here as muxing mkv+m2ts source files doesn't do well i suppose ^^ !
hubblec4
16th June 2023, 18:56
Thanks for the link.
Gladiator seems indeed a good choice for testing, it is not my favorite movie but I will order it,maybe I find another one :-)
cE needs only the mpls files to create the magic Xin1 chapters and this shows me how powerful Matroska chapters can be, if the player has a proper support.
Blu-ray uses more or less the same system like ordered chapters. For each m2ts which is used there are IN- and OUT- times -> chapter start - chapter end.
Interesting test, but not a perfect solution and yes, wait a bit. I don't know if Makemkv removes the Audio gaps correctly.
Also the m2ts files of the first Edition need to be treated.
I hope DGDemux gets the m2ts-list import feature, if not I will code the workaround with the -ep demux option.
hubblec4
17th June 2023, 01:22
Here (https://forum.videohelp.com/attachments/71754-1686961128/cE.7z) is a first test version with the basic support for DGDemux.
DoVi and multi-Edition-mkv are currently not yet implemented.
RivDoVi
20th June 2023, 17:25
Hi there !
Okay so today i tried to re-remux the Alien UHD to find the quickest and ssd-friendly (meaning the less data written the better) way for the sake of experiment, and tried to see if it was okay to only demux the audio + subs via DGDemux/DGIndexNV.
Alien UHD is a very interesting guinea pig because of seamless branching, lots of audio in different format & channels, and the fact that i want to convert the DTS-HD 2.0 to FLAC like all the remux i make.
Sadly, demuxing only audio & subs was bad as the final output displayed severe audio problems & black screen during transitions on the second edition. It seems MKVToolnix is incapable of cleanly muxing the appended video m2ts files.
So nope, you have to demux the whole content to get a working multi-edition remux on this one (and possibly most UHD).
However the end result is very good.
So the steps are :
Opening the main playlist in DGIndecNV, then manually adding the m2ts in the required order to it. Demuxing video/audio/subs.
Opening the disc with chapterEditor, creating the tags and adding some more for IMDB/TMDB references + chapters files for the two editions. We won't use the mtxcfg.
EAC3To the DTS-HD 2.0 track generated by DGIndecNV to FLAC.
Opening MKVToolnix, dropping every files from DGIndecNV, adding tags & chapters.
This is currently the only way to get a proper result.
The only thing i'm wondering is if it is possible to directly name the chapters of the 2 editions in cE as it would save me a lot of time.
Edit : Found it :) ! Only thing i had to type manually is the second edition.
Here is the Mediainfo pastebin of the final file ; seems chapters are correct : https://pastebin.com/8Up6NGmX
I was unable to remove the "Directors'Cut" on the Movie Name part though, for an unknown reason it still appears.
I am going to try to do Gladiator this time, which is DTS:X & Dolby Vision and see how to get a perfect DV functional result.
hubblec4
20th June 2023, 21:58
Many thanks for your next test and the fact that also the video stream have to be demuxed.
I have never demuxed the video stream for a multi-Edition mkv, but this was ever a Blu-ray, not UHD.
Mmh good to know that DGIndexNV works. I still hope that DGDemux will be able to load an m2ts list. But if not, maybe I change my opinion and implement DGIndexNV for the demux process, but merging DoVi is than not supported.
Currently I'm not sure where I should place the DGDemux option.
There are 4 options for DoVi and two more options for removing audio issues.
Where do you think makes it best to place the DGDemux options?
1. in the settings -> external programs
2. in the settings -> BD2mkv
3. direct in BD2mkv
RivDoVi
20th June 2023, 22:39
As you said, i think it will all depends whether DGDemux is updated to support m2ts or not.
If yes, then there should be no reason not to make it the default BD2mkv program.
For now, multiple programs needs to be used to produce a correct UHD multi edition so....
Like you said, BGIndexNV would be a perfect choice but it can't extract the DV layer.
The only programs able to extract such layers are DGDemux and MakeMKV afaik. I'm going to need a few trials and error with these two to produce a Gladiator DV multi-edition remux (if possible)
hubblec4
21st June 2023, 00:30
So, I have invested a bit in creating a new multi-edition mpls.
And here (https://forum.videohelp.com/attachments/71868-1687303511/99999.7z) you will find an mpls for Gladiator UHD which contains both editions:
The short version (2h:34min, 00389.mpls) is the first one.
Can you check if this works with DGDemux first, cE is not ready with DoVi.
RivDoVi
21st June 2023, 12:06
Wow, nice one ! I added your playlist to the UHD and yes, it works, both playing the playlist directly in MPC-HC and adding it to DGDemux. The latter perfectly recognizes all m2ts in the correct order !
May i ask you what did you use to generate a new playlist ? Could be useful for other discs :) !
hubblec4
21st June 2023, 12:20
Cool, good to know it works.
This was a manual process.
With the BDTools I have created for each mpls a .json file and than copy and paste the m2ts playitems and the sub-playitems and change the sub-playitem IDs.
This new .json convert back to mpls with BDTools.
But all this should be coded in a small tool without BDTools.
Now we have two options if DGDemux not implement the m2ts list feature.
hubblec4
21st June 2023, 13:18
It seems Rocky is willing to add the m2ts list feature.
https://www.rationalqm.us/board/viewtopic.php?p=17327#p17327
RivDoVi
21st June 2023, 14:26
I read his post and yes, this looks like the perfect solution and he says it's pretty easy to implement :) !
Opening MPLS and adding m2ts at the end is all that is required indeed.
Also, i was wondering (though i think the answer will be no as i don't see how) : Is there a possibility to "revert" a multi editions mkv to multiple simple editions ?
For example, like you did on gladiator, if you have the theatrical cut at the beginning & the Extended at the end, being able to make an mkv of the Extended ?
This would allow me to throw the UHD Folder entirely and keep only the multi-editions mkv for storage (but as i said, i'm pretty sure it's impossible lol).
hubblec4
21st June 2023, 16:33
Yes, there exists a tool to extract an Edition you want from a multi-Edition mkv.
cE -> Multi-MKV: use the Split option.
But this process is not 100% perfect because MKVToolNix split the multi-Edition mkv to parts, which plays fine,
but after appending all parts, there are maybe hiccups on the transitions.
BD2mkv add some info to a multi-Edition mkv for better splitting. BD2mkv settings: Insert an edition with segment information (Multi-MKV)
RivDoVi
21st June 2023, 23:33
Okay, so i'm trying to do as you say :) !
However it doesn't seem to work when using Multi-MKV split function. I tried "Extract Editions" & "Extract Doubles" to no avail, i get the following errors :
Multi-MKV Log
Split Start: MKVToolNix files and chapters are prepared
Process edition 1
Split map: 1+12-13+24
Splitting start
MKV file could not be created
Process edition 2
Split map: 1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46
Splitting start
MKV file could not be created
Split Start: MKVToolNix files and chapters are prepared
Process edition 1
Split map: 1,12,13,24
Splitting start
MKV file could not be created
I successfuly generated the third hidden edition for better splitting ofc :D !
Edit : Ah shit, it seems that's because i have a FLAC audio on the MKV lol; manually muxing using the generated bat file allowed me to see the origin of the problem :
Error: The track ID 3 from the file 'Alien.1979.2160p.UHD.BluRay.2in1.HYBRID.REMUX.HDR10+.HEVC.DTS-HD.MA.5.1.mkv' cannot be split. Splitting tracks of this type is not supported.
hubblec4
22nd June 2023, 11:54
Never ever use FLAC :-) (in Matroska)
I had used it for a loong time also but I have many issues with that, so I decide me to keep ALWAYS the original streams.
In MTX there is a switch which allows to split mkv's with FLAC but the result is a damaged header FLAC. The file would be playable but no longer correct for other apps.
hubblec4
22nd June 2023, 19:33
Hi RivDoVi
Rocky has provided a test version
https://www.rationalqm.us/board/viewtopic.php?p=17342#p17342
Could you also make a test with the Gladiator UHD?
Select the 00389.mpls for the first edition (it is easier to create the second edition)
For the -extras switch use:
-extras 00520,00521,00522,00523,00524,00525,00526,00527,00528,00529,00530
Demux and you can use the chapters which you already have(test with the 99999.mpls).
RivDoVi
23rd June 2023, 18:41
Hullo there !
Can't try your test version i get 404 when trying to download it :) !
hubblec4
23rd June 2023, 23:37
OK. I guess the files was deleted.
Rocky has changed his opinion for the free m2ts input.
We have to wait a bit. But the appending feature should be enough, but not so comfortable to implement.
hubblec4
26th June 2023, 01:36
Hi RivDoVi
Here (https://forum.videohelp.com/attachments/72058-1687739493/cE.7z) is a new test cE version.
DGDemux support for demuxing multi editions is implemented also many switches.
A full DoVi support is not ready because I wait for some changes there.
The DoVi streams can be created but cE don't load this streams currently.
You can use the mtxcfg to open MTX and add there the DoVi stream(s).
hubblec4
3rd July 2023, 23:25
Hi RivDoVi
Now it seems everything is working.
Here (https://forum.videohelp.com/attachments/72231-1688422895/cE.7z) is a new test version and please download the newest DGDemux (https://www.rationalqm.us/dgdemux/binaries/) version.
mrsmith
8th July 2023, 09:29
Hallo @hubblec4
I have registered here specifically to...
1. Thank you for your little helpful Program.
Because I don't know, how to reach you per email, I write here my wishes:
2. It would be wonderful, if you can add a "dark modus" to your cE-GUI,
because the white is very hard to look at for longer time, especially at night.
3. Now I had an odyssee behind me with the "Openlib account"-failure and a solution therefore,
which was in my opinion to download "openssl-1.0.2u-i386-win32.zip" and put the extracted files to the cE-folder.
Maybe this solution is helpful for other people using windows 10>?
4. The Extensions: wouldn't it be nice, if all the needed external programs would be downloadable in one file to install? - Which is tricky, because different Systems, I know.
Maybe there's a clever guy, who have a clever idea to solve this.
5a. Can you put relative paths for the extensions, e.g. so you can make into your cE-Folder subfolders called MKVtoolNix, eac3to, PgcDemux(Mod), DGIndexNV, BDSup2Sub, Java (must be installed through windows, I know) and tsMuxeR.
So it looks like
cE138/
cE138/MKVtoolNix/
cE138/eac3to/
cE138/PgcDemux(Mod)/
cE138/DGIndexNV/
cE138/BDSup2Sub/
cE138/tsMuxeR/
5b. So if you could had made this, I can easily click on the extension-button and choice the subfolder with the app in it. Sounds great to me, if this relif exists!
5c. Maybe you can program your cE so, that it search automatically for the needed extensions first in all existing subfolders of cE, then alternatively search in windows program-folders and add the paths automatically to cE-Extensions?
I know, that some wishes may be helpful and some wishes may be are hard to code,
but I think, you get new input that generate maybe new ideas to include in your little helpful programm.
Love, peace.
hubblec4
8th July 2023, 14:42
Hi mrsmith and welcome to Doom9 forum.
1. Thank you for your little helpful Program.
Because I don't know, how to reach you per email, I write here my wishes:
You are welcome.
Here is the best place to ask and make suggestions for cE.
2. It would be wonderful, if you can add a "dark modus" to your cE-GUI,
because the white is very hard to look at for longer time, especially at night.
There was already a request and it's on my todo list. I had started but it doesn't seem that easy.
3. Now I had an odyssee behind me with the "Openlib account"-failure and a solution therefore,
which was in my opinion to download "openssl-1.0.2u-i386-win32.zip" and put the extracted files to the cE-folder.
Maybe this solution is helpful for other people using windows 10>?
Yes that's correct. I have not included this .dll because on many systems is it already present.
4. The Extensions: wouldn't it be nice, if all the needed external programs would be downloadable in one file to install? - Which is tricky, because different Systems, I know.
5a. Can you put relative paths for the extensions, e.g. so you can make into your cE-Folder subfolders called MKVtoolNix, eac3to, PgcDemux(Mod), DGIndexNV, BDSup2Sub, Java (must be installed through windows, I know) and tsMuxeR.
So it looks like
cE138/
cE138/MKVtoolNix/
cE138/eac3to/
cE138/PgcDemux(Mod)/
cE138/DGIndexNV/
cE138/BDSup2Sub/
cE138/tsMuxeR/
I know many other tools bundle all the needed software, but I don't want go this way.
One reason for this is that I now have more than one MKVToolNix installation folder on the hard disk, just for each tool separately and cE doesn't have to contain MKVToolNix as well.
Another reason is that all the programs have to be downloaded every time, and that with every new version of the tool.
5b. So if you could had made this, I can easily click on the extension-button and choice the subfolder with the app in it. Sounds great to me, if this relif exists!
cE has a more nicely method for that drag and drop the folders from the OS file explorer any where in the settings page for the external programs and cE set it to the correct tool.
5c. Maybe you can program your cE so, that it search automatically for the needed extensions first in all existing subfolders of cE, then alternatively search in windows program-folders and add the paths automatically to cE-Extensions?
Yes that could/should cE do, I had thought about for a while but found not the right motivation.
cE could scan for installed software, I will add it to my Todo list.
hubblec4
23rd July 2023, 16:25
chapterEditor(cE) rev1.39 is available.
Windows (https://forum.videohelp.com/attachments/72615-1690125453/cE-W(1.39).7z)
Linux (https://forum.videohelp.com/attachments/72616-1690125453/cE-L(1.39).7z)
It is time again for an update.
A new editing tool is now available for BD2mkv: DGDemux.
The author(Rocky) of DGDemux has implemented all my wishes, and so DGDemux is now better than eac3to for demuxing the tracks.
Unfortunately eac3to is not up to date anymore and I had some problems demuxing eac3 tracks.(sounds ironic, but it is not)
Also there are problems with UHD discs.
DGDemux can generate the same video stream for Dolby Vision as Makemkv does.
cE is now able to create multi-edition mkv's for UHD discs.
DGDemux has simplified and improved many things. For example, when demuxing a subtitle track, a forced subtitle track is also created (if available).
If you don't need to do any extra processing of the extracted subtitles, BD2mkv can do without BDSUP2Sub.
The demuxing of a TrueHD track I find especially good, because you can extract the TrueHD part separately and also without the embedded AC3 track, which saves writing processes on the hard disk.
DGDemux is now the standard editing tool for Windows.
There is already a Linux version of DGDemux, but it is too old and lacks the latest features.
I am very confident that DGDemux will soon be available for Linux in the latest version.
It has been a great pleasure working with Rocky on DGDemux to improve it.
Thanks again Rocky for your great work and DGDemux, which now ensures that we can edit Blu-rays properly.
The current version of DGDemux can be downloaded here.
https://www.rationalqm.us/dgdemux/binaries/
rev1.39 2023-07-23
// chapterEditor
& support for TMPGEnc.keyframe files
// BD2mkv
& DGDemux
- UHD Blu-ray's are fully supported, including Dolby Vision
- access to DGDemux options for extraction
& the file path for external files is displayed in the info
* extracted TrueHD tracks with embedded AC3
- the mtxcfg file is now created correctly
- for automatic muxing a correct track order code is now created
hubblec4
12th August 2023, 23:06
chapterEditor(cE) rev1.40 is available.
Windows (https://forum.videohelp.com/attachments/73140-1691877767/cE-W(1.40).7z)
Linux (https://forum.videohelp.com/attachments/73141-1691877767/cE-L(1.40).7z)
A small update because DGDemux is now also available for Linux.
Now it is possible to create multi-edition mkv's under Linux, as well as edit UHD discs.
The current version of DGDemux can be downloaded here.
https://www.rationalqm.us/dgdemux/binaries/
Change chapterEditor
added &
fixed *
improved #
changed %
rev1.40 2023-08-13
// chapterEditor
& support for a special Youtube chapter format
- Timestamp with a chapter name - "HH:MM:SS[:MS/NS] chapter name"
* Linux: the status bar text is now displayed correctly
// BD2mkv
* minor adjustment so that the DGDemux Linux version also works
# DGDemux is now also the default editing tool in Linux
Masutin
23rd September 2023, 20:09
While editing a file I uploaded a new one by mistake. I see no option to delete a file. If you can do it, please delete the file with ID 103343.
hubblec4
24th September 2023, 14:24
Hi Masutin
A user option for deletion was intentionally not implemented to avoid ID-leaks and other issues.
You can use this ID for a next file you want to upload and edit this ID and all values and chapters.
von Suppé
20th October 2023, 13:35
Hi hubble,
When opening a mp4 file with chapters cE returns with an "Error loading of chapter files" that says:
Following files have been ignored.
--- Internal errors ---
<filename>.mp4
- External program not found.
Do I need a specific/additional mp4 parser or .exe in cE folder? I'm running Windows 7 64bit.
hubblec4
20th October 2023, 14:07
Hi von Suppé
MKVToolNix (mkvmerge) is used as mp4-Parser. You have to set the path in the settings for this.
von Suppé
21st October 2023, 10:54
Doh, should have rung bells. My apologies, it's been a while...
It's working now, thank you.
hubblec4
3rd November 2023, 18:15
chapterEditor(cE) rev1.41 is available.
Windows (https://forum.videohelp.com/attachments/74658-1699031091/cE-W(1.41).7z)
Linux (https://forum.videohelp.com/attachments/74659-1699031091/cE-L(1.41).7z)
It's that time again and this time there's a bigger update.
Firstly, there is a new editor in Matroska Tools -> Matroska Content-Grouping.
And secondly, cE is now compatible with dark mode.
https://forum.videohelp.com/attachments/74660-1699031164/cE_en.jpg
Matroska Content-Grouping
The whole thing is based on the beginnings of Haali (https://www.videohelp.com/software/Haali-Media-Splitter) and its TRACKSET -> later TRACKSETEX.
A wonderful system for grouping certain tracks and editions together,
to then select everything in the player with just one action.
There was already a TRACKSETEX editor in the old cE,
but Haali Splitter was replaced by the LAV Splitter (https://www.videohelp.com/software/LAV-Filters) and this nice feature has been forgotten.
With the new editor everything is a little easier and hopefully a little more intuitive.
There are currently 4 content types that can be grouped: the track types Video, Audio, Subtitle and the editions.
All of these content types can be identified by their UID or the ID(index).
The ID of a track type always corresponds to the ID that mkvmerge (https://www.videohelp.com/software/MKVToolNix) and other programs use.
Each type has its own counter that always starts at 0.
For all content types there is an option not to switch this type in the player.
All track types can be deactivated (original Haali only allows this for subtitles).
Why are there ID and UID to identify a content type?
The UID is definitely the most accurate method because this value does not change even if the file is re-muxed.
However, it is not that easy for a normal user to determine these UIDs.
Furthermore, you don't have any of these UIDs when the file is new created.
A Matroska Muxer could offer this as input up front, but then the user would have to create everything manually.
An ID is assigned super quickly and is also easy to determine and is also 100% accurate as long as the file is not changed.
I then thought a few more thoughts about this system and expanded the TRACKSETEX code a little.
This makes it possible to deactivate the video and audio track and the new BCP47 language codes can be used.
The Matroska attachments could also be grouped as content.
For example, a logo or a font for a subtitle, etc.
Since Haali TRACKSETEX was never officially included in the Matroska Specs, the entire system runs on the Matroska tags, which admittedly isn't necessarily the case is optimal.
Nevertheless, it works wonderfully and is very simply structured.
And now probably the most important question: Which player should be able to play this?
There is currently no player that processes this natively.
But I familiarized myself with the mpv player and was able to implement everything using a script.
The project is called mpvMatroska (https://github.com/hubblec4/mpvMatroska) and is intended to turn the mpv player into a Matroska player.
In addition to content grouping, other Matroska features are already supported.
https://forum.videohelp.com/attachments/74661-1699031231/mpv.png
Since chapters with linked editions are also supported in mpvMatroska, I have expanded the Matroska chapter editor for chapter-segment linking.
This allows you to create main-link.mkv files much more quickly and they are also much smaller because you no longer have to specify chapter names.
Furthermore, you no longer have to worry about start and end times.
A 0 for both values is completely sufficient.
A linking chapter then looks like this
1. Chapter - Episode 1, start time 0 - end time 0, ChapterSegmentUID = x0AA....FF, ChapterSegmentEditionUID = 123456
Change chapterEditor
added &
fixed *
improved #
changed %
rev1.41 2023-11-03
// chapterEditor
& Matroska Tools: Matroska Content-Grouping
& Dark-Mode compatibility
* Matroska Parser: EditionDisplay element is now parsed correctly
// Matroska Chapters
& Chapter-Segment-Linking with an edition (ChapterSegmentEditionUID)
// Matroska Content-Grouping
& full support for Haali TRACKSETEX
& extension for the TRACKSETEX code (settings)
- Video and Audio tracks can be disabled
& keep existing content groups (settings)
& when loading a Matroska file, track and edition data is determined
- UIDs and IDs
- Track name and Codec as well as edition names
-QfG-
29th December 2023, 14:12
Everytime i will login into database i become this error message:
https://i.imgur.com/ARWQJmj.png
EDIT:
Fixed, look at this post here: https://forum.doom9.org/showthread.php?p=1980643#post1980643
Download and extract archiv to the root folder from chapter editor and it works.
Thanks.
Klaus1189
29th December 2023, 19:36
I hope you only get this error message, but not become it. :p
hubblec4
3rd January 2024, 19:58
chapterEditor(cE) rev1.42 is available.
Windows (https://forum.videohelp.com/attachments/75922-1704306604/cE-W(1.42).7z)
Linux (https://forum.videohelp.com/attachments/75923-1704306604/cE-L(1.42).7z)
There is again a new cE version with some bug fixes and improvements, as well as a necessary adjustment for the BD2mkv editor.
MKVToolNix(MTX) has removed the display for the HEVC DV EL track in v81, as this is now processed automatically internally.
Therefore this track is no longer displayed in the BD2mkv editor.
However, this slightly disrupts the normal process for demuxing these tracks, and only DGDemux can now process this properly.
Demuxing with eac3to or tsMuxeR is no longer supported and should not be used as non-Matroska-compliant files are generated.
There's actually no need to demux at all anymore, as MTX now processes everything properly, even for seamless-branching Blu-rays.
There are two extensions for the Matroska Menu editor to make the main playback files even smaller.
The "Nested chapters" correspond to the Matroska specifications and therefore have no extra chapters.
Linking with editions is now also available and creates very small main playback files.
Change chapterEditor
added &
fixed *
improved #
changed %
rev1.42 2024-01-03
// BD2mkv
& New handling of HEVC+DV (BL + EL) tracks in MKVToolNiX v81
- only the BL track is displayed
- only DGDemux is intended for processing
* Editing external subtitles now works correctly for ".sup" files
* Multi-Edition-MKV mode: DGDemux as editing tool now works again for Windows
// Matroska Menu
& Chapter Structure: Nested chapters (settings)
& Linking with editions (settings)
apsen
13th January 2024, 01:05
As far as I could tell Chapter Editor is not able to handle discontinuous play lists like this (note the multiple discontinuous fragments from the same clip - in_time/out_time with holes in between):
MPLS class dump
num_chapters: 4
00:00:00.000000000
00:03:00.000000000
00:05:00.000000000
00:06:00.000000000
header dump
type_indicator1 & 2: MPLS / 0200
playlist dump
list_count / sub_count: 20 / 0
duration: 00:07:00.000000000
play item dump
clip_id / codec_id: 00001 / M2TS
connection_condition: 1
in_time / out_time: 02:00:00.000000000 / 02:03:00.000000000
relative_in_time / end: 00:00:00.000000000 / 00:03:00.000000000
play item dump
clip_id / codec_id: 00001 / M2TS
connection_condition: 1
in_time / out_time: 02:05:00.000000000 / 02:07:00.000000000
relative_in_time / end: 00:03:00.000000000 / 00:05:00.000000000
play item dump
clip_id / codec_id: 00001 / M2TS
connection_condition: 1
in_time / out_time: 02:10:00.000000000 / 02:11:00.000000000
relative_in_time / end: 00:05:00.000000000 / 00:06:00.000000000
play item dump
clip_id / codec_id: 00001 / M2TS
connection_condition: 1
in_time / out_time: 02:13:00.000000000 / 01:14:00.000000000
relative_in_time / end: 00:06:00.000000000 / 00:07:00.000000000
Any chance it could be implemented?
Thanks!
fkid
26th January 2024, 22:33
@hubblec4, Apologies if there's an obvious answer to this, but I haven't found one. A while back I was using chapterEditor and swear I could see all of the standard (language, forced, default, etc.) matroska tags when I open an .MKV file in the Matroska Tag editor, but now no matter which file (or even using older versions of chapterEditor), I only see a small subset, regardless of track type or which version of mkvmerge the file was saved by. Is there some way to show all of the tags in the editor, so I can make all changes quickly in chapterEditor or is this by design and meant only for custom/hidden tags not easily editable in MKVToolNix GUI and I'm misremembering?
Screenshot of what I see, so just BPS, DURATION, NUMBER_OF_FRAMES, NUMBER_OF_BYTES, and (3) STATISTICS tags, rest are ignored/not shown:
https://i.ibb.co/nsK7rBx/image.png (https://ibb.co/nsK7rBx)
Thank you kindly!
hubblec4
27th January 2024, 18:18
hi fkid
Values for the tracks have never been displayed in the Tags Editor. From Matroska's point of view, this is not possible because the tracks are stored somewhere other than the Tags.
cE does not have an editor to edit Matroska meta data for the tracks. Only the Chapters and Tags can be edited in cE.
In the Disc2mkv editors there are a few switches for the tracks, such as language, standard, delay. But that's it, because all other track settings can then be made in the MTX GUI later, but before muxing.
fkid
28th January 2024, 01:50
Wow, thank you for confirming. My memory must be of a certain.mkv that just had a bunch of custom tags added and I misremembered them as the regular ones. Cheers!
apsen
30th January 2024, 23:59
Hi, hubblec4!
Let's see if we could continue our discussion on chapter editor here.
Thanks!
hubblec4
31st January 2024, 00:13
Hi apsen
Nice to read you here.
The two of us had spoken by email so far and it was about a very strange mpls with a structure that I had never seen before. Since DGDemux (and eac3to) didn't know this type of structure yet, I reported this there too.
https://www.rationalqm.us/board/viewtopic.php?f=16&t=1308
But MKVToolNix doesn't seem to have any problems with it.
hubblec4
5th February 2024, 02:55
Hi apsen
Here (https://forum.videohelp.com/attachments/76784-1707097539/cE.7z) is a test version with an enhanced detection algo for multi edition mpls.
The chapters are still not fine. It is the next step.
apsen
8th February 2024, 00:41
Hi apsen
Here (https://forum.videohelp.com/attachments/76784-1707097539/cE.7z) is a test version with an enhanced detection algo for multi edition mpls.
The chapters are still not fine. It is the next step.
Why the chapters are not fine? They were matching the short version originally so if they are the same it should be fine. Let me check.
apsen
8th February 2024, 02:44
Why the chapters are not fine? They were matching the short version originally so if they are the same it should be fine. Let me check.
Well, the .m2ts is being copied in its entirety instead of partially so it is not good :(
hubblec4
8th February 2024, 03:22
New test version. (https://forum.videohelp.com/attachments/76855-1707358597/cE.7z)
It was a lot of work because in this particular case I have to "feed" MTX directly with the mpls file. Lining up the m2ts files doesn't work that way because the entire content is used.
DGDemux is now also able to demux these special mpls files. But it takes a long time because the entire content is always examined.
But nothing needs to be demuxed because MTX handles everything perfectly.
For multi-edition mode, this mpls must NOT be the first.
EDIT:
Why the chapters are not fine? They were matching the short version originally so if they are the same it should be fine. Let me check.
Yes and no.
In multi-edition mode, incorrect times are calculated for the chapters and the first 25 minutes simply play seamlessly, which is not what you want.
The chapters are correct for normal mode, but the MKV is/was not.
apsen
10th February 2024, 23:49
New test version. (https://forum.videohelp.com/attachments/76855-1707358597/cE.7z)
Looks good now.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.