Problem with multi-edition MKV creation

User avatar
Rocky
Posts: 3634
Joined: Fri Sep 06, 2019 12:57 pm

Manually select M2TS to demux

Post by Rocky »

@Shoespooner

Welcome to the forum and thank you for your analysis. It may be useful after I manage to duplicate the issue.
User avatar
hubblec4
Posts: 221
Joined: Tue May 02, 2023 6:03 pm

Manually select M2TS to demux

Post by hubblec4 »

Rocky wrote:
Thu Jan 11, 2024 5:22 pm
I hope you meant they are NOT part of the problem.
What I mean was the chapter.xml belongs to the step to reproduce the issue, but the chapters itself are not the issue.
Rocky wrote:
Thu Jan 11, 2024 5:22 pm
I'm not optimistic it will change anything, because one or two gaps may not be enough to trigger any removal. Bear in mind that DGDemux and eac3to do things differently. I don't look for duplicated audio, just a threshold of desync. I don't even know what eac3to does!
Yes I know both tools uses it's own algo to remove audio data.
Rocky wrote:
Thu Jan 11, 2024 5:22 pm
Don't forget the disk upload. I don't see anything started yet.
Can you see the upload now?
User avatar
Rocky
Posts: 3634
Joined: Fri Sep 06, 2019 12:57 pm

Manually select M2TS to demux

Post by Rocky »

I see the upload. Wow, that was fast. Thank you.

Now, I just need the step-by-step and chapter file.
User avatar
Rocky
Posts: 3634
Joined: Fri Sep 06, 2019 12:57 pm

Manually select M2TS to demux

Post by Rocky »

Hmm. I downloaded it and opened it in DGDemux. Selected 00800.mpls and it showed properly. Selected 00801.mpls and it just sits there, showing the clips from 00800.mpls and no streams. Then it crashes. Gotta figure out what's up with that before I can continue.
User avatar
Rocky
Posts: 3634
Joined: Fri Sep 06, 2019 12:57 pm

Manually select M2TS to demux

Post by Rocky »

Ha ha, the download wasn't done. Please post when it is complete. :lol:
User avatar
hubblec4
Posts: 221
Joined: Tue May 02, 2023 6:03 pm

Manually select M2TS to demux

Post by hubblec4 »

Rocky wrote:
Thu Jan 11, 2024 5:22 pm
I'm not optimistic it will change anything, ....
Unfortunately, your guesses are correct. The loud hum can still be heard.
The DTS track is 9kb smaller with the new DGDemux version and the EAC3 track is 7kb smaller. I was happy that this helped a lot.

I would say with the English DTS soundtrack it seems to have helped a tiny bit but that may be just my ears.

In addition, I tested again with eac3to3.45 and the English DTS sound is correct and it sounds exactly like the Blu-ray.
Rocky wrote:
Thu Jan 11, 2024 5:22 pm
Now, I just need the step-by-step and chapter file.
Here a link to the chapter file from a post above.
https://www.rationalqm.us/board/downloa ... php?id=544

1. demux video and audio
DGDemux -i "path-to-00800.mpls" -o "target-path" -extras 00910,00912,00913 -demux 1011,1100,1101

2. open MTX and drag and drop the demuxed streams, change to the output tab and load the chapter.xml file
and start the mux process.

3. play the mkv with MPC-HC, jump to chapter 22 and go 5 seconds back and start playback.
User avatar
hubblec4
Posts: 221
Joined: Tue May 02, 2023 6:03 pm

Manually select M2TS to demux

Post by hubblec4 »

Rocky wrote:
Thu Jan 11, 2024 6:45 pm
Ha ha, the download wasn't done. Please post when it is complete. :lol:
Yes I have started it. but it will take a long time to finish :D
User avatar
Rocky
Posts: 3634
Joined: Fri Sep 06, 2019 12:57 pm

Manually select M2TS to demux

Post by Rocky »

Great step-by-step. Thank you.

Can you do one for eac3to processing?
User avatar
hubblec4
Posts: 221
Joined: Tue May 02, 2023 6:03 pm

Manually select M2TS to demux

Post by hubblec4 »

Only step 1 is different. I have not used eac3to from the command line since 10 years(cE does all the work in the background), I hope I remember correctly.

