Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > New and alternative a/v containers

Reply
 
Thread Tools Search this Thread Display Modes
Old 17th March 2022, 23:32   #661  |  Link
skelleton
Registered User
 
Join Date: Mar 2022
Posts: 4
Hey I hope this is not the wrong place to ask.

But i have my own tool for processing my BluRay rips that o have been working on once in a while in the last few years. And up to now I have used the copy of chapterdb that is hosted by plex.

Unfortunately it seems like Plex has disabled API access in the last couple of months.

I have seen that you seem to have a copy of the chapterdb database. Do you know of any source where I could also acquire a copy of that data short of writing a web scraper for the Plex site?

As a fallback i tried to use the CLI version of your program, but it does not seem to like my credentials.
And I think at this point I would like to have a local backup data source at the very least.

Unfortunately I can't find any other copy of the data and I seriously doubt that the plex guys would even respond to me.
skelleton is offline   Reply With Quote
Old 18th March 2022, 15:15   #662  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,255
Hi skelleton,
and welcome to Doom9.

Yes chapterEditor(cE) uses the chapters from ChapterDB.org. Many people have registered and uploaded new chapters to cE's database.

The CLI version uses the old database of the deprecated cE (versions up to 0.51).
I'm wondering a little that the database still works.
You can create a user account with the old cE(0.51), and than you can use the CLI version.
But this database is outdated and only a small amount of chapters is used from ChapterDB.org.

cE->1.xx uses a new database, but there is currently no CLI options.

What is your aim and what do you need?
__________________
chapterEditor || Matroska-Playback || hSplit || DiscShare
hubblec4 is offline   Reply With Quote
Old 18th March 2022, 15:50   #663  |  Link
skelleton
Registered User
 
Join Date: Mar 2022
Posts: 4
I have my own tool to fix metadata and set encoding options for my makemkv rips.

So far I have used the data from https://chapterdb.plex.tv/ via the api. Unfortunately the API no longer works, so i need an alternative source for chapter data.
The way i use the API is that i run a search for the title and match the length from chapterdb to the lenght of my file. This has worked pretty decently for cases where chapterdb actually has data available.

At the very least i need something that i can call from python or the command line to get results. Ideally i would want a data source that i can run on one of my computers. That is mostly because i only run my new blu rays in batches every few months, and its a pain when i notice that one of the external services i use does not work any more, or has changed something.
skelleton is offline   Reply With Quote
Old 18th March 2022, 23:45   #664  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,255
Quote:
Originally Posted by skelleton View Post
...
The way i use the API is that i run a search for the title and match the length from chapterdb to the lenght of my file. This has worked pretty decently for cases where chapterdb actually has data available.
That means you need a new way to get your chapters from a working database via batch process.
Maybe I find time to add such function for cE's CLI.
Is the old cE-CLI version good enough for your needs? Or do you need other options?

Quote:
Originally Posted by skelleton View Post
At the very least i need something that i can call from python or the command line to get results. Ideally i would want a data source that i can run on one of my computers.
If you want I can share with you the ChapterDB.org database.
I have downloaded almost the whole DB.
The DB has a uncompressed size over 2GB. For each ID there is a chapter xml file and a html file (saved as .txt) with the movie info.
__________________
chapterEditor || Matroska-Playback || hSplit || DiscShare
hubblec4 is offline   Reply With Quote
Old 19th March 2022, 00:16   #665  |  Link
skelleton
Registered User
 
Join Date: Mar 2022
Posts: 4
It would be great to have the chapterdb database. And 2 GB is not an issue storage wise. That will still fit my fast storage.

With the old CLI version. I think i might work for me, but as i never had it running so far i am not 100% sure.
Currently i kind of rely on getting several matches for a title search and those matches contain the movie length associated with the chapterset. Once I have those to values I match my movie length.

So depending on what ChapterEdit returns I may have to rework how i match chaptersets to my ripped media.

But besides that i am not sure that its smart to incorporate an essentially deprecated tool. Especially if it works against a different database than the current version.
skelleton is offline   Reply With Quote
Old 19th March 2022, 14:20   #666  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,255
Quote:
Originally Posted by skelleton View Post
It would be great to have the chapterdb database. And 2 GB is not an issue storage wise. That will still fit my fast storage.
OK. But keep in mind I have filtered some movies(chapters), because titles like "xxxxxx" or "chapters_01" doesn't make sense or chaptersets with only one or two chapters. Furthermore there are no new chapters which uploaded to cE's database.
ChapterDB.org

Quote:
Originally Posted by skelleton View Post
With the old CLI version. I think i might work for me, but as i never had it running so far i am not 100% sure.
....

So depending on what ChapterEdit returns I may have to rework how i match chaptersets to my ripped media.
OK.
The output of the old cE-CLI version is a simple text with info about a movie and you can download the chapter xml/or ogg.txt file.

