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 23rd September 2024, 17:05   #841  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,796
Quote:
Originally Posted by hubblec4 View Post
qp files are supported
I am surely doing some mistake but:



whose content is:

0 I -1
2162 I -1
12718 I -1
31062 I -1
32498 I -1
32874 I -1
35057 I -1
49850 I -1
63949 I -1
65384 I -1
65766 I -1
67947 I -1
78000 I -1
96845 I -1
98281 I -1
98667 I -1
100841 I -1
115804 I -1
129742 I -1
131177 I -1
131563 I -1
133746 I -1
148540 I -1
162635 I -1
164073 I -1
164460 I -1
166643 I -1
181308 I -1
195535 I -1
196970 I -1
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 25th September 2024, 11:56   #842  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,412
Ahhh yes there was a "-1" at the end which I forgot to support. Thanks for the heads up.
I will fix this.
hubblec4 is offline   Reply With Quote
Old 25th September 2024, 13:12   #843  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,796
Quote:
Originally Posted by hubblec4 View Post
Ahhh yes there was a "-1" at the end which I forgot to support. Thanks for the heads up.
I will fix this.
While you are fixing it, please evaluate to adopt the most generic syntax.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 26th September 2024, 14:57   #844  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,412
Quote:
Originally Posted by tormento View Post

whose content is:

0 I -1
2162 I -1
12718 I -1
31062 I -1
32498 I -1
32874 I -1
35057 I -1
49850 I -1
63949 I -1
65384 I -1
65766 I -1
67947 I -1
78000 I -1
96845 I -1
98281 I -1
98667 I -1
100841 I -1
115804 I -1
129742 I -1
131177 I -1
131563 I -1
133746 I -1
148540 I -1
162635 I -1
164073 I -1
164460 I -1
166643 I -1
181308 I -1
195535 I -1
196970 I -1
When I copy the content, save to a normal text file and load in cE -> works.
Could you share with me your file?
There must be another issue, and I already support the "-1 qp" setting.
hubblec4 is offline   Reply With Quote
Old 26th September 2024, 16:15   #845  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,796
Quote:
Originally Posted by hubblec4 View Post
When I copy the content, save to a normal text file and load in cE -> works.
I have found that the problem is the file extension. Just rename .txt to .qp and it will stop working.

I use .qp to distinguish from chapters, that usually have .txt extension.

Add .qp to the supported file types, please.

P.S: As QP list defines the I-frames and the chapter file is sometime offset by some frames, it could be nice to load both files and visually compare the differences.

Look at these two files to understand what I mean.

As you can see, QP file is huge compared to the chapter one, as it includes all the detected scene changes. I usually give a scan to the video with PySceneDetect, to have clean scene/chapters cuts.

Unfortunately I have to fix the chapter file manually.
__________________
@turment on Telegram

Last edited by tormento; 26th September 2024 at 16:27.
tormento is offline   Reply With Quote
Old 27th September 2024, 17:01   #846  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,412
Hi Tormento

Yes I can add the .qp file extension support.
hubblec4 is offline   Reply With Quote
Old 3rd October 2024, 20:21   #847  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,796
Quote:
Originally Posted by hubblec4 View Post
Yes I can add the .qp file extension support.
Great.

Please, when you have time, let us convert from chapters to qp too.

I tried chapters2qp with large chapters and it creates 0 byte files.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 3rd October 2024, 21:22   #848  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,412
Hi tormento

Here a test version for the .qp extension support. Please let me know if all works.
hubblec4 is offline   Reply With Quote
Old 3rd October 2024, 21:27   #849  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,412
Quote:
Originally Posted by tormento View Post
Great.

Please, when you have time, let us convert from chapters to qp too.

I tried chapters2qp with large chapters and it creates 0 byte files.
What is chapters2qp?

cE can convert to qp format but the extension is ".txt".
Only the file extension have to be changed.
But cE should output the file with the .qp extension, right?
hubblec4 is offline   Reply With Quote
Old 5th October 2024, 11:32   #850  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,796
Quote:
Originally Posted by hubblec4 View Post
Please let me know if all works.
It works ok but I think there is some rounding problem in your calculations.

For the qp:

0 I -1
3605 I -1
12569 I -1
15624 I -1
27130 I -1
45463 I -1
55405 I -1
69448 I -1
79994 I -1
93141 I -1
104866 I -1
110269 I -1
122934 I -1
134232 I -1
138879 I -1
157300 I -1
165722 I -1
179996 I -1
186515 I -1
196496 I -1
208263 I -1


I get

cE ———————————— Excel —— Original chapters