eac3to3.45 "path-to-00901.m2ts"+"path-to-00902.m2ts"+"path-to-00903.m2ts"+"path-to-00905.m2ts"+"path-to-00906.m2ts"+"path-to-00908.m2ts"+"path-to-00910.m2ts"+"path-to-00912.m2ts"+"path-to-00913.m2ts" 1:video.h264 2:eng.dtsma 3:ger.eac3

eac3to3.36 "path-to-00901.m2ts"+"path-to-00902.m2ts"+"path-to-00903.m2ts"+"path-to-00905.m2ts"+"path-to-00906.m2ts"+"path-to-00908.m2ts"+"path-to-00910.m2ts"+"path-to-00912.m2ts"+"path-to-00913.m2ts" 1:video.h264 2:eng.dtsma

For the old eac3to you can't demux the eac3 stream.
User avatar
Rocky
Posts: 3634
Joined: Fri Sep 06, 2019 12:57 pm

Manually select M2TS to demux

Post by Rocky »

Thank you.
User avatar
Rocky
Posts: 3634
Joined: Fri Sep 06, 2019 12:57 pm

Manually select M2TS to demux

Post by Rocky »

Download complete. Will start checking things today. Got some coaching to do this morning.

Can you give me the edition-1-is-default chapters file too please?
User avatar
hubblec4
Posts: 221
Joined: Tue May 02, 2023 6:03 pm

Manually select M2TS to demux

Post by hubblec4 »

Hi Rocky

It seems there is something wrong with the upload. I can't see the folder which I have uploaded.
User avatar
hubblec4
Posts: 221
Joined: Tue May 02, 2023 6:03 pm

Manually select M2TS to demux

Post by hubblec4 »

Rocky wrote:
Fri Jan 12, 2024 6:37 am
Can you give me the edition-1-is-default chapters file too please?
This is the chapter.xml from the init post.
https://www.rationalqm.us/board/downloa ... php?id=543
User avatar
Rocky
Posts: 3634
Joined: Fri Sep 06, 2019 12:57 pm

Manually select M2TS to demux

Post by Rocky »

I can't leave it online or my host gets mad. Also I have it now only for fair use purposes. If anyone else downloads it I can't say it is fair use.

Thanks for the edition 1 file.
User avatar
hubblec4
Posts: 221
Joined: Tue May 02, 2023 6:03 pm

Manually select M2TS to demux

Post by hubblec4 »

OK, the problem is the longest m2ts 00908 seems to not be fully copied.

23.059.986.432 Bytes
User avatar
hubblec4
Posts: 221
Joined: Tue May 02, 2023 6:03 pm

Manually select M2TS to demux

Post by hubblec4 »

A few minutes ago the folder was still visible and I wanted to compare the file sizes.

I saw that 00908.m2ts are not the same size. About 3GB is missing.

So I started the upload for the file again, but the folder is now gone.

We must have been dealing with it at the same time.
User avatar
Rocky
Posts: 3634
Joined: Fri Sep 06, 2019 12:57 pm

Manually select M2TS to demux

Post by Rocky »

Here are the sizes I have. Please re-upload any that are short and advise when finished.

Code: Select all

G:\Rips\A_NEW_HOPE\BDMV\STREAM>dir *.m2ts
 Volume in drive G is Streams
 Volume Serial Number is 3415-2102

 Directory of G:\Rips\A_NEW_HOPE\BDMV\STREAM

