Log in

View Full Version : chapterEditor(Chapter-Database Disc2mkv Matroska-Tools[Tags,Menu,Multi-MKV])+CLI


Pages : 1 2 [3] 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

hubblec4
25th August 2014, 22:21
Hiho

Last week I had some time and have programmed an online chapter database(o-c-d) for the cE.

The user have the possibility to create a new chapter file or you rename the existing chapters in the Treeview.

A simple search by entering characters in the search edit field.
You can rate movie/chapters and manage your ratings.
You can upload chapters with movie information and manage them(only editing).
Statistics are open for everyone.

Are you a chapter freak and you like to support the o-c-d?
You want to help the o-c-d stay clean.
In the o-c-d is a right management implemented.
You get a lower level and have access to hidden features like Logs or movie/chapter management and more.

The o-c-d is not quite done yet. I will also go on holiday soon.
If someone wants to test the o-c-d, just contact me.
I will then send you a test version by email.


here's a preview.

hubblec4
27th August 2014, 01:19
it seems that the o-c-d works.
I have a test version uploaded.

Testversion (http://forum.gleitz.info/attachment.php?attachmentid=98256&d=1409098157)

von Suppé
28th August 2014, 07:39
Hi hubblec4,

Have you received my private messages? I send you twice but I'm wondering if they arrived.

cheers
von Suppé

hubblec4
28th August 2014, 11:33
yes i got it, and i answered back to you.

thanks for your helping.

hubblec4
3rd September 2014, 15:03
The online chapter database is finished so far.

So a few useful chapters / movies are the same place, I have transferred the Chapter
Grabber database.And I have all rubbish removed.
While there are many duplicate records but with different times or chapter names.

therefor the rating system is designed. the chapter (movies) should no good, it can be deleted.

Out of more than 120,000 movies in the CG database 30246 movies been taken in the cE database.

Then there are a few small improvements and bug fixes.

Changelog chapterEditor

add &
fixed *
improvement #
layout change %



rev0.24
// chapterEditor
& support for ChapterGrabber.chapters file

* Drag&Drop not support folders led to the crash of the editor

// XML Format
& Online chapter database
- XML Format (ordered chapters, multi editions and "hidden" features)
- multilingual
- individual chapter management (upload and edit)
- rating system
- statistics
- save the login data and automatically login
- new chapter files generated directly out of the database
- chapter names replace at present chapters (improved chapter naming)
- an edition can be optionally added to existing editions
- simple search using four selection criteria

* "chapter cutting" working on a edition with
ordered chapters not always right

# End times produce revised for ordered chapters
- End times are now always recalculated when activate
- End times can not be more smaller than the start time

von Suppé
7th September 2014, 09:50
Hi hubblec4

Did you get my message? Can't logon to chapter database anymore. I get error:
The user or password is incorrect.
Tried to delete .ini file and do again - no luck.

Please advise?

Cheers

hubblec4
16th September 2014, 21:09
hi Suppé

I'm back and answered your pn.

hubblec4
23rd September 2014, 23:54
I have not used any more DVDs for a very very long time and now had to find the DVD parser does not always work properly.

Changelog chapterEditor

add &
fixed *
improvement #
layout change %



rev0.25
// chapterEditor
* DVD parser did not work correctly

hubblec4
28th September 2014, 12:47
chapterEditorCLI

You can order quickly and easily chapter files from the database or from Blu-Ray's / DVD's generate.
Chapter names may be using the database also generated.

Examples of the application can be found in the first post and the download.

Changelog chapterEditorCLI

add &
fixed *
improvement #



init release

chapterEditorCLI(init) help
---------------------------

-a / --anleitung The help on german

-h / --help Show this help

--mid Movie ID, an integer greater then 0
Displays all movie information and chapters

--names Save a simple chapter names list of a movie
output: a file name without an extension

--ogg Output format: ogg-chapter.txt
output: a file name without an extension

--pass your database password

--range A Movie ID. Displays the following 200 movies

--title Displays all movies(max: 200) with titles
(at least 2 characters)

--user your database user name

--xml Output format: matroska-xml-chapter.xml
output: a file name without an extension

X: / X:\ a drive

"path DVD" a DVD path to VIDEO_TS folder
"path Blu-Ray" a Blu-Ray path to BDMV or PLAYLIST folder

VTS_xx_0 VTS ifo file: xx = 01 .. 99
without the ".ifo" extension

1..99 a title number for VTS ifo file

00000..99999 a mpls file/number without the ".mpls" extension

---------------------------
Mode 1: database syntax
1-2.parameter: --user="your name" --pass="your password"
3.parameter: --mid= OR --range= OR --title="a title"
If 3.parameter equal --mid you can enter a 4. parameter
4.parameter: --ogg="output txt" OR --xml="output xml" OR
--names="file path and name"

Mode 2: DVD/Blu-Ray/folder syntax
1.parameter: Drive(X:) OR a folder path "DVD/Blu-Ray path"
*** Blu-Ray ***
2.parameter: 00000..99999
3.parameter: --ogg="output txt" OR --xml="output xml"
generate a chapter file with chapter names
4-6.parameters: --user="your name" --pass="your password" --mid=
*** DVD ***
2.parameter: VTS_xx_0
3.parameter: 1..99
4.parameter: --ogg="output txt" OR --xml="output xml"
generate a chapter file with chapter names
5-7.parameters: --user="your name" --pass="your password" --mid=

NOTE:
File names can be empty, a default file is then created in the root directory.

hubblec4
22nd October 2014, 16:10
It is once again time for an update.

This time I have a support for Matroska files (mka, mks, mkv, mk3d) implemented.

The first 4 format editors can load this file formats now. In OGG and XML Editor can save the chapter files directly without re-mux into a mka, mkv or mk3d file.

In the menu of the chapterEditor now there's a new "settings" menu. There, only the paths to the external programs are for the time being set.


Changelog chapterEditor

add &
fixed *
improvement #
layout change %


rev0.26
// chapterEditor
& Matroska file support (not for the multi editions editor)
- mkvextract.exe is required
- mka
- mks
- mkv
- mk3d

& menu: settings
- Path settings to the required external tools
- Folder can be loaded via drag&drop (no matter where you drop down) and
these are automatically detected and assigned to the correct tool
- MKVToolNix, there is checked on the mkvextract and mkvpropedit exe

* load of too large files let crash the Editor

// OGG Format
& Matroska file support (save as)
- mkvpropedit.exe is required
- mka
- mkv
- mk3d

// XML Format
& Matroska file support (save as)
- mkvpropedit.exe is required
- mka
- mkv
- mk3d
- in Taginfo.xml Editor Tags can be stored in Matroska files

hubblec4
2nd November 2014, 16:38
Please do not use the new feature: "- in Taginfo.xml Editor Tags can be stored in Matroska files" !!!

I have forgot to connect the procedure. The target Matroska file will be overwritten.
An update is coming soon.

hubblec4
9th November 2014, 12:36
There is again a new rev of chapterEditor.

An important bug fix for the save the tags directly in Matroska files.
Since the procedure was not connected, the Matroska files were overwritten.

Mkvinfo.exe:
with which one can now read the playing time of Matroska files and use them.(multiAVCHD or multi chapters).

Changelog chapterEditor

add &
fixed *
improvement #
layout change %


rev0.27
// chapterEditor
* Bluray Parser: Could float-value calculations for very small "in-time" times
identify an incorrect start time for the first chapter.
The BD-clock time is used directly from now.

// Multi Chapters
& Drag&Drop support for Matroska files:
- the playing time is then entered automatically

// XML Format
* Tagsinfo.xml save in Matroska files not working

# XML-Parser: 3 chapter-elements were missing
(ChapterPhysicalEquiv and ChapterTrack+ChapterTrackNumber)

// multiAVCHD
& Thumbnail Position Generator: this is open, you can drag&drop
Matroska files load and the playing time is automatically entered

// Multi Editions Editor
* no output of a "mmg-mux" file more when "cutting" has been disabled

# Naming audio formats
- DTS: it lacked the kbps and kHz designation
- DTS Master Audio: "(strange setup)" in special 7.1 channels (DTS-ES Core)


I started to program a new 6. Editor. (Thought I may have with him in this version offer but unfortunately I lack the bit time).

It is a Matroska Menu Editor:
Based on this article(101 things you never knew you could do with Matroska) (http://mod16.org/hurfdurf/?p=8)
and the Matroska specs.

It was times my original goal to write a full-fledged Matroska Menu Editor, but nothing will come as no splitter offers the full Matroska support.

hubblec4
22nd November 2014, 02:26
A new editor beholds light of the world.
Lots of improvements and some new features.

add &
fixed *
improvement #
layout change %


rev0.28
// chapterEditor
& Matroska Menu Editor

// chapter database
# The database is now always open and switches before to the XML Editor

// XML Format
* XML-Parser: If comment lines are included between editions,
- the editions were not processed correctly
- XML validation not working

* the function check boxes have been moved wrong in widening
the chapterEditor when another format-editor was active

// Multi Editions Editor
& mpls support (only drag & drop)
- mpls files from eac3to (Blu-Ray structure) are not recognized,
can thus nevertheless be processed

& a setting for mpls files using a m2ts multiple times
- use m2ts once

* The path to a PLAYLIST folder could crash the editor

* Tags.xml: edition names appear incorrectly (UTF8)

* no ":" more in the converted audio file name

# Audio files keep in their re-converting track order
- mmg is incorrectly constructed when before re-converting an external subtitle
was loaded

# Default Track switch (mmg) for audio and video is now set automatically

% checkbox: "use m2ts once" insert

// Matroska Menu Editor
& input - left
- select source folder and run, collect information
- select a file shows the information
- double-click on a file adds them to a selected menu edition
is no menu editiion selected, a new menu edition is created

& prefer insert further editions
- a menu edition that is added (double-click) is not selected,
thus more rapidly menu editions can be inserted

& Matroska Menu (editions) - middle
- is not an edition name is specified, the file name is used instead
- each menu edition is later seen in the player as shown in the ListView
- add as menu: a special menu edition which can be repeated
- with several menu editions you may opt for a default edition
- the menu editions can be moved by drag & drop

& Matroska files (editions and chapters) - right
- Is the special menu edition selected, you can set how many times they repeated to
- selection of a Matroska file: the checkbox is ticked, the available editions
of the file is loaded (default edition is selected) and uses the chapters.
- files can be moved by drag & drop

hubblec4
22nd November 2014, 02:28
Matroska Menu Editor (MME)

The new MME helping a while Matroska files (mkv, mka, mk3d) that are located in a folder and
the same specifications (number of tracks in the correct order and the same codecs for video, audio, subs) have,
to connect with each other via the menu.
In this case, no files need to be remuxed.

The whole menu system is located in the _chapters.xml and _tags.xml, which in the saving
the selected Matroska file to be written.

In a short video which will serve as a tutorial (http://forum.videohelp.com/attachments/28742-1416767084/MME_Tutorial.7z), I show how to build such a Matroska menu.
Maybe the subtitles not good to read, here you find the original srt. (http://forum.gleitz.info/attachment.php?attachmentid=98365&d=1416654643)


First of all:
A full menu as we know it in Bluray or DVD is currently not possible.
No splitters or players offers full support Matroska.

To use the Matroska menu requires you LAV Filters or the Haali Media Splitter.
There are in the current LAV Filters (0.63) even a tiny error. Then the menu does not work properly when Matroska files
were cut and the first frame have no IDR-frame. With Haali works but.
You can at any time download the latest nightly build of LAV Filters, there the problem is solved.

In both splitters the menu located in the system tray icon and is activated with a right click.
In MPC-HC you can right-click the screen -> filters -> LAV Splitter -> also access it.

The Matroska files must be identical in certain things. Number of tracks and the same codecs.
When I created the video tutorial, I noticed that the sound settings do not necessarily have to be equal.

So yes codec the same, but, I had a 2.0 Stereo Flac in the menu file and a 5.1 Flac used in the episodes.
It does everything without problems, and in AC3Filter you can see well that Flac is played.

In the MME, it is possible to use existing editions / chapters of the charged Matroska files.
Therefore, the menu always in a separate menu file should be stored (in the same folder).
To ensure that all Matroska files remain in the original condition and are still single playable (without menu).


How does the whole:

You have to know that each Matroska file has a SegmentUID (SUID).
LAV and Haali Splitter search for these SUID's within a folder.
With a chapter.xml and tag.xml you can on this SUID's access and process according to Matroska specs.

Currently I have two procedures known how to do it.

1. File Segment linking

This is the far most common and best known method.
In MKVToolNix (mmg) in the Global window there is a field for file / segment linking.
(Problem here is that the mux always new SUID's for the files are created and then not
longer match the entered SUID's.)

Personally, I find this method quite cumbersome.
First you have to manually determine the SUID's. This helps a header editor in the mmg.
Then all SUID's have to be entered in the correct order (PrevSUID and NextSUID).
But the biggest disadvantage is then the management of associated files.
If a series always has this "middle part" in it in the episodes.
The files should be divided up as follows.

Episode1_Start.mkv
Episode1_Rest.mkv
Episode2_Start.mkv
Episode2_Rest.mkv
and so on ... and
Middle_Part.mkv

Quickly you realize that you always have two files per episode.


2. Chapter Segment linking

In chapter.xml there is a "ChapterAtom" in which you can specify a SUID.
The chapter.xml must "ordered chapters" be constructed. Thus, one can refer to another file and play it.

The whole is done by the MME automatically. Manually, you can do that but also quite fast.
You only have a chapter.xml and Tags.xml created the in the XML editor and save it into a Matroska file.

For the above example, the folder with the files would look like this

Episode1.mkv
Episode2.mkv
and so on ... and
Middle_Part.mkv



What makes the MME

All SUID's are determined and depending on how one wants to build his own personal menu, processed.

In the middle part of the MME's the menu editions are created and managed. The order and labels
are reproduced in Matroska menu. Each menu edition can contain multiple files.

A special menu edition ("as menu") currently serves as a substitute for a Bluray / DVD menu, which is repeated again and again.
The default edition is started with the play. It must not necessarily start menu
are, you can also can start as a menu edition that includes all the episodes.

Another important function is the takeover of available editions/chapters of a file.
The episodes of the tutorial-video all have two editions. One with and one without the opening credits.
I created a menu edition with all episodes where I just want to see only the " without the opening credits editions".

If a file already have a chapters-segment linking, this will be recognized and taken over.
This case remain already created connections exist (middle part).


Creating a small menu-file


Simply load one of the episodes in mmg and the Global window for splitting - select split by time stamps.

Enter the timestamp 00:00:00.001
(of course very many files would be generated. So limit the number or quickly press cancel)
Mkvmerge then cuts directly after the first I-frame and you have a very very tiny but fully functional menu file.
The good is also the same, that all tracks and codecs match.


in the future (if I have time)

The created the menu editions automate.
The Haali function "TRACKSETEX" - A function with which you can directly select tracks in the file.
Nev asking whether he can install the Haali function in LAV Splitter.
Nev asking if he can add more Matroska features.

hubblec4
1st December 2014, 00:22
An important bugfix and new features are included in the update rev0.29.

New cut mode:

In mmg there is at "split mode" a function, that you can direct part "splitting" and add the same directly together.
I have added this function to Multi Edition Editor's Cutting mode.
However, be aware that the cutting times alternately entered as the start time and end time.
A complete "cut" always consists of start and end time. Are there no (last) end time, the playing time of all m2ts files is used.
This saves the additional muxing process.


edition ordered:

Menu mpls files that work with duplicate m2ts files obtained with activated checkbox an "ordered" chapters.xml.
The original chapter marks are processed as long as the playing time of the m2ts files used is.
Otherwise, a normal chapter.xml is created. The original chapter are complete used.
There are, however, not all chapter marks to function duly.


Changelog chapterEditor

added &
fixed *
improvement #
layout change %


rev0.29
// XML Format
* The new calculation for the end times at ordered chapters
now no longer executed when switching between an edition with or without
ordered chapters.
- last end time is no longer overwritten

// Multi Editions Editor
& Predefined track names and eac3to options
- personal favorites
- saves me the continual enter of the selfsame designations
- Open it: Double-click on a track or a click
on the lable - track name or eac3to option
- Selection: click on a designation

& cutting and muxing together: new cutting mode
- only one direct remux (Bluray) required
- the cutting times are then alternating between start time and
end time specified
- last end time can be omitted. The duration of the file
is then used as the last end time.

& edition ordered
- if there is only one edition, this can be with or without ordered chapters
be created
- when duplicate m2ts were removed, thus an appropriate
chapters.xml created

# use m2ts once:
- adjusted for mpls files which use several different m2ts
- all duplicate m2ts files are only used once

% "cutting"- checkbox replaced by a combobox

% added a checkbox "edition ordered"

Boardlord
6th December 2014, 11:10
Hi hubblec4,

this a great program! Would you consider adding .cue file support too (chapter --> cue conversion)? This would help those immensely, who like to convert their music DVD/BD to audio only, and listen to it on a portable music player. Thanks for considering!

hubblec4
6th December 2014, 13:15
hi Boardlord

I am currently not familiar with the .cue format. If you can send me a few examples, that would be very helpful.

The result should be a .cue-file? (For example, you create chapters in the XML-Format-Editor and save it as .cue-file. thats right?)

hubblec4
13th December 2014, 16:34
on it goes with a new update rev0.30

Haali 's TRACKSETEX is a new editor with which you can load predefined track settings on Matroska Menu (initially only for the Haali splitter).

For the MME now "automated tasks" there, thus you can create Matroska menus with a few clicks.

Changelog chapterEditor

added &
fixed *
improvement #
layout change %


rev0.30
// chapterEditor
& Haali's TRACKSETEX

% inserted small icons in some places

// Haali's TRACKSETEX
& Matroska Support: direct load and save Trackset's

& Track number instead of UID
- for video, audio and subtitles
- it is easier to work with track numbers

& Track number starts at 1 instead of 0
- the track number is an index, which usually starts at 0
- when ticking, the track numbers (#) are increased in all Trackset's by 1

& TRACKSETEX for XML-, Multi-Editions- and Matroska Menu Editor
- open TRACKSETEX from the respective editor
- the UID's of all existing editions are transmitted
- first apply, and then in respective editor save the Trackset's in a Tags or Matroska file
- additional storage for each editor separately adjustable
- "Exit" disables additional storage for the appropriate editor
- TRACKSETEX close with the "small x-button" don't changes the additional storing

& TrackSet's can be moved by drag and drop.

// XML Format
* delete chapters or editions did not work correctly if 10 editions or more exists
- completely new and faster procedure
- editions are renumbered

// Multi Editions Editor
* cutting and muxing together:
- maximum cutting time adjusted (total playing time)
- adjusted error message
- Was there only one start time, was missing in the cutting code the end time
(total playing time).

// Matroska Menu
& automated tasks
- 1. for each Matroska file create an edition
- 2. create an edition with all Matroska files
- there is no special menu created edition (which you should do first manually)
- if no source file is selected, all files are used
- is a source file is selected it and all subsequent files will be used

* when a menu edition is deleted, the latest standard edition has not been removed

hubblec4
13th January 2015, 01:00
A major update rev0.31 is available.

A few mistakes have been corrected and added new features.

There is also a new editor.

DVD2mkv:

I got a few series that "unfortunately" are only on DVD.
After I looked around what is available there,

I found that only what is really good, MakeMKV is. Clear in Germany illegal:-)
It's quite handy as MakeMKV each title changes to mkv's.

Nevertheless, it is automatic too much for me and I would have to continue editing the mkv.
So i decided to make an own DVD2mkv editor.

I have then looked more closely to IFOEdit and extended my DVD parser, so that
the IFO's be analyzed quickly.

to demux the vobs
PgcDemuxMod (http://downloads.sourceforge.net/project/streaman/Useful_Tools/PgcDemux/PgcDemux_mod_bin.7z?r=http

%3A%2F%2Fsourceforge.net%2Fprojects%2Fstreaman%2Ffiles%2FUseful_Tools%2FPgcDemux

%2F&ts=1421016601&use_mirror=iweb) is used. The link leads to version: mod2
For me, the mod3 not running due to a missing dll.

here the mod3 version (http://www.videohelp.com/download/PgcDemux_1205Mod_m03_bin.zip)

It may happen that PgcDemuxMod subtitles twice extracted, which is not a bug per se.
Then, the subtitles can be displayed in different formats.
Possible values are: 4:3 , wide , letterboxed , pan-scan

There are both extracted sup files in the track display loaded and you can then choose yourself
which you will use.

BDSup2Sub: when demuxing the subtitles are extracted in sup format. mmg/mkv can load idx/sub
format only.

Therefore, the conversion is required if you want to use subtitles.
This is very very fast and in addition will search for "forced" subs.

I initially installed the BDSup2Sub++1.0.2_win32.exe (http://www.videohelp.com/download/bdsup2sub++1.0.2_Win32.7z)
for this. If someone has not installed Java, it still works.
The Java version, I might even install as an alternative. (Since there are also 2 different versions.)


In the settings there are now two new paths for the two tools.
In addition, you can set some parameters to the tools.

download chapterEditor(rev0.31) (http://forum.gleitz.info/attachment.php?attachmentid=98466&d=1421104841)

Changelog chapterEditor

added &
fixed *
improvement #
layout change %


rev0.31
// chapterEditor
& DVD2mkv Editor

* 2 small errors in the INI file

* BluRay Parser:
- If there are multiple PlayItems and they have different byte lengths,
wrong times were determined

// settings
& Tools - settings for the external tools
- paths - general for all external tools
- DGIndexNV - parameter
- PgcDemuxMod - parameter

// Haali's TRACKSETEX
& drag&drop support (Matroska files + Tags.xml)

* Error analysis showed false messages when invalid files have been loaded

// XML Format
* the root node in the TreeView is now selected if no other node was selected
- thus there is no longer crashes for some functions
- source code slightly adjusted and improved

# XML Parser: if the language tag (ChapterLanguage) is present but empty,
then "Undetermined" is used as default

// Multi Editions Editor
& eac3to: PCM/WAV Audio support

* adjusted maximum cutting time for the two cut methods

* eac3to track number was not correct, if there is no chapter in the mpls

# cutting times, mux-parts and mux-playing-time are specified with nanosecond
- "cutting and muxing together" works then 100% exactly
for automatic recalculation of chapter marks in the mmg

# DGIndexNV - DGI file:
- The .dgi file is loaded automatically after it is created.
- The keyframe time stamps are output with nanosecond

# Chapter.xml: hidden chapters get now also a language

% Cutting: DGIndexNV folder selection removed

// DVD2mkv
- required:
PgcDemuxMod(from version 2)
BDSup2Sub++1.0.2_win32 (initially only the Windows version)
MKVToolNix
- optional: DGIndexNV (for the keyframes)
- load a dvd drive, a folder with IFO files or IFO itself
- listing available IFO's / titles and tracks information
- tracks can be edit: language, compression, default track, track name
- track order can also be moved by drag and drop again
- cutting and muxing with the 2 mmg cut methods
- easy and fast converting DVD-sup's into idx / sub format
when activating the checkbox
- automatic search for "forced" subtitles
- drag&drop: Before you have pressed "Start" is dropped to the input,
then to the output.
- Haali's TRACKSETEX
- personal favorites for the track name: Double-clicking on a track or
a click on the lable "track name"
- cutting - DGIndexNV - .dgi file is loaded automatically

Jim_Pansen
13th January 2015, 21:40
Would it make sense to have a function to recalculate chapter time codes for speed changed clips?
E.g. if you want make a PAL DVD of a 24p BD you have to recalculate chapters to the new time base.

Thanks for thinking about that

Jim

hubblec4
13th January 2015, 23:58
This function already exists. called FPS Conversion:

For OGG, XML, TTXT and multiAVCHD editor you will find this function. Activate the checkbox and set the source and target FPS.

hubblec4
3rd February 2015, 00:22
A new version (http://forum.gleitz.info/attachment.php?attachmentid=98518&d=1422917837) with new functions and improvments are avalible.

Ordered chapters can now be calculated using the playing time for an edition in XML format.

Changelog chapterEditor

added &
fixed *
improvement #
layout change %


rev0.32
// chapterEditor
& Hot Keys: OGG, XML, TTXT, multiAVCHD
all
- Entf > delete chapter (edition)
- q, 8(num) > chapter up
- w, 2(num) > chapter down
- n > new, all clear
- k > add chapter
XML
- c > copy edition
- v > add new edition
- t > open Tags editor
- h > change hidden
- e > change enabled/default
- o > change ordered
TTXT
- c > copy chapter
multiAVCHD
- c > copy chapter
- t > open Thumbnail Positions Generator

// multi chapters
& palytime for XML:
- Become multi chapters created for the XML format, then the specified
playing time is used for the edition.

// settings
& Tools: - (Java) BDSup2Sub.jar (5.1.2)
Paths: - Java
BDSup2Sub: - Choice between the two versions

& XML - Matroska drag&drop with a selected edition

// XML Format
& playing time for an edition:
- is an edition selected, you can assign a playing time
- When you drag&drop Matroska files, the playing time may be used
- the playing time of mpls and IFO (title) files will automatically be used

# Matroska parsing:
- playing time is determined and used for all editions in XML

# End time calculation for "ordered chapters"
- If an edition has a playing time and this is greater than the start time of the
last chapter, it will be used.

# ChapterGrabber chapters file:
- the playing time is used for the edition

// 3GPP TTXT Format
# chapter time can also be specified with milli seconds now
- 1.234
- 1,234

// Multi Editions Editor
& demux subtitles:
- It will automatically check for forced subtitles and these are then extracted.

// DVD2mkv
* "XML to Editor" not working

Jim_Pansen
20th February 2015, 16:29
This function already exists. called FPS Conversion:

For OGG, XML, TTXT and multiAVCHD editor you will find this function.
Activate the checkbox and set the source and target FPS.

Aaah, thanks! Sorry for not realizing this.

I'm just looking for a simple tool that can convert chapter lists as created by NLEs
to convert it to chapter lists of different formats to serve it to use NLEs, authoring
tools, encoders e.g. I-frame control lists such as qpfile for X264 which is sadly frame
based & which needs to be calculated by TC / frame rate.

Is that of someones interest so maybe you could add a new tab of the mentioned features?

Thanks in advance

Jim

hubblec4
22nd February 2015, 21:14
Hi Jim

What are "NLEs? Have you a sample of such chapter list?

I have not much time but i will have a look.

Jim_Pansen
27th February 2015, 02:31
Sorry for the delay.
A lot user may would be really thankful!
'NLE' just means 'non-linear editing system'! ;)
http://en.wikipedia.org/wiki/Non-linear_editing_system

The usual scenario is that one does an edit or mastering of a feature film in NLE & sets
the chapter points. Most NLEs can export chapter lists so the user may like to use it in
the desired encoding tool to set I-frames on the right TC position. After encoding the
assets the chapter list is needed to set the right frame in favorite autoring tool.

I could send you some specific sample files holding chapter lists for different tools.
Please be patient, it will take some time.

Thanks in advance

Jim

hubblec4
27th February 2015, 23:00
A lot user may would be really thankful!
'NLE' just means 'non-linear editing system'! ;)
http://en.wikipedia.org/wiki/Non-linear_editing_system

I have read a bit, but I found nothing about chapter lists. Without a syntax and semantic I can't do anything.



I could send you some specific sample files holding chapter lists for different tools.
Please be patient, it will take some time.


That would be helpful.

chapterEditor should be able to handle such chapter lists? And as output format ogg,xml,ttxt,multiavchd or you need another output format?

hubblec4
12th March 2015, 20:49
here is a new version, rev0.33 (http://forum.gleitz.info/attachment.php?attachmentid=98556&d=1426189136)


Changelog chapterEditor

added &
fixed *
improvement #
layout change %


rev0.33
// chapterEditor
& support for dgi file (OGG,XML,TTXT,mAVCHD)

// settings
& Tools->DGIndexNV: dgi file
- Selection for the keyframes at AVC material(DGAVCIndex)

* XML: English translation missing

// XML Format
# There can be only one edition of default.
- the default is set for an edition of the default is at
repealed other editions automatically

// 3GPP TTXT Format
* FPS conversion did not work for chapter times in seconds
are indicated.

// Multi Editions Editor
# the video track will get from now on English as the default

FredThompson
13th March 2015, 20:54
chapterEditor rev0.33 starts in German for me. How to force it to English?

hubblec4
13th March 2015, 23:09
chapterEditor rev0.33 starts in German for me. How to force it to English?

In the first menu item "Sprache" you can change the language.

hubblec4
12th April 2015, 18:09
A new rev0.34 (http://forum.gleitz.info/attachment.php?attachmentid=98611&d=1428858036) is available.


Changelog chapterEditor

added &
fixed *
improvement #
layout change %


rev0.34
// chapterEditor
# mmg file adjusted for MKVToolNix 7.8.0
- reduce_to_core

// settings
& mkv: - settings for the Multi Editions and DVD2mkv Editor
- target folder as the file name
- automatically open mmg

// Multi Editions Editor
& subtitles load by drag-and-drop

# Drag and drop adapted for input and output now

// DVD2mkv
& load external subtitle
- VobSub idx/sub and SubRip Text srt files
- subtitles load by drag-and-drop

* "XML to Editor" did not always work correctly

% insert "subtitle load" button

khukhooo
14th April 2015, 02:27
English version Please

hubblec4
14th April 2015, 11:13
English version Please

In the first menu item "Sprache" you can change the language.

hubblec4
12th May 2015, 16:45
a new small update to rev0.35 (http://forum.gleitz.info/attachment.php?attachmentid=98624&d=1431444886) is avalible.

Changelog chapterEditor

added &
fixed *
improvement #
layout change %


rev0.35
// chapterEditor
& The window position is now also stored and loaded at startup

// settings
& mkv -> Multi Editions Editor
- playtime(in second) for the first and last m2ts adjustable

// XML Format
# The help improved somewhat

// Multi Editions Editor
& Support for "embedded" AC3 in TrueHD audio tracks
- mmg adjusted

& ignore first m2ts file
- a workaround for mpls files that play first a m2ts which
has other track parameters. (mmg breaks the mux-operation with an
error message)
- the chapters are automatically adjusted

* Drag & Drop for "source" did not work at BD-structures that are on
the hard disk

hubblec4
18th June 2015, 12:05
A new version rev0.36 (http://forum.gleitz.info/attachment.php?attachmentid=98663&d=1434623755) is avalible.

An important update for the Multi Editions Editor (BD2mkv). Since Mosu support in mmg DTS Express I had installed this also, otherwise mmg mux process does not work correctly.

A new editor also there.

Matroska Tags:
http://forum.gleitz.info/attachment.php?attachmentid=98665&d=1434625247

I have set up this editor to the Matroska specs (http://www.matroska.org/technical/specs/tagging/index.html).
However, since a number of settings can be selected freely, I have also tried to give these freedoms.
If anyone needed further adjustments as they could be reprogrammed quickly.


Changelog chapterEditor

added &
fixed *
improvement #
layout change %


rev0.36
// chapterEditor
& Matroska Tags

% menu item "Matroska Tags" insert

// Matroska Tags
& Drag&Drop
- Tags.xml
- Matroska files (mka,mkv,mk3d)

& save the Tags directly in Matroska files (mka,mkv,mk3d)

// Multi Editions Editor
& support for DTS Express

* BDSup2Sub.jar changed the FPS of forced subtitle during extracting

hubblec4
4th July 2015, 12:32
This time there's a little bigger update rev0.37 (http://forum.gleitz.info/attachment.php?attachmentid=98718&d=1436008968)

The XML format editor had a couple of small mistakes, so then also still a lot of improvement.


Changelog chapterEditor

added &
fixed *
improvement #
layout change %


rev0.37
// multi chapters
& for chapter in XML format, the default settings "automatic chapter name" can be used

// Matroska Tags
& change language for all the following and selected Simple Tag

& supports Tags contain no Targets Node (Haali's TRACKSETEX)

% a button inserted, with which one directly enters settings for the Matroska Tags

// settings
& Matroska Tags

& XML:
- Tags Editor choice
- Matroska Tags
- simple Editor

- automatic chapter name
- numbered or indexed
- without level (nested chapter); only the simple chapter number is used
- name first / as last (chapter 1 or 1. chapter)
- Language and Country

// XML Format
* internal drag&drop: creates wrong chapter number when you move (left mouse button)
a chapter (except nested chapters) on their own edition

# when adding a new edition a first chapter is automatically inserted

# create a new chapter file now always adds a 1st edition and a 1st chapter

# add chapter name
- automatic chapter name can be used

# Chapter naming
- without level(nested chapters)
- name first / as last
- indexed did not work correctly for nested chapters
- adjusted hidden / disabled chapter of the display pattern for LAV Splitter

# UID check now allows the full 64bit size (18446744073709551615)

# UID generation:
- full 64bit size
- happen to be a 19- or 20-digit UID

# the Help extends

// OGG, 3GPP TTXT, multiAVCHD - Format
# create a new chapter file now always inserts a 1st chapter

von Suppé
20th August 2015, 10:56
Hi hubblec4

Edit: question removed, wrong thread. Mayor case of brain damage from my side...

hubblec4
20th August 2015, 12:40
Hi hubblec4

Is there a possibility to color the break-line tag <br/> and italic tags <i> and </i> in the list view?

Cheers
von Suppé

Soory, i don't understand.

You mean the AVCHD-editor?

Where exactly?

von Suppé
22nd August 2015, 14:24
Sorry hubblec4

post edited, my bad

cheers

hubblec4
17th September 2015, 22:59
It's a little while ago, but I'm still trying, when time is to work on the chapterEditor (rev0.38 (http://forum.gleitz.info/attachment.php?attachmentid=98817&d=1442526244)).

Mosu has, his new great GUI brought has been a while among the people, therefore an update for the Multi Editions Editor.
(for the time DVD2mkv has unfortunately not enough.)

Changelog chapterEditor

added &
fixed *
improvement #
layout change %


rev0.38
// settings
& mkv:
- mmg create (mmg is deprecated and will no longer creates normal)
- chapter and tag files:
- new or overwrite
- use files in mtxcfg/mkv

// Multi Editions Editor
& mtxcfg file: instead of the old mmg will be the new mtxcfg file created
- Audio conversion is monitored and analyzed at the end with mkvmerge
- create mtxcfg file only works if all the audio conversions were quit
- for the separate mux is a CMD file created instead of mtxcfg

& check whether chapters and tags xml files exist
- if so, predefined options can be used in settings

& Track name edit box HotKeys
- Arrow keys (up, down) to select the tracks in the ListView
- "ENTER" - opens the personal favorites

& but do not use converted audio files
- if one had converted a wrong track, had to reverse to some
and start from scratch

* "mmg / mtxcfg automatically open" has not been properly deactivated (mmg / mtxcfg launched always)

# mmg file for MKVToolnix 8.3.0 adapted - last adjustment!

# The help extended and adapted

hubblec4
22nd September 2015, 21:04
A small update (http://forum.gleitz.info/attachment.php?attachmentid=98823&d=1442955363).
Adapting mtxcfg file to the new MKVToolnix 8.4.0 version.

Changelog chapterEditor

added &
fixed *
improvement #
layout change %


rev0.39
// Multi Editions Editor
& HotKeys for the ListView(available titles)
- arrow keys (up, down) to select the title in the ListView
- "ENTER" adds the title to the "title used" added

& Start button: ENTER key is as "standard" defined
- is the Start button enabled, can be started from anywhere with the ENTER key

* mtxcfg: more than one converted audio track and / or an external subtitle
generated a corrupt file

# mtxcfg: adapted to MKVToolnix 8.4.0

Bigmango
13th October 2015, 15:33
Thanks for this great tool.

Questions:


I can only extract 1 subtitle at a time, or ALL subtitles together. Can you add the option to extract only the selected subtitles in 1 go (when several subtitles are selected)?
Can you add the option to extract and convert (as selected) the audio and the subtitles together in 1 go (and the video too if selected for demuxing).

Even better, could you make it so that it automatically does whant Makemkv does in 1 go (convert Lossless HD to FLAC (when applicable/selected) and remux all the selected tracks with extracted Forced subtitles when applicable in 1 go)?

Many thanks.

Bigmango
13th October 2015, 15:41
Xin1Generator adds this to the output:

qpfile.txt: Only useful if you'll be re-encoding the video with x264. This file forces I-frame placement on chapter borders, making sure that playback is seamless. Reference this file with x264's --qpfile option.

Could you also add this qpfile (as an attachment?) to the mkv for future proofing (this way the video can be properly reencoded in the future if needed).

Or is there another way to properly demux the video for encoding?

Many thanks.

hubblec4
13th October 2015, 20:30
Many thanks for your feedback.


Could you also add this qpfile (as an attachment?) to the mkv for future proofing (this way the video can be properly reencoded in the future if needed).


Yes, I know and i could do this (it was planned but less time and you are the first one who asked)




Questions:


I can only extract 1 subtitle at a time, or ALL subtitles together. Can you add the option to extract only the selected subtitles in 1 go (when several subtitles are selected)?
Can you add the option to extract and convert (as selected) the audio and the subtitles together in 1 go (and the video too if selected for demuxing).

Even better, could you make it so that it automatically does whant Makemkv does in 1 go (convert Lossless HD to FLAC (when applicable/selected) and remux all the selected tracks with extracted Forced subtitles when applicable in 1 go)?



1:

You can demux more than one sub at the same time. Select sub-> demux , new sub select -> demux.
An option to demux all selected subs with one click is not possible, cause there is no "multi select" for the ListView enabled.
Maybe I can implement it with a check for the checkboxes.

2: more automatically processes are a good idea. but i have not really time at the moment.

Maybe the "BD-demux" option can do this job in future, but eac3to can convert only one thing while demuxing the rest.


(I havn't disabled the test-mode for BD-demux in rev0.39, so you can only work with the first 100mb of the source :-( rev0.40 follows )

Bigmango
13th October 2015, 21:05
1:

You can demux more than one sub at the same time. Select sub-> demux , new sub select -> demux.

Ok, but this means eac3to will read the full bluray source several times (which is fine with an SSD but very slow on HD).

But good to know it is possible.


An option to demux all selected subs with one click is not possible, cause there is no "multi select" for the ListView enabled.
Maybe I can implement it with a check for the checkboxes.

This would be nice. I remember eac3to can demux all the selected subs in 1 go.


2: more automatically processes are a good idea. but i have not really time at the moment.

Maybe the "BD-demux" option can do this job in future, but eac3to can convert only one thing while demuxing the rest.


(I havn't disabled the test-mode for BD-demux in rev0.39, so you can only work with the first 100mb of the source :-( rev0.40 follows )

Ohhhh ! This is why it always stopped at about 100mb. I tried to get this to work for 45 minutes today. :p

hubblec4
13th October 2015, 22:08
I convert often 2 audio streams and demux one sub at the same time. it works good and i have no ssd where the files are stored.

yes eac3to can demux more than one sub in one process. maybe in rev 0.41.


The other issue: demuxing the editons from a multi-editions-mkv

Its not so easy for mkvextract. mkvextrac,exe should read the chapter and tag xml and interpret the settings. But I think Mosu has no time to do that.

A way will be a "ordered cut-code" for the spliting option "by timestamps" in MTX-GUI. I think I'm able to generate such a cut-code. I will think about it.

hubblec4
15th October 2015, 00:11
a new rev0.40 (http://forum.gleitz.info/attachment.php?attachmentid=98829&d=1444863512) is avalible.

New features and a lot of bug fixes.

BD-demux(complete) test-mode is disabled.

Changelog chapterEditor

added &
fixed *
improvement #
layout change %


rev0.40
// chapterEditor
# several source code optimization

// Matroska Tags
# adapted tab ordering

// settings
& XML: append XML
- selection is what will happen with the new XML file

# XML - automatic chapter name:
- minimum number of digits for the chapter number

// XML Format
& append XML files if the root node is selected
- When the TreeView is already have an edition, another XML file can be appended.

& Chapter naming: minimum number of digits for the chapter number
- only for "numbered", the chapter numbers are padded with zeros in front
- a value of 1 disables this feature

& Chapter naming: execute "OK button" with ENTER

& Chapter naming EXIT: if the checkbox "Exit" is ticked, the function automatically ended

# Matroska Tags Editor is used as standard with ENTER when prompted for the Tag editor is to be used
- the form will be displayed modal, so that no more bugs can be provoked

// Multi Editions Editor
& HotKeys:
- ListView(available titles)
m -> "show only multi editons" change
e,f -> ignore first m2ts (if checkbox enabled)
l -> ignore last m2ts (if checkbox enabled)
d -> remove duplicate m2ts (if checkbox enabled)
SPACE -> finished selecting the title-> "edition name" edit field gets FOCUS
for more HotKeys.

- edit field edition name
ENTER -> "OK" is executed and you get to the tracks
ESCAPE -> deletes the selected edition in the ListBox
Pfeiltasten hoch/runter -> auswahl der Version in der ListBox
F2 -> checkBox "all edititons" change
F3 -> language in the combo box up
F4 -> language in the combo box down

& generate mtxcfg automatically after all audios have been converted
- previously you could only cancel

* superfluous error message removed when audio tracks yet to be converted and
you try to create a mtxcfg file

* mtxcfg: missing "properties" supplemented
- "type" for MPEG2
- "pixel_dimensions"

// DVD2mkv
& mtxcfg file as output for MKVToolNiX-GUI

hubblec4
8th November 2015, 19:03
Here is a new update to rev0.41 (http://forum.gleitz.info/attachment.php?attachmentid=98839&d=1447005116)

The focus was on the new "loading system" for all editors. Lots of redundant source code has disappeared.
Thus you can now append each chapter format in the XML editor.

Changelog chapterEditor

added &
fixed *
improvement #
layout change %


rev0.41
// chapterEditor
& support for VLC bookmark files xspf,m3u,m3u8 (OGG,XML,TTXT,multiAVCHD)

# load all file formats for editors OGG, XML, TTXT, multiAVCHD completely new
- plenty removes obsolete procedures
- Sonic Scenarist CSV File: the FPS is preset
* Source FPS: there was an error when "Exit" was not activated

# the color of the statusbar's should now always be displayed

// settings
& mkv: qp file for Multi Edition Editor and DVD2mkv - is needed for encoding the video
- 2 I-frames per chapter
(The frame number is very often rounded.
There is then insert a frame number for rounding down and one for rounding up.)
- qpf MeGui file (instead of qp_x264)

// Matroska Tags
* UTF8 converting for the "String" node missing

// OGG Format
* the chapter-time check was incorrectly evaluated

// XML Format
# append files for all formats if the root node is selected in the TreeView
- the new "loading system" now allows all file formats append to existing XML structures

* internal drag & drop in TreeView - left mouse button
- if a chapter has been moved to a different edition, incorrect chapter indexes were created

// 3GPP TTXT Format
* when you save the TTXT incorrect values were generated when certain styles are enabled

// Multi Edition Editor
& output a qp_x264 or qpf_MeGUI file
- all chapter marks (even invisible)
- cutting marks are also included

& Subtitles demux: Checkbox "grayed" status - only ticked subtitles are extracted

// DVD2mkv
& output a qp_x264 or qpf_MeGUI Datei

* mtxcfg: MPEG2(m2v) "type propertie" was incorrect

Q-the-STORM
11th December 2015, 14:08
Can you maybe add simple chapter editing functions to CLI?
e.g. I need to do fps conversion 23.976fps to 25fps on multiple xml files, but manually doing it for every single file takes a long time, it would be a lot quicker doing it via CLI...

hubblec4
11th December 2015, 22:38
hi Q-the-STORM

I have not really much time,
but I have added it to TODO list.

hubblec4
12th December 2015, 23:53
Because there but went quite fast and I had a day off today :-)

An update for the CLI version rev0.01 (http://forum.gleitz.info/attachment.php?attachmentid=98861&d=1449956920) is available.

There were a few little things that could finally be done with time.
The new mode:
FPS Conversion
is now available.

Mass FPS conversion of Matroska XML and OGG chapter files.

The help has been adapted, new switches are explained there.
The first post I provided with new examples for the 3rd mode.

Changelog chapterEditorCLI

added &
fixed *
improvement #


rev 0.01
& FPS Conversion
- every FPS format is supported (e.g. 25 23.976 29,97 24000/1001)
- source files in Matroska XML or OGG Chapter format
- source folder - mass FPS converting by source files
- target file - optional 5. parameter for source files only

& chapterEditorCLI start without parameters shows the English help

* BluRay Parser:
- If there are multiple PlayItems and they have different byte lengths,
wrong times were determined

* chapter times could be calculated incorrectly in very rare cases

# the Help adapted