Quote:
Originally Posted by skelleton View Post
But besides that i am not sure that its smart to incorporate an essentially deprecated tool. Especially if it works against a different database than the current version.
Yes of course :-)
__________________
chapterEditor || Matroska-Playback || hSplit || DiscShare
hubblec4 is offline   Reply With Quote
Old 19th March 2022, 17:28   #667  |  Link
skelleton
Registered User
 
Join Date: Mar 2022
Posts: 4
Thank you a lot. And your changes basically just save me some work so that is great.
skelleton is offline   Reply With Quote
Old 25th March 2022, 11:20   #668  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,133
I have bought a collection of anime BD.

Unfortunately each mpls contains 2 episodes, divided in two m2ts.

Encoding and audio demuxing is not a problem, as I indexed each m2ts separately, but obviously the chapters are contained in the mpls.

Is it possible to create the two separate chapter files for each episode with the correct timings?
__________________
@turment on Telegram
tormento is online now   Reply With Quote
Old 25th March 2022, 11:56   #669  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,255
Quote:
Originally Posted by tormento View Post
Is it possible to create the two separate chapter files for each episode with the correct timings?
Yes, but not automatically.
You can use the Split-Chapter feature.
__________________
chapterEditor || Matroska-Playback || hSplit || DiscShare

Last edited by hubblec4; 25th March 2022 at 12:02.
hubblec4 is offline   Reply With Quote
Old 28th May 2022, 17:00   #670  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,255
update rev1.32

chapterEditor(cE) rev1.32 is available.
Windows
Linux


A small update with a lot of work for the BCP47.
Mosu had adjusted a lot and I have now made up for this.

The new chapter format, YouTube chapter from the comments, has now also been finished.
Simply mark and copy the text in the comment.
You can then create a text file or load the chapters directly via the clipboard.
It may well be that there is still a little need for adaptation, since the comments can be quite different in their structure.

Code:
Change chapterEditor

added    &
fixed    *
improved #
changed  %


rev1.32 2022-05-28
// chapterEditor
& support for chapters from YouTube comments
  - can also be loaded via the clipboard

& support for the time format MM:SS (minutes:seconds)
  - M:SS is also supported

# Time format H:MM:SS is now also supported

# Laz_BCP47 updated on rev 1 (ChangeLog)
__________________
chapterEditor || Matroska-Playback || hSplit || DiscShare
hubblec4 is offline   Reply With Quote
Old 5th June 2022, 08:19   #671  |  Link
bovirus
Registered User
 
Join Date: May 2022
Posts: 4
@hubblec4

- New language (italian) /njew chnagelog file (italian)

I created the italian language for your program.,

I also created the changelog for italian users.

Italian (.po) language - https://mega.nz/file/uVZETSzD#kCQjOZ...--VKoVwEECWMaU

Italin changelog - https://mega.nz/file/zMxQiDja#8hzhoq...H2ZBZi1QPc9RH0

- Proposal for .po language string change

- Original
msgid "Five- to eight-letter language codes are currently not supported."

- Proposal

msgid "Five-to-eight letter language codes are currently not supported."

to align it to other string

msgid "Four-letter language codes are reserved for future use and not supported."

- Add/test new language file

How can add and test a new language (as Italian).
Pelase consdier to add an option to use additional language file to test in place,

Last edited by bovirus; 5th June 2022 at 11:44.
bovirus is offline   Reply With Quote
Old 5th June 2022, 14:57   #672  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,255
Hi bovirus,
and welcome to Doom9.

First, many thanks for your help.


Quote:
Originally Posted by bovirus View Post
@hubblec4

- New language (italian) /njew chnagelog file (italian)

....

- Add/test new language file

How can add and test a new language (as Italian).
Pelase consdier to add an option to use additional language file to test in place,

Unfortunately only the BCP47 uses the .po-files. As I started coding chapterEditor(cE), I had no idea how to use .po-files for translations.
cE uses a own simple("stupid") translation system.
English and German are hard coded but I had added an option to add more languages dynamically, but this feature is not finished and not tested.
It's a long time ago, but I think the plan was an "in-tool translation feature". So that every user can adjust any text.

I have to check this.

For testing your translated .po file you can use a "dirty workaround":
Rename your "*.it.po" file to "*.en.po" and replaced it with the original en.po-file(make a backup first).


Quote:
Originally Posted by bovirus View Post
- Proposal for .po language string change

- Original
msgid "Five- to eight-letter language codes are currently not supported."

- Proposal

msgid "Five-to-eight letter language codes are currently not supported."

to align it to other string

msgid "Four-letter language codes are reserved for future use and not supported."
These strings were copied by MKVToolNix to stay synchronously.
__________________
chapterEditor || Matroska-Playback || hSplit || DiscShare

Last edited by hubblec4; 6th June 2022 at 16:23.
hubblec4 is offline   Reply With Quote
Old 6th June 2022, 08:46   #673  |  Link
bovirus
Registered User
 