01/12/2024  05:11 AM        78,747,648 00001.m2ts
01/12/2024  05:12 AM         3,139,584 00002.m2ts
01/12/2024  05:13 AM           135,168 00003.m2ts
01/12/2024  04:55 AM           374,784 00004.m2ts
01/12/2024  05:11 AM           374,784 00005.m2ts
01/12/2024  05:10 AM         7,962,624 00006.m2ts
01/12/2024  05:02 AM           135,168 00007.m2ts
01/12/2024  05:10 AM       172,136,448 00030.m2ts
01/12/2024  05:12 AM       148,150,272 00031.m2ts
01/12/2024  05:10 AM         2,666,496 00100.m2ts
01/12/2024  05:11 AM         1,892,352 00101.m2ts
01/12/2024  05:12 AM         3,538,944 00102.m2ts
01/12/2024  04:55 AM         2,666,496 00103.m2ts
01/12/2024  05:02 AM         2,666,496 00104.m2ts
01/12/2024  05:13 AM         2,721,792 00105.m2ts
01/12/2024  05:12 AM         2,709,504 00106.m2ts
01/12/2024  05:11 AM         2,740,224 00107.m2ts
01/12/2024  05:12 AM        13,117,440 00108.m2ts
01/12/2024  05:02 AM         3,330,048 00109.m2ts
01/12/2024  05:11 AM         2,365,440 00110.m2ts
01/12/2024  04:55 AM        10,936,320 00111.m2ts
01/12/2024  05:11 AM        12,976,128 00112.m2ts
01/12/2024  05:11 AM         2,666,496 00113.m2ts
01/12/2024  05:13 AM         2,660,352 00114.m2ts
01/12/2024  05:12 AM         2,758,656 00115.m2ts
01/12/2024  05:01 AM         3,526,656 00116.m2ts
01/12/2024  05:12 AM         2,365,440 00117.m2ts
01/12/2024  05:01 AM         1,812,480 00118.m2ts
01/12/2024  05:11 AM         3,594,240 00119.m2ts
01/12/2024  05:12 AM         2,666,496 00120.m2ts
01/12/2024  05:11 AM         2,666,496 00121.m2ts
01/12/2024  05:10 AM        11,796,480 00122.m2ts
01/12/2024  05:13 AM         2,666,496 00123.m2ts
01/12/2024  05:01 AM         2,844,672 00124.m2ts
01/12/2024  05:12 AM         2,641,920 00125.m2ts
01/12/2024  05:11 AM         2,666,496 00126.m2ts
01/12/2024  05:13 AM         3,090,432 00127.m2ts
01/12/2024  05:13 AM         2,734,080 00128.m2ts
01/12/2024  05:10 AM         2,740,224 00129.m2ts
01/12/2024  05:13 AM        13,117,440 00130.m2ts
01/12/2024  04:55 AM         3,047,424 00131.m2ts
01/12/2024  05:12 AM        23,199,744 00132.m2ts
01/12/2024  05:11 AM         2,666,496 00133.m2ts
01/12/2024  05:10 AM         2,697,216 00134.m2ts
01/12/2024  05:12 AM         2,666,496 00135.m2ts
01/12/2024  05:13 AM         2,709,504 00136.m2ts
01/12/2024  05:12 AM         2,666,496 00137.m2ts
01/12/2024  04:55 AM        13,092,864 00138.m2ts
01/12/2024  05:11 AM         2,592,768 00139.m2ts
01/12/2024  05:13 AM         3,643,392 00140.m2ts
01/12/2024  05:11 AM         3,717,120 00141.m2ts
01/12/2024  05:11 AM         3,569,664 00142.m2ts
01/12/2024  05:11 AM         2,660,352 00143.m2ts
01/12/2024  05:12 AM         2,648,064 00144.m2ts
01/12/2024  05:11 AM        18,874,368 00145.m2ts
01/12/2024  05:01 AM        12,853,248 00146.m2ts
01/12/2024  05:12 AM        10,358,784 00147.m2ts
01/12/2024  05:11 AM           202,752 00200.m2ts
01/12/2024  05:11 AM           202,752 00201.m2ts
01/12/2024  04:55 AM           202,752 00202.m2ts
01/12/2024  05:01 AM           196,608 00203.m2ts
01/12/2024  05:11 AM           202,752 00204.m2ts
01/12/2024  05:01 AM           202,752 00205.m2ts
01/12/2024  05:12 AM           202,752 00206.m2ts
01/12/2024  05:01 AM           202,752 00207.m2ts
01/12/2024  05:12 AM           202,752 00208.m2ts
01/12/2024  05:02 AM           202,752 00209.m2ts
01/12/2024  05:02 AM           202,752 00210.m2ts
01/12/2024  04:55 AM           202,752 00211.m2ts
01/12/2024  05:13 AM           202,752 00212.m2ts
01/12/2024  05:10 AM           202,752 00213.m2ts
01/12/2024  05:12 AM           202,752 00214.m2ts
01/12/2024  04:55 AM           202,752 00215.m2ts
01/12/2024  05:01 AM           202,752 00216.m2ts
01/12/2024  04:55 AM           202,752 00217.m2ts
01/12/2024  05:10 AM           202,752 00218.m2ts
01/12/2024  05:11 AM           202,752 00219.m2ts
01/12/2024  04:55 AM           202,752 00220.m2ts
01/12/2024  05:13 AM           202,752 00221.m2ts
01/12/2024  04:55 AM           202,752 00222.m2ts
01/12/2024  05:12 AM           245,760 00223.m2ts
01/12/2024  05:01 AM           202,752 00224.m2ts
01/12/2024  05:12 AM           202,752 00225.m2ts
01/12/2024  05:13 AM           202,752 00226.m2ts
01/12/2024  04:55 AM           202,752 00227.m2ts
01/12/2024  05:13 AM           202,752 00228.m2ts
01/12/2024  05:12 AM           202,752 00229.m2ts
01/12/2024  04:55 AM           202,752 00230.m2ts
01/12/2024  05:13 AM           202,752 00231.m2ts
01/12/2024  05:12 AM           202,752 00232.m2ts
01/12/2024  05:13 AM           202,752 00233.m2ts
01/12/2024  05:10 AM           202,752 00234.m2ts
01/12/2024  05:12 AM           202,752 00235.m2ts
01/12/2024  05:11 AM           202,752 00236.m2ts
01/12/2024  04:55 AM           202,752 00237.m2ts
01/12/2024  05:12 AM           202,752 00238.m2ts
01/12/2024  05:13 AM           202,752 00239.m2ts
01/12/2024  05:13 AM           460,800 00240.m2ts
01/12/2024  05:12 AM            12,288 00241.m2ts
01/12/2024  04:55 AM         4,239,360 00300.m2ts
01/12/2024  05:12 AM         4,239,360 00301.m2ts
01/12/2024  05:12 AM         4,239,360 00302.m2ts
01/12/2024  05:11 AM         4,245,504 00303.m2ts
01/12/2024  05:01 AM         4,239,360 00304.m2ts
01/12/2024  05:12 AM         4,239,360 00305.m2ts
01/12/2024  05:11 AM         4,245,504 00306.m2ts
01/12/2024  05:11 AM         4,239,360 00307.m2ts
01/12/2024  05:12 AM         4,245,504 00308.m2ts
01/12/2024  05:11 AM         4,239,360 00309.m2ts
01/12/2024  05:13 AM         4,239,360 00310.m2ts
01/12/2024  04:55 AM         4,239,360 00311.m2ts
01/12/2024  05:11 AM         4,239,360 00312.m2ts
01/12/2024  05:02 AM         4,239,360 00313.m2ts
01/12/2024  04:55 AM         4,239,360 00314.m2ts
01/12/2024  05:12 AM         4,245,504 00315.m2ts
01/12/2024  04:55 AM         4,239,360 00316.m2ts
01/12/2024  05:10 AM         4,239,360 00317.m2ts
01/12/2024  05:13 AM         4,239,360 00318.m2ts
01/12/2024  05:13 AM         4,239,360 00319.m2ts
01/12/2024  05:11 AM         4,239,360 00320.m2ts
01/12/2024  04:55 AM         4,239,360 00321.m2ts
01/12/2024  05:10 AM         4,257,792 00322.m2ts
01/12/2024  05:11 AM         4,239,360 00323.m2ts
01/12/2024  05:10 AM         4,239,360 00324.m2ts
01/12/2024  05:02 AM         4,245,504 00325.m2ts
01/12/2024  05:11 AM         4,245,504 00326.m2ts
01/12/2024  05:11 AM         4,245,504 00327.m2ts
01/12/2024  05:12 AM         2,174,976 00328.m2ts
01/12/2024  05:12 AM         4,239,360 00329.m2ts
01/12/2024  05:02 AM         4,239,360 00330.m2ts
01/12/2024  05:01 AM         4,239,360 00331.m2ts
01/12/2024  05:02 AM         4,239,360 00332.m2ts
01/12/2024  05:12 AM         4,239,360 00333.m2ts
01/12/2024  04:55 AM         4,245,504 00334.m2ts
01/12/2024  05:12 AM         4,239,360 00335.m2ts
01/12/2024  05:12 AM         4,239,360 00336.m2ts
01/12/2024  05:11 AM         4,245,504 00337.m2ts
01/12/2024  05:02 AM         4,245,504 00338.m2ts
01/12/2024  05:12 AM         4,245,504 00339.m2ts
01/12/2024  05:10 AM         4,239,360 00340.m2ts
01/12/2024  05:12 AM         4,245,504 00341.m2ts
01/12/2024  05:11 AM           718,848 00900.m2ts
01/12/2024  05:10 AM       690,032,640 00901.m2ts
01/12/2024  05:01 AM    15,872,372,736 00902.m2ts
01/12/2024  05:12 AM       325,883,904 00903.m2ts
01/12/2024  05:13 AM       533,944,320 00905.m2ts
01/12/2024  05:13 AM       659,306,496 00906.m2ts
01/12/2024  05:10 AM    20,213,137,408 00908.m2ts
01/12/2024  05:11 AM           552,960 00909.m2ts
01/12/2024  05:13 AM       698,597,376 00910.m2ts
01/12/2024  05:11 AM       694,646,784 00911.m2ts
01/12/2024  05:12 AM       325,982,208 00912.m2ts
01/12/2024  05:11 AM       659,103,744 00913.m2ts
             153 File(s) 41,517,144,064 bytes
               0 Dir(s)  1,009,190,440,960 bytes free
