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
hubblec4
21st November 2019, 13:02
...
I tried "delete chapter" but this leaves the main m2ts chapters at the same time code. e.g first chapter was 00:00:00, 2nd 00:15:00. After I removed the first chapter the 2nd doesn't roll back to 00:00:00.
Is there a way to do this automatically, or do I have to manually use the time adjustment feature? Maybe there is and I couldn't find it.
Deleting chapters with an automatic to shift timestamps is not implemented.
mini-moose
21st November 2019, 22:21
Deleting chapters with an automatic to shift timestamps is not implemented.
OK, thanks for confirming.
hubblec4
12th December 2019, 19:34
chapterEditor(cE) rev1.20 is available.
Windows (https://forum.videohelp.com/attachments/51079-1576175219/cE-W(1.20).7z)
Linux (https://forum.videohelp.com/attachments/51080-1576175219/cE-L(1.20).7z)
After a little break, there is again an update for the cE.
Change chapterEditor
added &
fixed *
improved #
changed %
rev1.20 2019-12-12
// chapterEditor
# mpls parser: tnmt_xxx_yyyyy.xml chapter names are now parsed
- BD2mkv, all chapter editors
- Conversion of terminology codes into bibliographic codes (deu-> ger)
// Text-Favorites
& Chapter name with language and country code
Separator: "||" everything before is used as the chapter name
- Syntax: "Chapter Name"||lng[,cy]
- Country code: is optional, must be separated with a ","
- Example: Chapter 1||ger,de
// Chapter naming
& Support for tnmt_xxx_yyyyy.xml file for name list
- The language is determined and activated if it is available in the combo box
& automatically set language and country, from chapter names from the Text-Favorites
- only for Matroska Chapters
- Language/Country is activated if available in the combo box
Hi, thanks for all the updates!
One thing I want to ask is if you could please add an option to link certain predefined chapters names with a language so when using the "Chapter naming" function we can select the predefined chapter name and ChapterEditor would auto select the language we have set for such name, .....
Late, but now it's implemented. Could you test the new feature please?
hubblec4
29th February 2020, 01:27
chapterEditor(cE) rev1.21 is available.
Windows (https://forum.videohelp.com/attachments/52188-1582935681/cE-W(1.21).7z)
Linux (https://forum.videohelp.com/attachments/52189-1582935681/cE-L(1.21).7z)
There are 2 new features in this update.
First of all, the covers of Blu-ray's can now be used in the BD2mkv editor
and secondly, I have installed "Split chapters" for Matroska, OGG/OGM and multiAVCHD chapter editors as a special tool and as CLI.
Change chapterEditor
added &
fixed *
improved #
changed %
rev1.21 2020-02-29
// chapterEditor
* Linux: adjusted a few components in the settings because they were too small and the numbers were not visible
# Split chapters - new special tool for Matroska, OGG/OGM and multiAVCHD chapter editors
- Action range for all tabs
- Load split chapters in the editor
- Save split chapters: only works for files
- 3 split options: After X chapters; individual; by parts
- Edition number: 0 means split all editions (only for Matroska)
- New file name
- a counter and an underscore are used for the split files. File_1; File_2 etc.
- ShortCut init: STRG+4 (settings)
- new item in the chapter-TreeView popup
// CLI
& Split chapters
- Syntax: -S SplitMode split-values [--edition-nr edition number] [--new-name "new file name"] [-i] "file.1" ["file.2" "..."]
- -S: initializes the chapter split
- SplitMode: x-chapters, individual, by-parts
- Split value > x-chapters: a number greater than 1;
- Split value > individual: an array with comma-separated numbers greater than 1 (5,9,15)
- Split value > by-parts: an array with comma-separated number pairs(start-end) end=0/or omit means last chapter (1-5,7-12,13-0,20-)
- --edition-nr: split all chapters of this edition; a value of 0 means split all editions; Default = 1
- --new-name: new file name without file extension; illegal file characters are automatically removed
- -i: an input parameter that must be used if several files are to be split, otherwise only the last file is used
- only Matroska, OGG/OGM and multiAVCHD chapter files can be used
- Examples:
- Matroska.xml of all 6 chapters: -S x-chapters 6 "Path/Matroska.xml"
- Matroska.xml of all 6 chapters from the 2nd edition: -S x-chapters 6 --edition-nr 2 "Path/Matroska.xml"
- Matroska.xml of all 6 chapters with a new file name: -S x-chapters 6 --new-name "Matroska Split" "Path/Matroska.xml"
- Matroska.xml individual all editions: -S individual 6,10,15 --edition-nr 0 "Path/Matroska.xml"
- several files by parts: -S by-parts 1-6,7-10,11-0,7-,3-7 -i "Path/Matroska.xml" "Path/OGG-OGM.txt" "Path/multiAVCHD.txt"
// Chapter Converter
* ShortCut for chapter naming did not work
// Disc2mkv
* mtxcfg file was not created correctly when using file attachments
// BD2mkv
* Ignore last chapter: increased chapter time from 2 seconds to 2.26 seconds
- Shameless Blu-ray: last chapter has a duration of 2.01 seconds and was not ignored
& Cover files
- Use Blu-ray cover files as attachments (settings)
- a list of all covers -> all can be used
- Move covers
- Open cover files -> double click or ENTER key
- Change "Use cover" also by right-clicking or space bar
- The original file name is used as the attachment description
- The largest file is used automatically and positioned in the first place
tormento
3rd April 2020, 18:02
I would suggest to add "remove duplicates" (by time stamp) somewhere.
Don't know why but I am saving my DVD and BD collection to NAS and happens to find lot of duplicated chapters.
A time frame tolerance would be appreciated too (max x seconds with the option of before/later).
hubblec4
4th April 2020, 01:30
Hi tormento
Thanks for your suggestion, it sounds useful.
Identify duplicate timestamps should be easy, also an additional check for a time tolerance.
But the option before/later is not really clear to me. I guess this option is used to decide which chapter is deleted?
Example: Time tolerance = 1 second
Chap 1 : time = 1s -> delete this chapter when option is "before"
Chap 2 : time = 2s -> delete this chapter when option is "after"
tormento
4th April 2020, 09:13
Thanks for your suggestion, it sounds useful.
The mess happens when there are 2 different chapter lists in the original file, such as in a mkv container in xml format, and someone decide to extract with the wrong tool to ogm/txt.
The chapter lists get mixed up.
In the optimal scenario, the 2 lists are identical and so the cleanup is easy (for you too to code it), in the worst case the 2 lists differs and there is where a real mess happens.
I really don't know how to deal with that. Perhaps highlighting with different colors the row of similar (in time) chapter time within a specific time frame.
hubblec4
4th April 2020, 13:37
....
I really don't know how to deal with that. Perhaps highlighting with different colors the row of similar (in time) chapter time within a specific time frame.
Highlighting is maybe the best way, because an automatic for deleting never knows what a user want.
But deleting all highlighted chapters manually is also cumbersome.
Maybe is a combination of both possible.
I have added the request to my TODO list, but please be patient it could take a while. Rev 1.22 is more or less ready and I hope I have time next week for upload.
tormento
4th April 2020, 13:39
But deleting all highlighted chapters manually is also cumbersome. Maybe is a combination of both possible
Please add CTRL+click multiple line selection and a keyboard shortcut for delete. ;)
hubblec4
4th April 2020, 19:57
Please add CTRL+click multiple line selection and a keyboard shortcut for delete. ;)
Multiple line selections is indeed a feature what I miss by my self.
I had used Mosu's Chapter Editor as template and there is also no multiple line selection supported.
There is already a hotkey for deleting chapters(DEL button as default) and you can change it in the settings.
tormento
4th April 2020, 19:59
There is already a hotkey for deleting chapters(DEL button as default) and you can change it in the settings.
DEL is useful to delete useless titles :) Another key to delete line is needed!
hubblec4
4th April 2020, 20:10
The DEL key deletes chapters only if the treeview has the focus otherwise it deletes useless titles.
Note, this is a hotkey for a component.
I think you mean a program shortcut which works from everywhere, for example CTRL+DEL.
hubblec4
8th April 2020, 00:50
chapterEditor(cE) rev1.22 is available.
Windows (https://forum.videohelp.com/attachments/52643-1586303149/cE-W(1.22).7z)
Linux (https://forum.videohelp.com/attachments/52644-1586303149/cE-L(1.22).7z)
This time just a little update.
Change chapterEditor
added &
fixed *
improved #
changed %
rev1.22 2020-04-08
// chapterEditor
& Automatically adjust chapter times when deleting chapters for Matroska, OGG/OGM and multiAVCHD chapter editors
- ordered Editions(Matroska chapters) are excluded
- can be de-/activated in the settings -> Chapter editors
* an incorrect playing time was determined for VLC playlist files *.m3u and *.m3u8
# VLC playlist files parser extended for times with milliseconds
// BD2mkv
* eac3to: PIDs for E-AC3 secondary audio tracks were not determined
tormento
23rd April 2020, 10:53
I am having issues importing subtitles from ChaptersDb (https://chapterdb.plex.tv/): it gives me "Unsupported chapter format".
Example (https://chapterdb.plex.tv/browse/62334).
Visually looking at them seems they have no issues.
Could you please check it out?
hubblec4
23rd April 2020, 12:08
Hi tormento
After a short check I can say the following:
When I download from this side to a .txt file it will not work, I don't know why -> I will check this.
The xml download option is in my eyes broken. Now you get an xml with ChapterGrabbers own format inside. When you save with this option and rename the extension to ".chapters" it will work with cE.
The chapters for your title (Talk to her) can be downloaded directly with cE's chapter database.
tormento
23rd April 2020, 15:29
The chapters for your title (Talk to her) can be downloaded directly with cE's chapter database.
I saw but I have issues changing frame rate, i.e. it reports to be 29.90 and I have to change to 24. Simply changing the source frame rate, it changes the chapters list, while changing the destination frame rate, it does nothing.
hubblec4
23rd April 2020, 18:34
I can download this title and can change FPS without issues. mmh.
The issue with the .txt from ChapterDB site is found. The "next line" consists only one char. When I check other .txt files there are always 2 chars for the "next line"
tormento
25th April 2020, 10:52
I can download this title and can change FPS without issues. mmh.
The issue is that the time codes changes as soon as you change the source fps, even if the same as the reported one in the download list.
hubblec4
25th April 2020, 11:29
A short explanation about FPS changing in cE.
Change Source or Target FPS will immediately change the time stamps! But this is not an issue or will make issues.
You can always set source and target FPS to the same value and you get original time stamps.
Lets say in the source FPS is a value of 24 and the target FPS is 30.
Now you load a chapter file witch have an original FPS of 25.
Now we change the source FPS to 25 -> yes the timestamps change and for now it is not correct/ not what you want.
Change the target FPS to 25 and now you have the original time stamps again.
When you want change the FPS from 25 to 24000/1001(23.976) then you have to change the target FPS to 24000/1001, thats all.
tormento
10th May 2020, 12:32
I have bought Ergo Proxy BDs. They have a strange authoring, i.e. there are 5 episodes per BD but chained together as a single playlist.
Ripping the AV is not a problem, as every episode has its own M2TS but the chapters are chained in a single file.
Can you give me a idea or introduce a feature to split every chapter list to its own M2TS?
Here (https://www.mediafire.com/file/99cr47n4pz1nkpi/Ergp_Proxy_xml.7z/file) you can find the xml.
hubblec4
10th May 2020, 20:32
Can you give me a idea or introduce a feature to split every chapter list to its own M2TS?
Yes you can use the new feature Split Chapters (https://forum.doom9.org/showpost.php?p=1902412&postcount=554)
Use the second split option "split individual".
Add the numbers of the chapters for each chapter named with a new m2ts file.
For your file it looks like this: 1,6,11,17,23,29
tormento
10th May 2020, 20:42
Use the second split option "split individual".
Thanks! You did a great software but sometimes I get lost in the interface.
tormento
11th May 2020, 20:28
Use the second split option "split individual".
You could add "split by same name" or better "split by m2ts". Perhaps it's not the same BD such authored.
hubblec4
12th May 2020, 09:51
Split by chapter names is not a good idea, because only my BD2mkv set chapter names from the m2ts files and I guess all other tools don't do that.
For your case, (second split option) the first split number (= 1) was not correct. A value of 1 is ignored.
tormento
12th May 2020, 09:54
Split by chapter names is not a good idea, because only my BD2mkv set chapter names from the m2ts files and I guess all other tools don't do that.
For your case, (second split option) the first split number (= 1) was not correct. A value of 1 is ignored.
Split by m2ts could be ok?
hubblec4
12th May 2020, 17:48
Yeah, I know that some BDs have only one playlist for all the episodes and in other threads I read it would be nice if such a feature is present in the tool.
Maybe is videoh with DGDemux the first one, I guess Mosu has no interest in such feature, and I have thought about it and maybe I will implement such feature for the BD2mkv editor.
But for splitting chapters it makes not much sense to say "look at the chapter names".
tormento
12th May 2020, 18:13
But for splitting chapters it makes not much sense to say "look at the chapter names".
Not at chapter names but at different M2TS files.
Each episode has its own M2TS file but they are joined in a single MPLS and consequent single chapter list.
hubblec4
12th May 2020, 18:29
Yes of course, if you work with BD2mkv then you have the info which is necessary.
darksen
12th May 2020, 23:02
Guys is there any replacement yet for chapterdb? It's been so long and, I guess, cE is using the cached Plex version, right? That's why we can't upload new chapters? I've tried a couple of times and every time uploading didn't do anything.
hubblec4
12th May 2020, 23:17
cE uses it's own database. I have copied the chapters from ChapterDB. You can upload to cE's database, this works!
darksen
13th May 2020, 07:47
cE uses it's own database. I have copied the chapters from ChapterDB. You can upload to cE's database, this works!
Cool! Thanks for this!
Now, I wonder, why I can't upload no chapters?
I have an account and I'm logged in and when I try to upload it asks me if everything is correct, I click to confirm it is and... nothing happens. Nothing, nada.
Can you please confirm it works? Maybe my account has some problem or something?
hubblec4
13th May 2020, 08:05
mmh, strange. for a while I have uploaded chapters but now it do not work.
Thanks for this hint, I will have a look.
darksen
13th May 2020, 08:41
mmh, strange. for a while I have uploaded chapters but now it do not work.
Thanks for this hint, I will have a look.
No problem. Thank you for taking the time to look into this. :thanks:
hubblec4
13th May 2020, 08:54
I found the issue, and I will try to make a new rev in the next couple of hours.
hubblec4
13th May 2020, 09:39
chapterEditor(cE) rev1.23 is available.
Windows (https://forum.videohelp.com/attachments/53287-1589358881/cE-W(1.23).7z)
Linux (https://forum.videohelp.com/attachments/53288-1589358881/cE-L(1.23).7z)
Important bugfix for the chapter database because the upload no longer worked.
Change chapterEditor
added &
fixed *
improved #
changed %
rev1.23 2020-05-13
// chapterEditor
& Support for BSPlayer .chf files
# OGG/OGM.txt files from ChapterDB Webside
- "Next line" is only displayed with one character
// Matroska Chapters
* Missing translation for "Edition entry"
- when loading simple chapter files
- new Disc2mkv chapters
- Multi chapters
// Multi chapters
* insert chapters after the selected chapter does not work if there is no next chapter (only Matroska)
// Chapter database
* Uploading chapters no longer worked
@tormento
I have started to implement multi selection of chapters but it is not so easy and not included in this rev.
darksen
13th May 2020, 20:04
Thanks!! I just tested it and it is working well now.
Edit: I want to request something regarding the chapter database. Is it possible you could allow us to choose more than one language for the chapter?
I have some chapters with multiple languages but I can only pick one when uploading them. Thanks!
hubblec4
13th May 2020, 23:50
Hi darksen
Many thanks for uploading the Avengers chapters.
Multiple languages for the chapters DB
I don't know if this so easy possible. I will have a look but to change the database design is maybe not possible.
tormento
26th May 2020, 13:57
Under Special tools -> Chapter naming, the chapter name is the first time with capital letter (Chapter) and other times with lowercase (chapter).
Me only?
hubblec4
26th May 2020, 15:55
Yeah, that causes by a translation(used only one time at start if the cE language is not german) which uses Chapter, but in the combo-box list the entry use chapter.
What do you prefer? I can change the entries from the combo-box list.
tormento
26th May 2020, 16:46
Yeah, that causes by a translation(used only one time at start if the cE language is not german) which uses Chapter, but in the combo-box list the entry use chapter.
What do you prefer? I can change the entries from the combo-box list.
To me, Chapter (and translations) is ok.
hubblec4
26th May 2020, 20:00
OK, I will change the list entries. It makes more sense to start with a capital letter.
tormento
2nd June 2020, 12:30
OK, I will change the list entries. It makes more sense to start with a capital letter.
When are you going to release?
hubblec4
2nd June 2020, 22:46
Hi tormento
I have not much time currently to work on cE, but here is a Windows 1.24 branch (https://forum.videohelp.com/attachments/53644-1591133986/cE.7z) for testing.
The chapter names in the combo-box have now capital letters.
tormento
3rd June 2020, 00:49
The chapter names in the combo-box have now capital letters.
:thanks:
darksen
23rd June 2020, 21:03
I've been using cE to remux some Blu-rays and DVDs and so far so good but there are some things I would like to request.
1- An option to hide the duplicate entries/playlists would be great. There were some times where there have been two or more playlists that pointed to the same file/s (m2ts) so the duration and the tracks where exactly the same, in those cases would be great if cE could hide all but one of them and only show that one. There are some cases where the segments differ (like in Disney's Blu-rays where they combine different segments according to the language one chooses or multi cut releases) and in those cases cE should obviously show all those playlists.
2- An option to automatically clean the temp folders after remuxing. This mostly applies to DVD2mkv as cE copies the entire files to the temp folder to process, but would also be handy for BD2mkv as I for one don't have any use for the job files and the other stuff.
3- Automatically replace illegal characters from the filename when remuxing. Otherwise we get errors and everything "hangs" until we close and reopen cE. Like if (in Windows) we put "AAAAA: AAAA BBBBB" as the filename and start remuxing the application will show an error on the log and, after finishing the batch, cE wouldn't start any other operation, all of this because it couldn't create the file with the ":" character on the filename.
I think I had one additional request but I forgot lol.
Thanks for all your work!
hubblec4
24th June 2020, 13:10
Hi darksen
1.)
That's maybe not so easy for me. To find all the correct mpls files I use the output of eac3to which selects only the important mpls titles. If MTX is the analysis part in the chain then all mpls files are shown.
I have not much knowledge about the index.bdmv to parse it by my self.
I personally trust eac3to fully.
Sometimes there are duplicated mpls titles and one of them have chapters and the other not, I know.
You can send me a chunk of the disc if you like. You can use my DiscShare tool for that.
2.)
Ok, I will think about it. Could be useful.
3.) <-- fixed
Oops, that's an ugly bug, I will fix it.
The strange thing is that MTX does its job as if everything is OK(sends progress numbers and reported all done fine), but there isn't really an output file.
darksen
30th June 2020, 15:06
Hi darksen
1.)
That's maybe not so easy for me. To find all the correct mpls files I use the output of eac3to which selects only the important mpls titles. If MTX is the analysis part in the chain then all mpls files are shown.
I have not much knowledge about the index.bdmv to parse it by my self.
I personally trust eac3to fully.
Sometimes there are duplicated mpls titles and one of them have chapters and the other not, I know.
You can send me a chunk of the disc if you like. You can use my DiscShare tool for that.
2.)
Ok, I will think about it. Could be useful.
3.) <-- fixed
Oops, that's an ugly bug, I will fix it.
The strange thing is that MTX does its job as if everything is OK(sends progress numbers and reported all done fine), but there isn't really an output file.
Hey, thanks for your time. Don't worry about the number 1, would have been nice to have if not much work should be needed. My ignorant self (I don't know much or anything about this) thought that maybe this be easy to implement. And thanks again for fixing number 3 and considering number 2. cE is great and more than just a chapter editor :thanks:.
hubblec4
2nd July 2020, 16:11
Hi darksen
Here is a new test rev1.24 branch (https://forum.videohelp.com/attachments/54034-1593701725/cE.7z) (Windows exe only).
The fix of point 3. is included and also the new feature delete temp folder (2.).
Automatically delete temp folder (settings)
- MKV file must not be created in the temp folder
- if there were errors when muxing, the temp folder is not deleted
- Gray state of the checkbox: the temp folder is only deleted if there was no warning
Point 1.
You can set a minimum of chapters(settings) for a playlist, this should hide chapterless playlists.
darksen
8th July 2020, 06:57
Thank you hubblec4, I tested it and everything is working great.
Just one thing, I saw you now don't allow special chars on the "file name" box but we still can input double quotes (") which -at least in Windows- are invalid for filenames. Can you please also add that character to the blacklist?
hubblec4
8th July 2020, 12:32
Thank you hubblec4, I tested it and everything is working great.
Thanks for testing.
Just one thing, I saw you now don't allow special chars on the "file name" box but we still can input double quotes (") which -at least in Windows- are invalid for filenames. Can you please also add that character to the blacklist?
Yes I will add double quotes to the blacklist. Thanks for this hint, I never realized that.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.