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 18th August 2018, 01:47   #41  |  Link
hubblec4
Matroska Dev-Helper
 
Join Date: Apr 2008
Posts: 845
Hi Mosu

This time I have a question about chapters :-)

I want split an mkv with the split option "By Parts based on timestamps" and insert new external chapters (SimpleChapters).
Here a very short options file:
Code:
[
  "--output",
  "F:\\Output.mkv",
  "--no-chapters",
  "--no-global-tags",
  "(",
  "F:\\Input.mkv",
  ")",
  "--split",
  "parts:00:00:00.000000000-00:01:05.586000000,+00:01:42.299000000-00:02:40.571000000",
  "--chapters",
  "F:\\chapters.xml"
]
The chapters file:
Code:
CHAPTER01=00:00:00.000
CHAPTER01NAME=Kapitel 1
CHAPTER02=00:00:20.000
CHAPTER02NAME=Kapitel 2
CHAPTER03=00:00:40.000
CHAPTER03NAME=Kapitel 3
CHAPTER04=00:01:00.000
CHAPTER04NAME=Kapitel 4
CHAPTER05=00:01:20.000
CHAPTER05NAME=Kapitel 5
CHAPTER06=00:01:40.000
CHAPTER06NAME=Kapitel 6
CHAPTER07=00:02:00.000
CHAPTER07NAME=Kapitel 7
The issue is, mkvmerge recalculate the external chapter time stamps after first split-pair.

Chapters from Output.mkv:
Code:
CHAPTER01=00:00:00.000
CHAPTER01NAME=Kapitel 1
CHAPTER02=00:00:20.000
CHAPTER02NAME=Kapitel 2
CHAPTER03=00:00:40.000
CHAPTER03NAME=Kapitel 3
CHAPTER04=00:01:00.000
CHAPTER04NAME=Kapitel 4
CHAPTER05=00:01:05.666
CHAPTER05NAME=Kapitel 6
CHAPTER06=00:01:23.367
CHAPTER06NAME=Kapitel 7
Last both chapter times are now wrong.

OK, wrong is not right. I think when mkvmerge make such a split case without external chapters and keep existing chapters than it is important to shift the time stamps.
But I want the chapter times from the external chapters.

Is there something that I missed or could you change this so that when external chapters are used then all chapter times stay untouched?

Last edited by hubblec4; 18th August 2018 at 12:29.
hubblec4 is offline   Reply With Quote
Old 18th August 2018, 08:16   #42  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 3,657
mkvmerge assumes that all content belongs together, no matter whether or not splitting is used. It therefore assumes that the chapter timestamps will have to be shifted if the output timestamps are shifted.

There's no option to change this, and I don't plan on adding one.
__________________
Latest MKVToolNix is v25.0.0

If I ever ask you to upload something, please use my FTP server.
Mosu is offline   Reply With Quote
Old 18th August 2018, 12:51   #43  |  Link
hubblec4
Matroska Dev-Helper
 
Join Date: Apr 2008
Posts: 845
Quote:
Originally Posted by Mosu View Post
...
There's no option to change this, ....
An option is not absolutely necessary, an automatic would be better.

When I append files (I know appending is not splitting) with chapters, all chapter times will be shifted, but when I use an external chapters.xml file, there is no recalculate for the chapter times.

I guess it would be very easy to do the same for splitting.

If external chapters are present then mkvmerge must not assumes that all content belongs together and you can skip the recalculate function.
hubblec4 is offline   Reply With Quote
Old 18th August 2018, 13:05   #44  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 3,657
I won't add anything in that direction.
__________________
Latest MKVToolNix is v25.0.0

If I ever ask you to upload something, please use my FTP server.
Mosu is offline   Reply With Quote
Old 19th August 2018, 13:51   #45  |  Link
hubblec4
Matroska Dev-Helper
 
Join Date: Apr 2008
Posts: 845
Hi Mosu

I have a question about Tags and the pre-switch "all:" and "global:".
Code:
propedit My.mkv --tags all:tags.xml
propedit My.mkv --tags global:tags.xml
I had changed in my chapterEditor from all: to global: and it seams that all work, but it breaks the Matroska Tags editor.
What are the differences of this switches?
hubblec4 is offline   Reply With Quote
Old 19th August 2018, 15:09   #46  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 3,657
With "all", all tags are replaced. With "global", only those tags that do not target a track (via "Targets" → "TrackUID") are replaced.
__________________
Latest MKVToolNix is v25.0.0

If I ever ask you to upload something, please use my FTP server.
Mosu is offline   Reply With Quote
Old 19th August 2018, 16:05   #47  |  Link
hubblec4
Matroska Dev-Helper
 
Join Date: Apr 2008
Posts: 845
Ah ok, global: is depend of Targets->TrackUID. Good to know.
hubblec4 is offline   Reply With Quote
Reply

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 04:25.


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