View Full Version : ChapterGen: manipulate with chapters in various i/o formats, with CLI support
Masutin
16th December 2013, 12:40
Is there a tool that can shift the times of all or selected chapters (in TXT for MKV or other) by a specified value?
szabi
3rd January 2014, 11:18
Hi
I have Celltimes.txt input file and I need time based output.
Source:
0
9300
20750
33925
56351
59993
104350
120150
124094
Result:
00:00:00.000
00:06:27.887
00:14:25.448
00:23:34.955
00:39:10.306
00:41:42.208
01:12:32.265
01:23:31.256
01:26:15.754
02:02:29.425
02:22:31.626
But if you check, the calculation is not correct.
This is the correct one:
0:0:0.0
0:6:12.0
0:13:50.0
0:22:37.0
0:37:34.1
0:39:59.18
1:9:34.0
1:20:6.0
1:22:43.19
1:57:28.10
2:16:41.9
2:23:35.6
Of course framerate not changed.
What is the reason for deviation?
EDIT: Now it is ok.
Order of settings was the solution.
Masutin
12th January 2014, 23:02
Perhaps you can help and point where else to ask. What entry can be used in the CHAPTERxxNAME field to represent an empty title? If you leave it empty or use a space or a tab, the time code will be the title. However I've seen chapters without titles.
nfm
15th January 2014, 02:27
Hello. Is there way to extract chapter position timestamps along with the names of the chapters that you see in a root menu? Currently when I repack the blu-rays into MKV container to stream them using DLNA I have to manually name the chapters. Is there a way to automate?
Masutin
17th January 2014, 04:07
nfm, I never used the BD structure, but if you can copy the times and titles in any form, e.g. using MediaInfo, I can write a regular expression to automate conversion into chapters suitable for MKV.
jfcarbel
3rd August 2014, 00:24
shon3i - Any change you can release the project to google code so some of us can contribute to it.
bennynihon
13th August 2014, 18:45
Yes it's possible, it will happen in near future, just be patient.
Has the offset feature been implemented yet?
chompy
1st December 2015, 21:39
Hi,
I've just updated to Windows 10 and now I cannot longer drag & drop playlists to ChapterGen, it's only me or anybody else is having the same issue?
jpsdr
20th December 2015, 12:04
If i convert a txt muxman file to an OGG file using the program windows interface, the first line/chapter is "CHAPTER00".
If i do the same thing but using the CLI (in a bat file), the first line/chapter is "CHAPTER01".
Masutin
21st September 2016, 22:50
Aside from ChapterGen. As with CUE files for some audio files, is a similar approach possible for other media files, i.e. providing timestamps and optional titles in a separate file?
Masutin
31st December 2018, 01:27
Which value for -f is needed for the text format used in MKV, to avoid the error Type Mismatch? Tried them all.
manolito
31st December 2018, 13:39
The -f OGG parameter should do this, but I found that chaptergen is very picky about the input formats. For me it does works with the "Celltimes.txt" format (IFOEdit frame numbers), but for other formats I often get the Type Mismatch error. What is your input file format?
Since ChapterGen has long been abandoned by its author, I would recommend you check out chapterEditor by hubblec4. It does not have a command line interface, though.
Cheers
manolito
jfcarbel
6th January 2019, 20:21
The -f OGG parameter should do this, but I found that chaptergen is very picky about the input formats. For me it does works with the "Celltimes.txt" format (IFOEdit frame numbers), but for other formats I often get the Type Mismatch error. What is your input file format?
Since ChapterGen has long been abandoned by its author, I would recommend you check out chapterEditor by hubblec4. It does not have a command line interface, though.
Cheers
manolito
Great tool, I wish the source would have been at least put out there for others to update as I would have been open to contributing.
Will have to check out hubblec4 tool (https://forum.doom9.org/showthread.php?t=169984).
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.