Problem with multi-edition MKV creation
Posted: Wed Jan 10, 2024 7:58 pm
Hi Rocky
Unfortunately, I now have a Blu-ray where removing the audio overlap is not precise.
The whole thing was reported to me by a user on Reddit.
Init issue: https://www.reddit.com/r/chapterEditor/ ... tion_mkvs/
And more discussion and try to use another Matroska linking way https://www.reddit.com/r/chapterEditor/ ... rsion_142/
After a while he sent me the Blu-ray and I was able to test it out myself.
Here's the link to the normal Blu-ray.
https://www.amazon.de/STAR-WARS-Ep-IV-H ... 8&qid=&sr=
And now something about the problem:
The Blu-ray is a typical multi-Angle Blu-ray with 3 different film versions.
All 3 versions are exactly the same length because there are no extra scenes, only certain video images are replaced where a language can be seen.
Therefore there are only 6 m2ts files for each version.
The user wants to save the English (00800.mpls) and German (00801.mpls) versions in a multi-edition mkv.
The first version should be the English one.
This uses the following m2ts files: 00901 + 00902 + 00903 + 00905 + 00906 + 00908
The German version is intended to be the second version and uses the following m2ts files: 00910 + 00902 + 00912 + 00905 + 00913 + 00908
cE now creates a multi-version segment list of all m2ts files used and generates the chapters.xml(see attachments) file with exact timestamps (this was also confirmed by the said user).
Then the audio tracks of such Blu-rays must be demuxed.
The mpls 00800 is used as the basis and the remaining m2ts files are appended using the -extras switch
00910 + 00912 + 00913
There is an English DTS track and a German EAC3 track.
When I demux both tracks with DGDemux (and then mux them into the mkv), there is an audio problem in the second version in chapter 23 which is clearly audible.
Shortly before chapter 23 is reached there is a change of scene and the new video image is shown but a little bit of audio is played which still belongs to the old chapter.
When I use eac3to3.34 for demuxing then the English track is fine and there is no audio error.
However, eac3to3.34 is not able to demux the EAC3 track.
That's why I tested everything with eac3to3.45.
The English track is also demuxed correctly, but unfortunately the German EAC3 track is not, so the audio problem is still audible.
Then I edited each version individually and only used the respective mpls as input for DGDemux.
Both versions were created correctly and there are no audio problems.
This shows that your audio algo is working correctly for an mpls with the correct playback order of the m2ts files.
Of course, I really hope that you can correct this for the extra attached m2ts files.
Even if they are not in the correct playback order, perhaps it would help if this information were available?
Since this problem also affects eac3to, I would report it there too.
I assume that Curly has read along here and I'm waiting for your answer(s), to avoid double posting.
Unfortunately, I now have a Blu-ray where removing the audio overlap is not precise.
The whole thing was reported to me by a user on Reddit.
Init issue: https://www.reddit.com/r/chapterEditor/ ... tion_mkvs/
And more discussion and try to use another Matroska linking way https://www.reddit.com/r/chapterEditor/ ... rsion_142/
After a while he sent me the Blu-ray and I was able to test it out myself.
Here's the link to the normal Blu-ray.
https://www.amazon.de/STAR-WARS-Ep-IV-H ... 8&qid=&sr=
And now something about the problem:
The Blu-ray is a typical multi-Angle Blu-ray with 3 different film versions.
All 3 versions are exactly the same length because there are no extra scenes, only certain video images are replaced where a language can be seen.
Therefore there are only 6 m2ts files for each version.
The user wants to save the English (00800.mpls) and German (00801.mpls) versions in a multi-edition mkv.
The first version should be the English one.
This uses the following m2ts files: 00901 + 00902 + 00903 + 00905 + 00906 + 00908
The German version is intended to be the second version and uses the following m2ts files: 00910 + 00902 + 00912 + 00905 + 00913 + 00908
cE now creates a multi-version segment list of all m2ts files used and generates the chapters.xml(see attachments) file with exact timestamps (this was also confirmed by the said user).
Then the audio tracks of such Blu-rays must be demuxed.
The mpls 00800 is used as the basis and the remaining m2ts files are appended using the -extras switch
00910 + 00912 + 00913
There is an English DTS track and a German EAC3 track.
When I demux both tracks with DGDemux (and then mux them into the mkv), there is an audio problem in the second version in chapter 23 which is clearly audible.
Shortly before chapter 23 is reached there is a change of scene and the new video image is shown but a little bit of audio is played which still belongs to the old chapter.
When I use eac3to3.34 for demuxing then the English track is fine and there is no audio error.
However, eac3to3.34 is not able to demux the EAC3 track.
That's why I tested everything with eac3to3.45.
The English track is also demuxed correctly, but unfortunately the German EAC3 track is not, so the audio problem is still audible.
Then I edited each version individually and only used the respective mpls as input for DGDemux.
Both versions were created correctly and there are no audio problems.
This shows that your audio algo is working correctly for an mpls with the correct playback order of the m2ts files.
Of course, I really hope that you can correct this for the extra attached m2ts files.
Even if they are not in the correct playback order, perhaps it would help if this information were available?
Since this problem also affects eac3to, I would report it there too.
I assume that Curly has read along here and I'm waiting for your answer(s), to avoid double posting.