User avatar
hubblec4
Posts: 221
Joined: Tue May 02, 2023 6:03 pm

Manually select M2TS to demux

Post by hubblec4 »

OK, it seems it is only that one m2ts file. Upload is running ( ca. 9h)
User avatar
Rocky
Posts: 3634
Joined: Fri Sep 06, 2019 12:57 pm

Manually select M2TS to demux

Post by Rocky »

Cheers, I'll be patient. That's better than 3 weeks. ;)
User avatar
Rocky
Posts: 3634
Joined: Fri Sep 06, 2019 12:57 pm

Manually select M2TS to demux

Post by Rocky »

Also, next time please use an innocent name for the directory. A_NEW_HOPE is a bit obvious. Anything, even "xyz". Thank you.
User avatar
hubblec4
Posts: 221
Joined: Tue May 02, 2023 6:03 pm

Manually select M2TS to demux

Post by hubblec4 »

Rocky wrote:
Fri Jan 12, 2024 9:29 am
Also, next time please use an innocent name for the directory. A_NEW_HOPE is a bit obvious. Anything, even "xyz". Thank you.
Ah OK. Yes makes total sense
57% are done.
DAE avatar
Shoespooner
Posts: 8
Joined: Thu Jan 11, 2024 11:27 am

Manually select M2TS to demux