Join Date: May 2022
Posts: 4
@hubblec4

I already tried to change .it-.po as .en.po but I didn't see any changes in GUI.

Could you pelase post a list of the strings hardcoded in the program and I can translate it in Italian?
In this way you can add italian language to your GUI.

When will be available a mroe felxible external system to read lanbguage file we can switch to this.

What kind of developping language are using to develop cE?

Thanks. KR.
bovirus is offline   Reply With Quote
Old 6th June 2022, 13:04   #674  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,255
Quote:
Originally Posted by bovirus View Post
@hubblec4

I already tried to change .it-.po as .en.po but I didn't see any changes in GUI.
Only the BCP47 form is effected by the .po files.


Quote:
Originally Posted by bovirus View Post
Could you pelase post a list of the strings hardcoded in the program and I can translate it in Italian?
In this way you can add italian language to your GUI.

When will be available a mroe felxible external system to read lanbguage file we can switch to this.
I looked this night over this issue, and I think the best solution will be to use .po files for the whole cE.
My own translation system is fine, but I have to write a lot of code for an interface, so that users can translate cE.
.po files are widely used and works. But all this will take some time because over 1500 Strings are used in cE.


Quote:
Originally Posted by bovirus View Post
What kind of developping language are using to develop cE?
cE is written in Lazarus(FreePascal).
__________________
chapterEditor || Matroska-Playback || hSplit || DiscShare
hubblec4 is offline   Reply With Quote
Old 7th June 2022, 12:32   #675  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,133
I have cut a multiple episode but single mpls by chapters and now I have many MKV files with the chapters starting with the original numeration, i.e. some starting with 5, other with 11 and so on.

Is there a way to "normalize" multiple OGM chapter files at once? I have tried with manual chapter renaming but it's too slow.
__________________
@turment on Telegram
tormento is online now   Reply With Quote
Old 7th June 2022, 19:17   #676  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,255
Quote:
Originally Posted by tormento View Post
Is there a way to "normalize" multiple OGM chapter files at once? I have tried with manual chapter renaming but it's too slow.
Do you use the "All tab" option for the renaming?
For my tests, only two mouse clicks are necessary after splitting chapters.
Open Chapter-naming feature and one click more "Change names and exit".

But I guess you want an automatic feature.?

I will check this: maybe I can combine it with the existing Chapter-naming feature or I have to add a simple renaming feature within the split feature.

I added this issue to may TODO list, but be patient because I work on the .po files which will take some time.
__________________
chapterEditor || Matroska-Playback || hSplit || DiscShare
hubblec4 is offline   Reply With Quote
Old 9th June 2022, 15:49   #677  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,133
Quote:
Originally Posted by hubblec4 View Post
Open Chapter-naming feature and one click more "Change names and exit".
Very nice feature but then I have to manually save each chapter, close the tab with middle click and repeat.

You can:

1) ask to save a chapter if modified before closing
2) add a save all button
__________________
@turment on Telegram
tormento is online now   Reply With Quote
Old 9th June 2022, 19:57   #678  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,255
Quote:
Originally Posted by tormento View Post
Very nice feature but then I have to manually save each chapter, close the tab with middle click and repeat.


2) add a save all button
A save all tabs option exists, make a middle click on the save button(In the Status bar is a hint for that) or the entry in the main menu or the default short cut Shift+CTRL+S.
Also exists an option to close all tabs at once. Make a middle click on the tab header and a popup opens. There are other options for closing tabs.



Quote:
Originally Posted by tormento View Post
1) ask to save a chapter if modified before closing
I don't know if I can this implement easily. I will check this.
__________________
chapterEditor || Matroska-Playback || hSplit || DiscShare

Last edited by hubblec4; 9th June 2022 at 20:09.
hubblec4 is offline   Reply With Quote
Old 13th June 2022, 19:53   #679  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,255
Hi bovirus

I have good news for the translation request.
At the beginning it seemed .po files could not be used, or not so easy like I thought.
But I was able to make it works, with a small amount of time and code.

Your translated *it.po file works, but I have found some small issues.
Sometimes you use a line break.
Two strings are not translated: "Grandfathered" and "No normalization".


I have to prepare and fix some things and will provide a test version so soon as possible.
__________________
chapterEditor || Matroska-Playback || hSplit || DiscShare
hubblec4 is offline   Reply With Quote
Old 14th June 2022, 07:38   #680  |  Link
bovirus
Registered User
 
Join Date: May 2022
Posts: 4
@hubblec4

"No normalization" = "Nessuna normalizzazione"

What's the meaning of "Grandfathered" in this context?

Thanks.
bovirus is offline   Reply With Quote
Reply

Tags
bluray backup, chapter editor, dvd2mkv, matroska menu, metadata, multi-edition-mkv, xml tag

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 21:07.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.