00:00:00.000 0:00:00.000 00:00:00.000
00:02:30.358 0:02:30,359 00:02:30.359
00:08:44.232 0:08:44,232 00:08:44.232
00:10:51.651 0:10:51,651 00:10:51.651
00:18:51.547 0:18:51,547 00:18:51.547
00:31:36.185 0:31:36,186 00:31:36.186
00:38:30.850 0:38:30,850 00:38:30.850
00:48:16.560 0:48:16,560 00:48:16.560
00:55:36.416 0:55:36,416 00:55:36.416
01:04:44.755 1:04:44,756 01:04:44.756
01:12:53.786 1:12:53,786 01:12:53.786
01:16:39.136 1:16:39,136 01:16:39.136
01:25:27.372 1:25:27,372 01:25:27.372
01:33:18.593 1:33:18,593 01:33:18.593
01:36:32.411 1:36:32,412 01:36:32.412
01:49:20.720 1:49:20,721 01:49:20.721
01:55:11.988 1:55:11,988 01:55:11.988
02:05:07.333 2:05:07,333 02:05:07.333
02:09:39.229 2:09:39,230 02:09:39.230
02:16:35.520 2:16:35,521 02:16:35.521
02:24:46.302 2:24:46,303 02:24:46.303


Some timings are .001 second off. Much better you increase the decimal of the 24000/1001 division.

Quote:
Originally Posted by hubblec4 View Post
What is chapters2qp?
It's included in DGToolsNV. It automatically creates .qp when demuxing.

Quote:
Originally Posted by hubblec4 View Post
But cE should output the file with the .qp extension, right?
Not mandatory but nice not to confuse it with chapter .txt.
__________________
@turment on Telegram

Last edited by tormento; 5th October 2024 at 11:37.
tormento is offline   Reply With Quote
Old 5th October 2024, 14:37   #851  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,412
Thanks for the feedback, I will have a look at this.
hubblec4 is offline   Reply With Quote
Old 8th October 2024, 01:05   #852  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,412
Hi tomento

Here is a new test version.
hubblec4 is offline   Reply With Quote
Old 8th October 2024, 13:22   #853  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,796
Quote:
Originally Posted by hubblec4 View Post
Hi tomento
Rounding problem seems to be fixed.

Thanks.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 20th October 2024, 16:41   #854  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,412
update rev 1.45

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


After a long time, it's time again.

"Automatic creation and saving of Matroska tags"
This is a feature of mine for myself.
As I always edit the chapters first and save them in the Matroska file, the only thing missing at the end is the tags.
There is a button that can be used to create the tags, but from there it's always a few more clicks to save the tags in the Matroska file.
So everything is now automated and when you save the chapters for the last time, you can use the CTRL key to save the tags directly.


Time stamp files for MKVToolNix (MTX)
Until now, when films consist of several segments, the tracks should/must be extracted in order to stay synchronized.

A demux tool such as eac3to or DGDemux is used for this. eac3to was the first tool that could do this and it output a message that
duplicate audio frames were removed.
However, there are no duplicate audio frames.
A user had a great idea, but it wasn't clear to me either what he wanted and how the whole thing should be implemented.
With a lot of help from the DG-Team, analyzing the problem became much easier (many thanks Rocky).
It was clear that there were no duplicate audio frames and only the time stamps didn't "match".
MTX needs a little help to append the segments because the internal append mode works differently.
With the help of the correctly specified time stamps, which MTX supports, everything can be muxed together cleanly.
cE had to be expanded to include an m2ts parser because not all information can be found in the mpls.
At this point, a special thank you to Sherman, who did a lot of preparation for me when coding.

To create the time stamp files, cE first uses a fast mode.
For this, only the corresponding frame duration of the audio track is required.
cE then assumes that there are no more audio frames after the last video frame, which should be the case according to the Blu-ray specs.

This means that no more audio frames are removed and everything remains synchronized.

Thank you @Unforgettable for this inspiration.

Code:
Change chapterEditor

added    &
fixed    *
improved #
changed  %


rev1.45 2024-10-20
// chapterEditor
& support for the file extension ".qp"

* Timestamps in the format HH:MM:SS.MS are now correctly rounded


// Matroska Chapters
& automatic creation and saving of Matroska Tags
  - only for direct saving in Matroska files with the "Save" button
  - CTRL key must be pressed for left or right click


// BD2mkv
& creation of MTX timestamp files for films or Playlists that use multiple segments (settings)
- timestamp files "must" be created only for audio tracks
- the audio tracks no longer have to be demuxed -> no more removal of audio frames

* mtxcfg file is now created correctly again if DolbyVision is present

% in the settings there is a new tab "MKV file" with the relevant settings

Last edited by hubblec4; 20th October 2024 at 19:29.
hubblec4 is offline   Reply With Quote
Old 20th October 2024, 21:52   #855  |  Link
Klaus1189
Registered User
 
Join Date: Feb 2015
Location: Bavaria
Posts: 1,725
Sounds very good.
Klaus1189 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:13.


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