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
vertigo220
18th October 2022, 23:12
I've used just about every video player out there, at least most, if not all, of the major ones, and while some support multi-editions, some/most don't. But, more importantly, when using something like Kodi to stream from PC to a device (e.g. Shield TV), it's not supported, so only the first edition in a file can be played. Because of this, I try to put which edition I prefer first, but that may change, or I may want to watch a different one for whatever reason, so it would be nice to be able to quickly shift them around.
The split mode you mentioned is all I could find that seemed like it would work, and I've been messing with it a bit today, but just based on what I've seen so far not only is it complicated trying to figure out what to do with everything once it's split to try and rebuild the file with the editions switched, but I'm not sure if it's even possible. And, since you mention it's not safe, I'd rather not risk it. Thanks anyways, and hopefully software will just become more compatible with it, though it seems unlikely at this point.
hubblec4
19th October 2022, 12:01
Yeah, hardware support for Matroska is very poor.
I also set my favorite edition at first place. So I can/could watch it on all devices (but I only use PC for playback).
The multi-Edition split mode is very simple. After loading an MKV you have on the right side all Editions.
Deselect unwanted Editions, use split mode "Extract edition(s)" and hit Split Multi-MKV button, that's all.
Not 100% safe means it works most of time, maybe 90%.
Try it out and check the transitions, if the video is not hanging, all is fine.
I have search for long time a bit about KODI, and I found some code enhancements which deals with Ordered chapters.
But when you said it is not working....mmmh bad KODI^^
The best Matroska Playback software is, what uses LAV Filters.
VLC is unfortunately too buggy.
hubblec4
19th October 2022, 15:03
Sometimes the players supports Ordered Chapters but uses only the first Edition, and a bonus case if the Default-Edititon-Flag is supported.
If Default-Edition-Flag is supported you can simple change this value, else you can simple swap the Editions.
hubblec4
21st October 2022, 23:28
chapterEditor(cE) rev1.33 is available.
Windows (https://forum.videohelp.com/attachments/67312-1666390942/cE-W(1.33).7z)
Linux (https://forum.videohelp.com/attachments/67313-1666390942/cE-L(1.33).7z)
It is time again for a new update.
A small fix for splitting OGG/OGM and multiAVCHD chapter files,
and some innovations are included.
The old GUI language system was replaced by the .po files.
Italien was added as a GUI language and already partially translated by bovirus.
Since Mosu already supports the new Matroska Editions elements, I have now installed them.
Change chapterEditor
added &
fixed *
improved #
changed %
rev1.33 2022-10-22
// chapterEditor
& GUI language: Italian (translator: bovirus)
# Laz_BCP47 updated on Rev 3 (https://gitlab.com/hubblec4/laz_bcp47/-/blob/master/changelog.txt)
// Matroska Chapters
& new Matroska Chapter element: "ChapterSkipType"
& new Matroska Edition elements: "EditionDisplay" and its sub-elements: "EditionString" and "EditionLanguageIETF"
- Text-Favorites selection for the Edition name
& when creating the Matroska Tags file, the Edition names are used
// Split Chapters
& Automatic chapter naming
- all settings from the chapter naming feature are used ("All Tabs" is used automatically)
- original tabs are removed before renaming
- splited chapters must be loaded in the editor (is automatically forced)
& Split mode: split before X chapters
* OGG/OGM and multiAVCHD: File extension is now set correctly
// Disc2mkv
& an Edition Display for every Edition is now used for multi-Edition MKV's
// CLI - Split Chapters
& Split mode: split before X chapters-> "before-x"
- Example: -S before-x 7 "chapters.xml"
& alternate switch for splitting after X chapters -> "after-x"
- synonymous as "x-chapters"
hubblec4
22nd November 2022, 23:01
chapterEditor(cE) rev1.34 is available.
Windows (https://forum.videohelp.com/attachments/67760-1669154273/cE-W(1.34).7z)
Linux (https://forum.videohelp.com/attachments/67761-1669154273/cE-L(1.34).7z)
Another update with a few improvements and smaller fixes is ready.
Italian is now fully translated.
Change chapterEditor
added &
fixed *
improved #
changed %
rev1.34 2022-11-22
// chapterEditor
* a few missing translations
# GUI Language - Italian fully translated
// BD2mkv
* Blu-rays without covers
// Matroska Menu - Medium-Linking: Menu
& an EditionDisplay is now used for the Edition names
// Multi-MKV
& an EditionDisplay is now used for the Edition names
# The corresponding Text-Favorites are now used for the Edition names
hubblec4
31st December 2022, 19:10
The chapter database will not be available for a while because of maintenance work.
A new cE version will come soon.
hubblec4
31st December 2022, 22:29
chapterEditor(cE) rev1.35 is available.
Windows (https://forum.videohelp.com/attachments/68426-1672521727/cE-W(1.35).7z)
Linux (https://forum.videohelp.com/attachments/68427-1672521727/cE-L(1.35).7z)
This is a larger update for the Chapter Database.
All older cE versions no longer have access.
So far there has been the "Email" field when creating an account.
This was originally planned as a second security concept, but I never installed it.
There was also no review of whether the Email address is correct, and also not whether it exists.
Nevertheless, this is rated in Germany as a collecting of personal data and has not been so easy allowed since this §DSGVO.
Since I have no interest in personal data, everything that had to do with "Email" was removed.
There are now over 1000 users, what I would never have thought, and so I had to close a security gap.
Communication ran directly via the SQL components and unfortunately the password of the database was also included in the cE.exe.
From now on, a (my first) REST-API is used to communicate with the database.
Like always with "first" things, that can contain errors.
Therefore, please test the new REST-API and report if you feel there is something strange.
There are also a few improvements for sorting.
Change chapterEditor
added &
fixed *
improved #
changed %
rev1.35 2022-12-31
// Chapter Database
& the database now uses a REST-API
& sorting all columns in editing mode is now possible
* it was possible to edit all movies
# the sorting algorithm was not entirely correct and is now available for all columns
# Upload: Title already exists -> Edit title
- only the found title is loaded for editing
% all Email data and components removed
% SQL components removed
if the database connection not work please try this:
https://indy.fulgan.com/SSL/
openssl-1.0.2u-i386-win32.zip
NanoBot
1st January 2023, 18:50
Is it new that this ( windows ) version needs OpenSSL libs ? And if yes, is it on purpose the these libs are not included in the archiv, perhaps because of copyright problems ?
And there is a typo in the german menu translation, it shows "Kapitel Datanbank" instead of "Kapitel Datenbank"
After downloading the openSSL libs seperately, everything works fine :thanks:
hubblec4
1st January 2023, 19:47
Hi NanoBot
Thanks for your feedback.
Is it new that this ( windows ) version needs OpenSSL libs ? And if yes, is it on purpose the these libs are not included in the archiv, perhaps because of copyright problems ?
After downloading the openSSL libs seperately, everything works fine
Yes the host Lima-City uses "https" which needs OppenSSL.
For coding and testing I had used an other host which uses "http".
I will check this.
The typo should be easy to fix. You can do it by your self with PoEdit.
EDIT: typo is fixed for next rev.
And if yes, is it on purpose the these libs are not included in the archiv, perhaps because of copyright problems ?
I was happy to remove to SQL lib and I thought I don't have to include other libs.
On my Win7 and Linux Mint all worked and I'm sure I have nothing installed of OpenSSL.
But I guess on Linux it is there out of the box and maybe a third party tool has installed OpenSSL on my Win7.
Can you please share the download link of the OppenSSL lib which you use?
NanoBot
3rd January 2023, 00:44
I downloaded the OpenSSL Libs from here:
https://indy.fulgan.com/SSL/
and used the newest 32bit version offered
openssl-1.0.2u-i386-win32.zip
hubblec4
3rd January 2023, 02:20
Thank you.
I guess this helps other users to find quickly a solution if cE not work.
For the moment you are the first and only one with this issue.
What a Windows do you use?
NanoBot
3rd January 2023, 02:44
Windows 10 Pro 22H2 19045.2364
And the error message about missing the openSSL libs only appears when the "Database" button on the left is pressed.
hubblec4
3rd January 2023, 14:51
Windows 10 Pro 22H2 19045.2364
Mmh.... Win10 has no OpenSSL out of the box?
And the error message about missing the openSSL libs only appears when the "Database" button on the left is pressed.
I guess you have the "automatic login" activated, therefore the issue appears when you hit the "Database" button.
Otherwise the issue do only occur when login.
gonca
3rd January 2023, 22:00
Thank you.
I guess this helps other users to find quickly a solution if cE not work.
For the moment you are the first and only one with this issue.
What a Windows do you use?
Not the only one, but it now works.
The two dll files just have to be placed in the cE directory.
Maybe, if one has OpenSSL on system they need to copy the dll files to the directory.
P.S.
Database never worked for me till now.
hubblec4
4th January 2023, 12:56
Hi gonca
Not the only one, but it now works.
Good to know it works.
The two dll files just have to be placed in the cE directory.
Maybe, if one has OpenSSL on system they need to copy the dll files to the directory.
I have no dll's copied to cE folder and it works. That confuse me a bit.
P.S.
Database never worked for me till now.
With the old SQL database version it don't worked for you?
PyragriC
4th January 2023, 22:39
Hello,
Same problem here with W10 Pro.
I had cE v1.32 and it worked fine then the SSL error appears.
I've installed v1.35, put the 2 dlls of openSSL into cE folder but the SSL error still appears.
NanoBot
4th January 2023, 23:31
Did you take into account that you have to use the 32bit version of the dlls, even if you are using a 64bit OS ?
For me it is working with
libeay32.dll version 1.0.2.21 size 1.380.864 bytes
ssleay32.dll version 1.0.2.21 size 337.920 bytes
hubblec4
5th January 2023, 01:47
Hi PyragriC
and welcome to Doom9.
Can you try this lib. I think this are the dlls which NanoBot mentioned.
https://indy.fulgan.com/SSL/openssl-1.0.2u-i386-win32.zip
gonca
5th January 2023, 01:52
With the old SQL database version it don't worked for you?
Correct, but it my have been something in my system.
It works now, so all is good
hubblec4
5th January 2023, 01:57
OK.
The better that it works now and you can use the database.
PyragriC
5th January 2023, 11:22
Thank you hubblec4 !
I installed the 64bit version that's why it didn't work.
Now with the 32bit version of SSL it works well. I even found back my account.
Thanks for still maintaining this useful software :)
NanoBot
6th January 2023, 00:27
I have one question concerning the database:
Is it possible to edit an already existing entry which I uploaded ? In particular, I would like to edit the comment I made in the "notes" field, if this is possible.
hubblec4
6th January 2023, 01:52
Yes you can edit all your own uploaded titles.
Main menu: Chapter database -> Edit chapters
The tab looks like the Upload-tab.
You can now search your title(s) and edit them.
NanoBot
7th January 2023, 19:48
Works fine, thank you.
bokbokchui
2nd February 2023, 07:50
When I try to use the database (Click Database button) feature to get chapter entries for some old movies, the error message "Could not initialize OpenSSL library". It worked before. How to solve this?
NanoBot
2nd February 2023, 15:33
https://forum.doom9.org/showthread.php?p=1980517#post1980517
Get the OpenSSL libs from the link in this post and place them in the folders where the ChapterEditor is located.
Keep in mind that you need the 32bit version of the libs, even if your OS is 64bit, since chapterEditor.exe is a 32bit binary.
hubblec4
27th February 2023, 02:46
chapterEditor(cE) rev1.36 is available.
Windows (https://forum.videohelp.com/attachments/69464-1677462162/cE-W(1.36).7z)
Linux (https://forum.videohelp.com/attachments/69465-1677462162/cE-L(1.36).7z)
A smaller update with a few repairs and an important fix for the Matroska Tags.
Change chapterEditor
added &
fixed *
improved #
changed %
rev1.36 2023-02-27
// chapterEditor
* German translation
// BD2mkv
* Missing track designation for "E-AC3 Surround Secondary Audio" if eac3to is the processing tool
// DVD2mkv
* Subtitle without defined language
- Editing these tracks is now possible
- the language code "en" is used as an internal standard language code
- "und" is used as a language code for MKVToolnix (changeable at any time)
// Matroska Tags
* TargetType selection was wrong if TargetTypeValue should not be used
- The default value "50" is used automatically for TargetTypeValue (specified by the Matroska specification)
- TargetType selection is now limited to the corresponding valid values
PyragriC
16th March 2023, 09:41
Hello @hubblec4,
I can't upload a chapter to the database. It just say "API error" in an alert popup.
I still can search and downloads existing chapters in the BDD though.
EDIT: my Movie playing time format was incorrect but the error wasn't related to the usual format error.
I tried to input "1:48:50" instead of "01:48:50.000000000".
Maybe you can add this case to Date format error ;)
hubblec4
16th March 2023, 12:47
Hi PyragriC
What is your nick name for the online chapter database?
What is "BDD"?
PyragriC
28th March 2023, 15:07
I've edited my previous message :)
hubblec4
28th March 2023, 23:58
EDIT: my Movie playing time format was incorrect but the error wasn't related to the usual format error.
I tried to input "1:48:50" instead of "01:48:50.000000000".
Maybe you can add this case to Date format error ;)
Many thanks for this info.
The API needs the HH:MM:SS.MS/NS format.
It should be simple to fix that.
DocShaker
3rd April 2023, 03:30
Any possibility for a dark mode for chapter editors in the near future?
Thank you for this amazing tool.
hubblec4
3rd April 2023, 22:36
Hi DocShaker
and welcome to Doom9.
Indeed, I had played with that thought but it seems not so easy.
Currently I have no time for coding so I can not say when I can start, but I add it to my TODO list.
A next version of cE is almost ready and then can l investigate in this request.
If you want you could help me with infos, because I have not so much experience with Dark Mode.
hubblec4
16th April 2023, 00:41
chapterEditor(cE) rev1.37 is available.
Windows (https://forum.videohelp.com/attachments/70383-1681601598/cE-W(1.37).7z)
Linux (https://forum.videohelp.com/attachments/70384-1681601598/cE-L(1.37).7z)
Another update with improvements and another important fix for the Matroska Tags.
The improvements are mainly for the Matroska menu (Matroska Linking).
For my first tests back then, I always cut off a small piece from an episode for a main playback file (up to the first video keyframe).
This has the advantage that I can also play this file without the linked content.
You don't have any content, but the chapter structure is displayed in the media player.
That made experimenting easier.
But you don't need all the tracks, it's enough if there are only linked chapters in the main playback file.
Furthermore, I had provided all invisible chapters with chapter names for testing the nested chapter structure.
However, some media players also show hidden chapters, which then looks very confusing.
A good Matroska player will not display chapter names if the ChapterFlagHidden element is active.
However, this additional chapter naming does not bring any advantage and only inflates the chapters unnecessarily.
Most media players replace empty chapter names with a default name, but without taking nesting into account.
Normally, a "+" is placed in front of a chapter name for each level, but this is missing from the default name.
As a result, the chapter structure in the media player no longer looks good.
So I always padded empty chapter names with the chapter number, but for a Top-Level chapter structure this can be quite useful and is now configurable.
You can now also not use any chapter names, which makes the main playback file very small.
For a better overview of which chapter belongs to which file in a Top-Level chapter structure, there is now the option of using the file name as a prefix.
Change chapterEditor
added &
fixed *
improved #
changed %
rev1.37 2023-04-16
// chapterEditor
& Settings button in the sidebar
- a left click opens the settings of the active editor
- a right click always opens the main settings
% removed setting buttons from Chapter editors and Matroska Tags
// Chapter Database
* Upload and Edit: Movie playing time
- all time formats that cE masters are now possible as input
// Matroska Menu (settings)
& Main Playback File: "The MKV file contains only Linked-Chapters"
- there are no tracks in the file
- since only Chapters and Tags are used, the file becomes very small
- the file can only be played if the linked content is in the same folder
& "No chapter names"
- without chapter names, the main playback file will be even smaller
& "Fill in empty chapter names"
- only the chapter number is used
- this is used to ensure that a media player does not generate automatic chapter names
& "Use filename as chapter name prefix"
- only applicable for the Top-Level chapter structure
- a chapter name must be present
& "Verbose chapter naming"
- Not recommended as it is more for development purposes
- only applicable for the nested chapter structure
- invisible chapters also get a chapter name
% playing the main playback file is now on the play button, by right-clicking
% manually creating a main playback file is unnecessary and no longer allowed when only linking chapters are used
// Matroska Tags
* Removed the value "PART" from the list of valid values when TargetTypeVaule = 20 (bug in Matroska specification)
Jim_Pansen
11th May 2023, 17:36
Hi hubblec4,
I'm having the problem on reading timecode lists in ordinary txt-files (see my screenshot).
Chapter Editor imports the list, but zeros the frame numbers and takes it as a chapter name. Makes no sense. Can you fix that soon?
best
Jim
hubblec4
11th May 2023, 19:38
Can you share with me the txt-files please?
Jim_Pansen
12th May 2023, 09:22
Can you share with me the txt-files please?
It's nothing special. Simply text-file from text editor in Windows.
Jim
hubblec4
12th May 2023, 10:35
Appending attachments is a looooong process in this forum,
send me please the files.
hubblec4
30th May 2023, 12:09
It's nothing special. Simply text-file from text editor in Windows.
Jim
Here (https://forum.videohelp.com/attachments/71339-1685444859/cE.7z) is a test version for you.
Jim_Pansen
1st June 2023, 13:31
Great! Works fine now!
Thank you so much!
Here (https://forum.videohelp.com/attachments/71339-1685444859/cE.7z) is a test version for you.
hubblec4
5th June 2023, 21:41
Hi all
I can't login to the chapter database and I get an error message that the security token is invalid. Can someone confirm this?
I have changed nothing so I guess the host/server has changed something.
gonca
5th June 2023, 22:26
I get the same result
hubblec4
5th June 2023, 23:11
Thanks for your feedback.
Indeed the server has changed something for the Cookies.
Here (https://forum.videohelp.com/attachments/71514-1686003032/cE-W.7z) is a test version for Windows.
hubblec4
8th June 2023, 21:30
chapterEditor(cE) rev1.38 is available.
Windows (https://forum.videohelp.com/attachments/71575-1686256027/cE-W(1.38).7z)
Linux (https://forum.videohelp.com/attachments/71576-1686256027/cE-L(1.38).7z)
A hotfix for the chapter database because the server changed something and you could no longer log in.
Change chapterEditor
added &
fixed *
improved #
changed %
rev1.38 2023-06-08
// chapterEditor
* Font color and the color for the settings button in the sidebar are now set correctly
* Chapter files(.txt) with the time format "HH:MM:SS:FF" are now recognized correctly again
# H:MM:SS.MS/NS time formats are now supported
// Chapter Database
* Changes made by the server have been adjusted
- older cE versions no longer have access
// DVD2mkv
* forced subtitles that were created automatically can now be edited
RivDoVi
13th June 2023, 22:55
Hullo there and thanks for this incredible program :) !
I'm trying to use the Multi-Edition-MKV mode of BD2mkv to create 2in1 editions of Alien on UHD as well as Aliens/3/Resurrection to get both Special cut & Theatrical.
However, after several hours trying different things and combination, i cannot generate an mkv that plays the second edition of Alien UHD flawlessly.
It seems that, when transitioning between parts, i'm having flashes of other parts for a split second, if that makes sense, or a small freeze/hiccup.
After a close look at the second edition generated chapters, particularly on the hidden chapters, it seems their timestamps are wrong by a few ms or 1 second, which seems to explain why i see another scene for a split second.
No problem on the first edition, problem only occurs on second one.
I tried extracting audio tracks with eac3to, no change.
I tried manual muxing after chaptereditor job was done as well, and i get the following error :
Only partial append mappings were given for the file no. 1 ('BDMV\STREAM\00703.m2ts'). Either don't specify any mapping (in which case the default mapping will be used) or specify a mapping for all tracks that are to be copied.
Is this a known problem ?
If someone has an idea, that would be very appreciated. I've been trying my best to solve it but didn't find a way after several hours of tries .... :(
Here is the mediainfo of the generated mkv if it can be of any use : https://pastebin.com/a13G836S
Thank you kindly :thanks:
hubblec4
14th June 2023, 22:13
Hi RivDoVi
and welcome to Doom9 forum.
I'm trying to use the Multi-Edition-MKV mode of BD2mkv to create 2in1 editions of Alien on UHD as well as Aliens/3/Resurrection to get both Special cut & Theatrical.
For creating the BD2mkv editor I have used the Alien movies for testing, but it was Blu-ray not UHD.
However, after several hours trying different things and combination, i cannot generate an mkv that plays the second edition of Alien UHD flawlessly.
It seems that, when transitioning between parts, i'm having flashes of other parts for a split second, if that makes sense, or a small freeze/hiccup.
...
I tried extracting audio tracks with eac3to, no change.
The problem you describe is related to the audio tracks because there are duplicate frames.
All Audio streams which are used in the mkv have to be demuxed with eac3to.
OK you said you had used eac3to to demux Audio streams. Have you all Audios demuxed?
I'm also not sure if ea3cto handles UHDs corretly. That's really a problem because eac3to is no longer maintained.
Currently I work (a bit) on the implement of DGDemux. I had asked for some improvements which are now included.
DGDemux is up to date and has nice features.
After a close look at the second edition generated chapters, particularly on the hidden chapters, it seems their timestamps are wrong by a few ms or 1 second, which seems to explain why i see another scene for a split second.
No problem on the first edition, problem only occurs on second one.
The first edition is always straight forward because the m2ts files in the correct order.
For the second edition (and all others) the m2ts files not in the correct order, because these m2ts files are appended after the first editions m2ts files.
The result of the Audio duplicated frames issue is, that the chapter markers no longer match to the correct frame.
The more m2ts files are available, the further the chapter markers are seemingly shifted.
The chapter times should be OK, but maybe not if there are problems with creating.
I tried manual muxing after chaptereditor job was done as well, and i get the following error :
Only partial append mappings were given for the file no. 1 ('BDMV\STREAM\00703.m2ts'). Either don't specify any mapping (in which case the default mapping will be used) or specify a mapping for all tracks that are to be copied.
Is this a known problem ?
OK, that's interesting. Can you check the duration of the 00703.m2ts file.
I guess it is a short one and such "bad" first m2ts files a removed by cE, normally automatically.
But sometimes the duration a bit longer as the default value (2 seconds). You can change this in the BD2mkv settings.
Here is the mediainfo of the generated mkv if it can be of any use : https://pastebin.com/a13G836S
More helpful for me would be:
1) generated files by cE -> chapters.xml, tags.xml and so on, but not the demuxed streams or other big files.
2) a Disc chunk created with my DiscShare tool (to find in my signature)
- use minimal the "-f" switch this will create a chunk with all the meta data files only
- or use "-f" and select some m2ts numbers to include a chunk of them. for example the 00703.m2ts
RivDoVi
15th June 2023, 09:44
Hi RivDoVi
and welcome to Doom9 forum.
[...]
Thanks a lot for your answer :) !
Yes i only encounter this problem with the UHD movie ; I tried Alien 3 BD and there was no problem.
First, i had to use eac3to 3.34 instead of 3.36 for the UHD as eac3to 3.36 was incapable to extract the hevc/h265 from m2ts ; i saw it was a known issue in the related doom thread.
I also took a look at the demux log and you are right about the audio : i have dozens and dozens of :
[a17] Audio has a gap of 17ms at playtime 2:38:49. <WARNING>
Yes, i demuxed all streams.
When demuxing Alien 3 BD (not uhd) i had no such warning in the log file. It seems all m2ts of Alien UHD (or maybe all seamless branching UHD ?) have this gap for m2ts ?
Here is the log : https://pastebin.com/6gAPeV2S
Also, here are the tags + Chapter xml requested : https://pastebin.com/EWdk65yh
It seems the problem is clearly eac3to related ; the disk is perfectly fine as i extracted and watched both cut separately without any problem.
I also tried no demuxing of files & using tsMuxer instead of eac3to and the chapters were still off.
I checked the 00703.m2ts duration and it's 40 seconds ; i also checked all m2ts duration and the shortest is 31 sec so i'm sure it's not the problem here :D.
I also had the idea to manually append all the m2ts files in the correct order, not using the mtxcfg, with mkvtoolnix and just putting the tags & chapters.xml generated by CE and they play flawlessly that way, no freeze or hiccup, audio has no drop out at all because all m2ts files have an I-frame at the start and the 2 editions are recognized, however the chapters generated by cE for the second edition are still off by a second or a few ms so the second edition is still off (though no freeze or hiccup as i said).
Yes i also use DGDemux but i found no way to use it with cE. If support was implemented that could really be useful as they have proper UHD & Dolby Vision support ; i'm also 90% sure it would solve the gap issue.
hubblec4
15th June 2023, 10:49
Yes i only encounter this problem with the UHD movie ; I tried Alien 3 BD and there was no problem.
Ok very interesting and good to know that Blu-ray works and UHD not. Could be a hint that eac3to is the bottleneck/issue.
....
I also took a look at the demux log and you are right about the audio : i have dozens and dozens of :
[a17] Audio has a gap of 17ms at playtime 2:38:49. <WARNING>
Yes, i demuxed all streams.
When demuxing Alien 3 BD (not uhd) i had no such warning in the log file. It seems all m2ts of Alien UHD (or maybe all seamless branching UHD ?) have this gap for m2ts ?
Yes all movies which are splitted to multiple m2ts files have such gaps(99,5%).
It seems the problem is clearly eac3to related ; the disk is perfectly fine as i extracted and watched both cut separately without any problem.
I also tried no demuxing of files & using tsMuxer instead of eac3to and the chapters were still off.
Unfortunately MKVToolNix(MTX) is not able to remove this gaps and we have to do this with eac3to, because it is the only tool which can import a m2ts list(not only mpls files) and can remove the gaps.
TsMuxer accepts also a m2ts list but can not remove the gaps.
DGDemux can remove gaps but has no import support for a m2ts list. I have asked for that feature but currently is there no progress.
DGDecNV has both and I will test it when I have time. But DGDecNV is not free to use, you need a license and a NVIDIA graphic card.
I checked the 00703.m2ts duration and it's 40 seconds ; i also checked all m2ts duration and the shortest is 31 sec so i'm sure it's not the problem here :D.
OK. But the playing time is not really the decisive criterion, you would have to take a closer look at the streams that are included.
The playing time was only a good indicator to roughly recognize whether it is a bad m2ts file.
I also had the idea to manually append all the m2ts files in the correct order, not using the mtxcfg, with mkvtoolnix and just putting the tags & chapters.xml generated by CE and they play flawlessly that way, no freeze or hiccup, audio has no drop out at all because all m2ts files have an I-frame at the start and the 2 editions are recognized, however the chapters generated by cE for the second edition are still off by a second or a few ms so the second edition is still off (though no freeze or hiccup as i said).
A lot of work for manually input :-)
And like I said, MTX is not able to remove the Audio gaps which ends up with the wrong video frame for the chapter markers.
In that case when all playing fine you could manually shift the chapter times, but that's much much work and you have to life with not correct audio streams.
Yes i also use DGDemux but i found no way to use it with cE. If support was implemented that could really be useful as they have proper UHD & Dolby Vision support ; i'm also 90% sure it would solve the gap issue.
Yes that's the plan, to make cE like Makemkv with DGDemux, because all can be muxed with MTX(the author of DGDemux promise it).
RivDoVi
15th June 2023, 11:14
Ok very interesting and good to know that Blu-ray works and UHD not. Could be a hint that eac3to is the bottleneck/issue.
Okay I managed to totally FIX the problem with DGDemux, it was a LOT of work but HURRAY it works :
I demuxed the first edition 800.mpls (Theatrical Cut) ;
Then i demuxed the second edition 801.mpls (Director's Cut) but checked "episode demuxing" to get separate m2ts demuxing.
I then manually picked and appended all the required files of the DC to the main files from 800 mpls above using MKVToolnix.
In the same mkvtoolnix window, i dropped the chapters.xml & tags.xml generated by cE, muxed and VOILA, no issue anymore, perfect sync, perfect transition, perfect chapters timestamps !
So yes, you got your answer : DGDemux is the solution to all the problems :D !
Would be very great if you could consider adding it as this example is the proof that it resolves all the issues encountered and DGDemux would add support for Dolby Vision as well.
I thank you for your time, i learned new things and hope i was able to give you useful informations as well :)
Though it now works, it really is a lot of work without DGDemux support lol.
hubblec4
15th June 2023, 12:21
Wow, that are really great news, especially that it works with the "episode demuxing".
I thought that appending of a lot of small streams will end up again with other issues.
If I understand this correctly you get a lot of demuxed files: for each m2ts there are all the streams you want to preserve.
And all files from all the m2ts files you have appended manually in MTX?
I could use this maybe as a workaround for DGDemux for the Mutli-Edition creation.
An other workaround which is in my mind is to generate a new mpls file with all the required m2ts files.
And yes I have also learned from you.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.