Post by Shoespooner »

Rocky wrote:
Thu Jan 11, 2024 5:25 pm
@Shoespooner

Welcome to the forum and thank you for your analysis. It will be useful after I manage to duplicate the issue.
Thanks a lot to you, too.

For completeness, VLC is also able to play multi-edition MKVs, and the very same issue appears there.

This is a hint that the issue may not be due to the player. But on the other hand, I can very well imagine that all common players share the same bug, because that bug is "natural" and most player developers probably fall into that trap if they don't think about multi-edition MKVs from the beginning on.

Anyway, I would suggest that you start your tests with MPC-HC, because VLC has other issues with multi-edition MKVs (if you select the second edition, it indeed plays the second edition, but the UI still claims that it plays the first edition, which is extremely worrying; furthermore, it inadvertently switches editions with no reason in certain situations).

Best regards, and thanks for testing!
User avatar
Rocky
Posts: 3634
Joined: Fri Sep 06, 2019 12:57 pm

Manually select M2TS to demux

Post by Rocky »

Upload just finished. Downloading now...
User avatar
hubblec4
Posts: 221
Joined: Tue May 02, 2023 6:03 pm

Manually select M2TS to demux

Post by hubblec4 »

yes. the download is finished now.

I hope every bit was correct send.

EDIT:
Question: Has Curly also access to the disk for testing?
User avatar
Curly
Posts: 718
Joined: Sun Mar 15, 2020 11:05 am

Manually select M2TS to demux

Post by Curly »

i got it 2 bro
but i thot u said yer stuff works gud with eac3to
Curly Howard
Director of EAC3TO Development
Post Reply