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
17th December 2018, 23:17
https://www.iconfinder.com/icons/282471/cross_delete_remove_icon

I found this icon which I think looks good. Progress/percentages also sounds interesting.
This icon is already in cE and could be used easily. I will change the icons next rev.
Is the icon for the reference tab OK? And the "normal" checked-icon for identical tabs?


I see. It would be nice if there was some way to do this even if it's just for chapter naming tab but if there isn't a good way to do this then maybe it's best to leave it as it is.
I prefer to show form2 modal but I could add a new option for changing names like "save all tabs(right-click)". A middle click makes the changes and opens tab management automatically.



Mainly thinking about undo/redo option for the Chapter Naming tab. So if I change tab(s) chapter names/language etc. a undo option can be used to change the chapter names/language etc. back to old chapter names/language etc. values and depending on how many times CTRL+Z or undo option is clicked the number of changes will roll back accordingly.

For this task I need a history list of all chapters and much more info and this would make a huge work.
Sorry, this is to much for me.

dissory
18th December 2018, 06:14
This icon is already in cE and could be used easily. I will change the icons next rev.
Is the icon for the reference tab OK? And the "normal" checked-icon for identical tabs?


Yep, I think the reference tab/normal checked icons looks fine.


I prefer to show form2 modal but I could add a new option for changing names like "save all tabs(right-click)". A middle click makes the changes and opens tab management automatically.


Not sure how well middle click will work since I'm guessing it will make changes but not save changes to file which could be not ideal when 'all tabs'+'load list' options are chosen because then after finish checking in tab management there isn't a way to save all tabs to file at once)

I think even if the current way is a little bit of hassle it's not such a big one that I'm happy to use it the way it is now. Do you think it's best to leave it as is for now?


For this task I need a history list of all chapters and much more info and this would make a huge work.
Sorry, this is to much for me.

Alright, no problem.

hubblec4
18th December 2018, 13:59
Not sure how well middle click will work since I'm guessing it will make changes but not save changes to file which could be not ideal when 'all tabs'+'load list' options are chosen because then after finish checking in tab management there isn't a way to save all tabs to file at once)
OK, a middle click for re-open tab management(only) is not enough. I could combine the save all function with the re-open procedure.

It exists three ways to save all tabs (not only when you rename chapters). A item in the main menu, a ShortCut and a middle-click on the "save" button in the file bar.



I think even if the current way is a little bit of hassle it's not such a big one that I'm happy to use it the way it is now. Do you think it's best to leave it as is for now?

I think this normal, that when a feature is implemented, a new feature is possible/necessary for more easy work. I will think about it to find a good solution.

hubblec4
20th December 2018, 02:45
Hi dissory

Here is test4 of cE (https://forum.videohelp.com/attachments/47522-1545267029/cE.7z).

I have changed the diff icons with simple icons(created by my self) with a kind of percentage in red. I hope you like it.

Multi tab moving should work for your case, but there are many more move-cases.
Maybe you have time to check some cases.
At first some words to the VirtualStringTree(VST) which is mostly used in cE.
For moving nodes exists 4 options to drop this node(s).
Before a node, After a node, On a node and Nowhere

Before, After and Nowhere is easy to handle but On a node can be tricky for multi selecting.
In the VST is a single selected node also the FocusNode and you have a source index and a target index which makes moving easy.
But with multiple selected nodes you have multiple source index values but only one Focus-Index.
The following example shows want I mean.

5 Tabs
1.mkv
2.mkv
3.mkv
4.mkv
5.mkv

1+5.mkv are selected and move "OnNode" to 3.mkv -> two options
Focus: 5.mkv | Focus: 1.mkv
2.mkv | 2.mkv
1.mkv | 3.mkv
5.mkv | 1.mkv // cE moves 5.mkv here
3.mkv | 5.mkv // CE moves 1.mkv here maybe a bug
4.mkv | 4.mkv


For Chapter naming you can hold down the Shift key and tab management reopens(for all actions and saving). I hope this helps a bit.
If all working then comes the hotkeys and I have planned a main menu item for the tab management.

dissory
21st December 2018, 16:53
Hi dissory

Here is test4 of cE (https://forum.videohelp.com/attachments/47522-1545267029/cE.7z).

I have changed the diff icons with simple icons(created by my self) with a kind of percentage in red. I hope you like it.


I do like it, the percentages are helpful :)


Multi tab moving should work for your case, but there are many more move-cases.
Maybe you have time to check some cases.
At first some words to the VirtualStringTree(VST) which is mostly used in cE.
For moving nodes exists 4 options to drop this node(s).
Before a node, After a node, On a node and Nowhere

Before, After and Nowhere is easy to handle but On a node can be tricky for multi selecting.
In the VST is a single selected node also the FocusNode and you have a source index and a target index which makes moving easy.
But with multiple selected nodes you have multiple source index values but only one Focus-Index.
The following example shows want I mean.

5 Tabs
1.mkv
2.mkv
3.mkv
4.mkv
5.mkv

1+5.mkv are selected and move "OnNode" to 3.mkv -> two options
Focus: 5.mkv | Focus: 1.mkv
2.mkv | 2.mkv
1.mkv | 3.mkv
5.mkv | 1.mkv // cE moves 5.mkv here
3.mkv | 5.mkv // CE moves 1.mkv here maybe a bug
4.mkv | 4.mkv


Maybe placing the selected tabs before or after should be determined by whichever tab is last clicked?
So if 1.mkv and then 5.mkv is clicked/selected then moved onto 3.mkv since last tab clicked (5.mkv) is below 3.mkv it should become:

2.mkv
3.mkv
1.mkv
5.mkv
4.mkv

and if instead 5.mkv and then 1.mkv is clicked/selected then moved onto 3.mkv since last tab clicked (1.mkv) is above 3.mkv it should instead become:

2.mkv
1.mkv
5.mkv
3.mkv
4.mkv

Honestly, I'm not sure of this either since there may be times when the opposite placement is wanted so I don't know if what I suggested is helpful...sorry.

In my opinion any way multiple tabs are moved they should still be placed together and in the same order they were moved...though I see it can be tricky with multi tabs.


For Chapter naming you can hold down the Shift key and tab management reopens(for all actions and saving). I hope this helps a bit.
If all working then comes the hotkeys and I have planned a main menu item for the tab management.

Yep, tested it and works well, thanks hubble.

hubblec4
21st December 2018, 21:04
Maybe placing the selected tabs before or after should be determined by whichever tab is last clicked?
Yes, a developer can code this fix and say drop OnNode inserts a node before or after. But for this way you can't move a node to the first/last place.
It is simple to check the source(focus node) and target(drop node) index. If srcIdx < trgIdx then insert after else insert before.
It works for a single moving perfect and also for some multi select cases.


So if 1.mkv and then 5.mkv is clicked/selected then moved onto 3.mkv since last tab clicked (5.mkv) is below 3.mkv it should become:

2.mkv
3.mkv
1.mkv
5.mkv
4.mkv

and if instead 5.mkv and then 1.mkv is clicked/selected then moved onto 3.mkv since last tab clicked (1.mkv) is above 3.mkv it should instead become:

2.mkv
1.mkv
5.mkv
3.mkv
4.mkv

Yes I think also this is the right behaviour, I will fix this.

Some more words to VST selecting nodes:
When you select nodes via mouse(left-click) + hold down CTRL then the last selected node is the focus node(source index).
You can select multiple nodes via mouse hold down left-button, then is the first selected node the focus node(source index).


Honestly, I'm not sure of this either since there may be times when the opposite placement is wanted so I don't know if what I suggested is helpful...sorry.
I'm fine with that and I like your suggestions. Tab management was only an idea of me at begin recoding cE, but now it is implemented and I like it.


In my opinion any way multiple tabs are moved they should still be placed together and in the same order they were moved...though I see it can be tricky with multi tabs.

Yes, and I hope it will work for all/most cases.

hubblec4
22nd December 2018, 02:22
I found a bug for multi tab moving. In the GUI moves the tabs correctly but the data classes gets a wrong index(from next tab). (update index too early)
For testing to see where tabs moves it is OK, but not for your daily task, maybe chapters could be overwritten.

hubblec4
23rd December 2018, 20:45
Hi dissory

Here is test5 of cE (https://forum.videohelp.com/attachments/47598-1545592710/cE.7z).

A main menu item "Tab management" is added and a cE global ShortCut init: ALT+T.
There are two hotkeys for the VST. init: "c" = Compare tabs; "ENTF" = Delete tabs
This updates the Hotkeys.ceh file and increase the version number. If I don't change anything until final cE rev1.11 then is all fine.
Otherwise you could make a copy before or you can decrease the file version number at one manually.

Multi tab moving should now work fully. I have set two restrictions. First, a selected node can never be the target node.
Second, if you want to move selected nodes below last node (which is the drop mode "Nowhere", this means insert at the end),
the last node is the target node. Is this node not selected the moving will be allowed.

The order of the selected tabs is now untouched and will be grouped. For my first tests it seems that a lot of move-cases working.

dissory
24th December 2018, 17:32
Just tried moving around tabs in some different orders and they work well indeed, looks correct for most (maybe all) cases. Tested Hotkeys and they also work.

I think I found a sort of UI bug when moving multiple files. If for example I load 5 mkv files and select the 3rd, 4th then 5th files and drop them on the 1st file then there are no more tab names showing in form1 (but File path and clicked tab chapter details are still visible). You need to close tab management and click the left or right arrow (depending where tabs are moved) to see tab names again.

hubblec4
24th December 2018, 17:41
Many thanks for testing. I will have a look at this issue soon.

Edit: I have used very short tab names and all is fine, but I can reproduce the issue with long tab names.

hubblec4
27th December 2018, 00:32
chapterEditor(cE) rev1.11 is available.
Windows (https://forum.videohelp.com/attachments/47623-1545866811/cE-W(1.11).7z)
Linux (https://forum.videohelp.com/attachments/47624-1545866811/cE-L(1.11).7z)



Working with many files is now made easier by the tab management.
Chapter files can be compared and the differences are displayed.




Change chapterEditor

added &
fixed *
improved #
changed %


rev1.11 2018-12-27
// chapterEditor
& Tab management
- for the chapter editors(except Converter) and the Matroska Tags editor
- simple tab overview in a list

& New items in tab header popup menu
- Clear tab
- Tab management
- Tabs: dynamic items and sub-items. Current tab is checked. Quick selection of another tab
- Close all left tabs
- Close all right tabs
- Close all tabs

& New main menu Item: Tab management
- global cE ShortCut init: ALT + T (Settings)


// Tab management
& for chapter editors: Display the number of chapters and editions(Matroska Chapters only)

& Language and Country codes from Chapter 1 (Matroska Chapters only)

& Multi tab selection

& Popup menu (right-click in the VST)
- Delete tab(s)
- Compare tabs

& Compare Tabs (chapter editors)
- Number of editions(Matroska) and chapters are compared
- Names are compared; Matroska: number of names; multiAVCHD: all 4 names
- Languages and countries (only Matroska); Number and order is compared
- The active tab is always the reference tab
- If only one tab is selected then it will be compared to all other tabs
- Icons for the compared tabs based on the differences
- Reference Tab has its own icon
- Difference code is inserted at the beginning of the tab name: 0 = no difference
- Matroska difference code: <0,0,0,0,0> <editions,chapters,names,languages,countries>
- OGG/OGM and multiAVCHD difference code: <0,0> <chapters,name(s)>
- Hotkey init: "c" (Settings)

& Move multiple tabs

& Delete Tabs
- Hotkey init: DEL key (Settings)

& Mouse middle-click ends tab management (actions will be executed before)

& Form2 width can be changed and the form button "Maximize" exists


// Chapter naming
& Open tab management after an action (except Converter)
- Hold down the Shift key while mouse-click


// BD2mkv
# Single processing mode: multiple start of the mux process was possible


// Matroska Tags
* Linux: cE own tab header popup menu was not used

dissory
27th December 2018, 18:24
Thanks for all the additions on tab management, hubble!

Wakaku
27th December 2018, 18:37
Wow, the tab management additions are wonderful, quite similar to some tab enhancement add-ons for Firefox. I'm glad Mr. dissory requested for it as I've been longing for such abilities myself. For example, I often drag multiple MKV's of long and unicode filenames (thus I wouldn't be able to remember the files by name) into the Matroska Tools (Matroska Tags editor). Sometimes I forget to edit one or few of them, thus I needed to re-drag all of them again (since I can't remember which one I missed), and after I end up with the desired tab and save, back then I have to close those other many tabs one by one again.

It's been quite a while of back and forth between you two and I was excited for the next version, so thank you both of you. And since the coast is a little bit clear, I just want to ask (probably suggest as well), how come chapterEditor is not included in Codecs.com (http://www.free-codecs.com/)? Other Matroska and media tools are there, like MKVToolNix itself, LAVFilters, MPC-HC, MakeMKV, etc.

hubblec4
27th December 2018, 20:21
Thanks for all the additions on tab management, hubble!

And thanks back to you for this request and your help for testing.

In the simple tab list (Tabs), I had added the icons from the tab, so you can see faster which tab is a new tab(or is it saved already).



Wow, the tab management additions are wonderful, ....
Nice to read that you like it.



.....And since the coast is a little bit clear, I just want to ask (probably suggest as well), how come chapterEditor is not included in Codecs.com (http://www.free-codecs.com/)? Other Matroska and media tools are there, like MKVToolNix itself, LAVFilters, MPC-HC, MakeMKV, etc.

chapterEditor is a small one men project without a homepage, maybe is that the reason.

hubblec4
1st January 2019, 03:42
Next feature on my TODO list is the "Disc Title Profiles".

In Disc2mkv editors you can set track names very fast with the Text Favorites.
But for a series with many episodes I have to repeat the renaming and other settings for each episode and this annoys a bit.

With the Disc Title Profiles you can save some settings for a title/tracks and reinsert the values to another title which have the same tracks configuration.
Saved values are depend on the track type. For all track types the name and language is saved. Audio tracks use the Delay value and for the Subs all flags are saved.

Any suggestions are welcome.

Wakaku
3rd January 2019, 07:13
Happy New Year everyone. For now I can't offer any suggestion for Disc2mkv since I am mainly a Matroska Tags (XML) user. Though why not a HELP main menu then an ABOUT submenu, to typically show the program's name and of course importantly the Author. :)

hubblec4
3rd January 2019, 14:44
Hi Wakaku

Yes, a HELP main item is also on my TODO list but with a very low priority. Is this main item important?

A question to you:
I saw your post (https://forum.doom9.org/showthread.php?p=1861340#post1861340) here and then I thought a bit about cE's Matroska Tags editor to improve/implement some features.
Ideas:
1. Profiles: a kind of template
2. more multi editing
3. a general CLI support in cE or a new separate cECLI.exe

What do you think?

Wakaku
4th January 2019, 08:00
LONG post, my friends, but here goes...

Yes, a HELP main item is also on my TODO list but with a very low priority. Is this main item important?

Not important but could be very convenient perhaps to casuals, or say de facto standard for programs to have one? Far back during Windows 3.1, I learned to click the... I think HELP or "H" main menu located separately at the far right side to get the Aurhor's name, program's name and version number for example. Thus to this day, I am accustomed to do so to get typical "help" contents there. If none, I look for accompanying text files, or vice versa.

So just keep it as low priority.

1. Profiles: a kind of template

1. Profiles would be a nice addition. I used my own before for easy copy-paste, editing, etc., until Mp3tag was finally able to handle multiple Matroska files. After using it for quite some time, I realized it somewhat has it's own sort of template or arrangement. So I abandoned my old personal XML templates, and I just tag my MKV files with Mp3tag as ease, then just edit them inside with cE afterwards.

For example, Mp3tag enforces "ALBUM" to be "TITLE" and as "50" which I think was declared in the Matroska tagging specs site if I understood correctly. VLC player can read it as ALBUM correctly but MediaInfo has trouble reading it especially if the embedded XML tag has both TITLE (the ALBUM) and an actual TITLE (eg. title of the song or film or video). I think MediaInfo will display the TITLE that is placed lowest in the embedded XML file. So if it has three "TITLE"s of different values then the last one would be displayed. If the MKV has both a HEADER TITLE and an XML TITLE, then MediaInfo would display both separated with a slash (/). Thus that's one scenario where I often use the yellow star TagName fave button, to change it to ALBUM.

Also my old MKV files where I previously embedded my own XMLs, somewhat resulted to minor issues after multi- re-tagging with Mp3tag, thus cE is best used to correct those issues inside, no other GUI software can. Though such minor issues would not manifest if tagged by Mp3tag from the beginning.

Far back when I had only MKVToolNix to use, I had no choice but to extract my own embedded XML tags, edit them with a text editor one by one, then delete those previously embedded XML tags, then re-embed them after the corrections I made.

Back then I think MKVToolNix's behavior was to append below an existing XML tag any new ones inserted, thus a User might not realize just how many redundant tag entries are really inside. Only possible to tell if the User would extract those tags or with cE (another simple yet convenient and powerful ability). Of course my old XML templates were just probably non-standard to begin with.

2. more multi editing

2. Do you mean the ability to tag multiple Matroska files at once, batch tagging? Then that's just magnificent, time-saver, convenient, and again powerful. I'm excited for the future for this TODO ability. :)

3. a general CLI support in cE or a new separate cECLI.exe

3. I am ok at either a general cE CLI support and/or a new separate cECLI.exe. Though I favor the first route if it could be done.

Though isn't there already a separate CLI in the first page of this thread, named cECLI (rev0.01)?

For a new separate CLI route, that current short exe filename is already favorable. For example after repeated usage of youtube-dl.exe, I found it somewhat long to type and prone to typo. So I just made a symbolic link to it named "yyy.exe".

hubblec4
4th January 2019, 21:30
....
Thus to this day, I am accustomed to do so to get typical "help" contents there. If none, I look for accompanying text files, or vice versa.
...


That is also right, a "Help" main menu item is almost ever present.
I thought for my small project is it not important but now it seems cE is used daily by some users.
I know cE should have more help/info/tutorials/etc. and this is also on my TODO list.
The plan is to add such a Help item with sub items like "About" and more.



1. Profiles would be a nice addition. ....

OK, I think I will have a look to Mp3Tag and you could tell me more about your working chain.


For example, Mp3tag enforces "ALBUM" to be "TITLE" and as "50" which I think was declared in the Matroska tagging specs site if I understood correctly. VLC player can read it as ALBUM correctly but MediaInfo has trouble reading it especially if the embedded XML tag has both TITLE (the ALBUM) and an actual TITLE (eg. title of the song or film or video). I think MediaInfo will display the TITLE that is placed lowest in the embedded XML file. So if it has three "TITLE"s of different values then the last one would be displayed. If the MKV has both a HEADER TITLE and an XML TITLE, then MediaInfo would display both separated with a slash (/). Thus that's one scenario where I often use the yellow star TagName fave button, to change it to ALBUM.

Also my old MKV files where I previously embedded my own XMLs, somewhat resulted to minor issues after multi- re-tagging with Mp3tag, thus cE is best used to correct those issues inside, no other GUI software can. Though such minor issues would not manifest if tagged by Mp3tag from the beginning.

Far back when I had only MKVToolNix to use, I had no choice but to extract my own embedded XML tags, edit them with a text editor one by one, then delete those previously embedded XML tags, then re-embed them after the corrections I made.

Back then I think MKVToolNix's behavior was to append below an existing XML tag any new ones inserted, thus a User might not realize just how many redundant tag entries are really inside. Only possible to tell if the User would extract those tags or with cE (another simple yet convenient and powerful ability). Of course my old XML templates were just probably non-standard to begin with.


Matroska Tags specs are not complete and will be never, therefor gets the Tags it's on section. New TagNames can be simple added later.
The Tags core specs are fine but every software can handle TagName/TagString and TargetType(Value) different.
You can have multiple Tags elements in a Matroska file (says the specs) but in practice only one Tags element is used.
For example you can add multiple Tags.xml files in the MKVToolNix-GUI (global, for each track) but in the final mkv there is only one Tags element
with all Tag(not Tags) elements form all xml files and the MTX-Stats-Tags tag elements.
Mkvpropedit can add or insert Tags depend on the flags. For this you should ask Mosu.

As I came to Matroska it was scary to edit xml files. Best software at this time was GDSmux a part of the HaaliSplitter and now I'm glad to see my cE helps other users.




2. Do you mean the ability to tag multiple Matroska files at once, batch tagging? Then that's just magnificent, time-saver, convenient, and again powerful. I'm excited for the future for this TODO ability. :)

Yes, why not :-), but at first I have to code the Tags-Profiles.
An other option could be to change the TagName in all tabs and/or SimpleTags.
In short: all what you can change/set in a tab/tags is applied to all tabs/tags.



3. I am ok at either a general cE CLI support and/or a new separate cECLI.exe. Though I favor the first route if it could be done.

Though isn't there already a separate CLI in the first page of this thread, named cECLI (rev0.01)?

For a new separate CLI route, that current short exe filename is already favorable. For example after repeated usage of youtube-dl.exe, I found it somewhat long to type and prone to typo. So I just made a symbolic link to it named "yyy.exe".

Yes it exists a separate cli exe, but named chapterEditorCLI.exe. But this code is also deprecated and to add new features could be problematic and also it uses the old online chapter database(which is not my own sql database).

A separate cli.exe is mostly the best, see other cli tools and also MKVToolNix but a GUI has also advantages.
To combine a cli part and GUI should not be the problem, but Windows handles this different as Linux.
BDSup2Sub++.exe(win): At the start of this program, a console is shown very short. This means you get any output of the program to this console when you use it with cli.
But I don't like this start behaviour. It is possible to deactivate the console and cli is still working but under Windows without an output (yes it is possible to start an extra console but this is for me too much).
You can also open a console and start from there cEcli, this should work(maybe).

Under Linux should work all fine out of the box says Lazarus but I have not much experience with Linux.(will take some time to learn it)
An other way is to have .dll files which can shared between cli part and GUI.
But as I asked in Lazarus forum the answer was this is not a good idea and I should use my Lazarus units to compile a GUI and cli part separately.

I prefer the following:
A cli support direct in cE. For Windows without the console (expect cE is started in a console(maybe)). For Linux the console should be available.
And when needed/ or I have time, I could compile a separate cli.exe (and then named cEcl.exe).

But at first I have to finish the Disc Title Profiles(60% ready).

hubblec4
17th January 2019, 00:40
chapterEditor(cE) rev1.12 is available.
Windows (https://forum.videohelp.com/attachments/47835-1547681745/cE-W(1.12).7z)
Linux (https://forum.videohelp.com/attachments/47836-1547681745/cE-L(1.12).7z)


Append files/folder/disc in the editors has been working for a long time
(drop into VST or right-click on the buttons in the file bar),
nevertheless, the corresponding main menu items were missing.


Disc Title Profiles:
To quickly set all the settings for the used tracks, title profiles can now be created.
Each profile has a name that can be changed. Only active tracks and their data are saved.


I decided against a profile mask, as this would have taken a lot more effort.
To create new profiles, you only have to configure the selected title as you would like it to be.
All active tracks and their data will then automatically become a new profile called "New Profile".
Thus, a title itself is the profile mask.
There are two ways to add a new profile, using the button and a hotkey.


When the title profiles are opened, a "small" title profile is automatically created and compared with all existing title profiles.
Again, the differences are again represented by means of small percent images.
For comparison, the number of active tracks and their order is crucial.
If a track has too few or too many active tracks than are stored in the profile, using the settings will still work.
If the order of the track types (Vid, Aud, Sub) is not identical to the saved profiles,
then the use of the settings will be interrupted as soon as the track types are different.

To even faster equip a list of titles (series disc) with the same settings,
the last used profile can be used again. A hotkey(Q) in the VST is available/adjustable.



Empty subtitles file:
Often there are forced subtitles, which are not present in some episodes.
For this I manually add an empty subtitle and this can now be done automatically.
The path to such an empty subtitle file is set separately in the DVD and BD settings.



Change chapterEditor

added &
fixed *
improved #
changed %


rev1.12 2019-01-17
// chapterEditor
& 2 new main menu items: for the chapter editors(except converter) and Matroka Tags
- Append file(s): global ShortCut init: CTRL + I
- Append disc or folder: global ShortCut init: CTRL + ALT + I


// Disc2mkv editors
& Disc Title Profiles
- Track name and language for all track types, for audio still the delay, for subtitles all 3 flags
- only active tracks are used
- Open with the button: Left-click = open only; Right-click = Add new profile; Middle-click = Apply last used profile
- Open with Hotkeys (VST): CTRL + Q = open only; ALT + Q = Add new profile; Q = Apply last used profile (Settings)
- Change profile name: with the button or in the edit field with the hotkey Enter (Settings)
- Tracks information: easy overview for the track names and flags
- Apply profile: double-click or right-click or hotkey ENTER (settings)
- Delete profile: middle-click or hotkey DEL (settings)
- Move profile
- Automatic profile comparison: Current profile is compared with the existing profiles. Number and order of active tracks
- Profile differences are displayed by percentage pictures

& Empty subtitle file
- Path in the settings
- Insert with the subtitle button: right-click
- Insert with Hotkey (VST): init SHIFT + S
- File is inserted as first subtitle track
- Track name "empty" is set


// Matroska Tags
* last used folder/disc was not set in the folder dialog

hubblec4
21st January 2019, 18:49
Hi Wakaku

I have started to upgrade Matroska Tags editor.
My first step is to implement an Action Range option for all SimpleTag values (TagName,Language...etc). At the moment there is only an option for the language and for the current tab/file only.

The language can now be changed in all tabs for all(or other Action Range options) SimpleTags. When you like I could provide a test version...Windows or Linux(what is your OS)?
Next value is TagName, so you can change it in all tabs and set ROTATE as value for example.

And yes the Matroska Tags Profiles feature is a must now. After 100000 editions which I have tagged in the last years, I need now an automatic for this task.
I have shortly looked at mp3Tag and it seems to me there is a profile mask with some predefined names like Title,Interpret,Album and so on.
But I don't want to insert a profile mask, I could do the same like in the Disc Title Profiles.
You can set up all Tags,Tag,SimpleTag,Targets you need and this is then the mask. I think this is better as a fix coded mask because not all Matroska Tags elements are available in Mp3Tag mask.


Let me know what all you need and don't be shy to ask for crazy things :-)



I would like to change in the Option Bar the Settings button against a Play-File button like in Matroska Chapters editor to start quickly an mkv after I saved the Tags. Do you need this Settings button?

Wakaku
24th January 2019, 08:46
I have started to upgrade Matroska Tags editor. My first step is to implement an Action Range option for all SimpleTag values (TagName, Language... etc). At the moment there is only an option for the language and for the current tab/file only.

The language can now be changed in all tabs for all(or other Action Range options) SimpleTags. Next value is TagName, so you can change it in all tabs and set ROTATE as value for example.

Sounds really good. I imagine it would be somewhat similar to the tab management enhancements context menu entries, and the context menu entries in the Matroska Tools main tab's left pane.

And yes the Matroska Tags Profiles feature is a must now. After 100000 editions which I have tagged in the last years, I need now an automatic for this task. I have shortly looked at mp3Tag and it seems to me there is a profile mask with some predefined names like Title, Interpret, Album and so on. But I don't want to insert a profile mask, I could do the same like in the Disc Title Profiles. You can set up all Tags, Tag, SimpleTag, Targets you need and this is then the mask. I think this is better as a fix coded mask because not all Matroska Tags elements are available in Mp3Tag mask.

I definitely agree. If I understood correctly (and after reading the changes in rev1.12 for the Disc Title Profiles too), then the User would be able to create his pattern and save it as a profile for later re-use. Thus if I have to, then I could somewhat re-create Mp3tag's pattern as a profile for maximum compatibility.

I would like to change in the Option Bar the Settings button against a Play-File button like in Matroska Chapters editor to start quickly an mkv after I saved the Tags. Do you need this Settings button?

Such would be a convenient addition. For example I could test the MKV after I add the ROTATE tag to the video track. If it is then implemented, then perhaps it could be easily put to the tab management right-click context menu too. Such Play button would also be convenient for the Chapter editors main tab, so it might as well be a universal button too.

Mosu provided 3 sections of Matroska as external xml files. SegmentInfo, Chapters and Tags. With editing SegmentInfo you can change certain elements like the Title of an mkv. On my TODO list is also a SegmentInfo editor like Tags/Chapters editors but with a very low priority, because I don't need it for tagging. For me is the SegmentInfo interesting because of processing for Matroska menu.

I'm glad that cE would have its own "Header" tags editor in the future, so that both Header and XML tags could be conveniently edited in cE. Having used cE's XML tag editor, I imagine the Header editor counterpart would be as equally as powerful.

It seams that ExoPlayer (https://github.com/google/ExoPlayer) has implemented native rotation support for mkv files with the ProjectionPoseRoll element.

This is good news. I hope the other software players follow soon, especially MPC-HC. Though admittedly, the unofficial ROTATE tag already has a soft spot in my heart. :)

When you like I could provide a test version... Windows or Linux (what is your OS)?

Well, I'm honored and also... super scared, since admittedly I'm just a User. :D Right now I am caring for my mother who is 75 years old who has both eye cataracts and glaucoma. Right now we are nearing the end of our eye drops prescription and if it ended up OK, then possibly a cataract operation/removal next week for one eye only. Then I think 1 week of more eye drops, then check up. Sooner maybe a week(s) or month(s), cataract removal for the other eye then similar eye drops again. Then far sooner, the glaucoma problem for one eye at a time again. All could end up 4 months or a year from now. All household chores even the simplest and easiest ones are all on my shoulders.

Therefore I can't promise any speedy testing, but I want to participate nonetheless. My OS is Windows 7 64-bit and confessedly my internet connection is only data-based and quite slow/expensive, for example 1 GB for 3 days. So I use the likes of uBO and ABP to block not just ads but also images and media to save data, and I take advantage of my ISP's occasional promos.

Let me know what all you need and don't be shy to ask for crazy things :-)

All righty then. :) I'll try to arrange them from what I think would be easiest to hardest.

1. Emoji support

Ability to save Emoji as XML tags. Right now, only Mp3tag can add new, read existing (though displayed as empty boxes), and save them. Back in my Windows XP time, I was craving for unicode support in my programs, and when the time finally came that I transitioned to Windows 7, unicode support was more widespread. So I was just happy to save those CJK / Thai / Hebrew / Hindi / Arabic texts for example easily. Then maybe just this 2016 or 2017, the Emojis came (eg. emojis, smilies, hands, flags, etc). Some of those YouTube videos even have emojis midway in the titles.

MKVToolNix GUI's Header Editor can add emojis as Header tags, but after saving, the display is immediately changed to black triangles with question marks in the middle/center (mojibake?). Sadly, after remuxing with MKVToolNix, both the Header emojis (added by MKVToolNix GUI's own Header Editor itself) and the XML emojis (added by Mp3tag) are lost.

My way of verifying that both those Header and XML emojis are really correctly inside the MKV is viewing via MediaInfo's HTML view.

I tested with cE. It can load them as empty boxes, but after saving, the XML emojis are lost. When viewed by MediaInfo's HTML view, the result is similar to MKVToolNix after remuxing, which looks like middle dots.

My hunch is that Mp3tag saves them as or switches to UTF-16. Perhaps somewhat like UTF-8 for ID3 v2.4 and UTF-16 for ID3 v2.3. And so, I use Mp3tag as my final editor/saver if there are emoji tags involved.

I also tested remuxing with FFmpeg. Luckily those emojis I saved with Mp3tag are retained.

Hopefully it would be officially supported by Matroska some time, since Mp3tag supports it and FFmpeg can retain them after remuxing.

2. Open With, SendTo, desired main tab

Ability to open an MKV/Matroska file directly to a desired main tab (like into the Matroska Tools main tab, my favorite). For example if it could be done via a command line switch or an option which could be put in a shortcut (lnk), or maybe to be put first into a batch file then called by the shortcut. Then it could be put into the SendTo folder for example. In fact I asked something similar to this in the MKVToolNix thread.

Or perhaps a default behavior configurable by the User when using Windows Explorer's Open With context menu. MKVToolNix's default behavior when opening an MKV file as ease, is to open it in the Multiplexer main tab.

Well who knows, maybe cE will have its very own Explorer right-click context submenu like those of WinRAR's, 7-Zip's, etc, in the far future. :D

3. Consolidate XML-Indexes

Ability to consolidate the XML-Indexes into one. For example, if I have 1.1, 1.2, 1.3, 1.4, 1.5... 1.10, then maybe a right-click context menu to join them all into 1.1. The default TargetTypeValue and TargetType could be both simply "are not using", or perhaps a choosing of the User.

It would be quite useful for scattered or disordered XML tags, so that I don't have to drag the SimpleTags one by one into 1.1. For example, in my own very old previous XML tags I embedded when I had back in time only MKVToolNix to use, after editing and saving them with Mp3tag, the XML tags became disorderly (but no tag or actual media file corruption), so cE is best used in such scenario as the final editor/saver. Perhaps Mp3tag got confused because of the TargetTypeValue numbers I used back then.

Maybe this is applicable or could be added to the potential Action Range options. Maybe this could be handled via profiles. Perhaps I would find out later on.

4. Cover display

This is probably hard and more approriate in the least priority section of the TODO list, especially for cE's future Header tagging support: Ability to display MKV/Matroska cover, even at least the first cover only. Mp3tag can display any existing Matroska cover (cover.jpg), delete them, but it can't add one yet.

This would be a convenient feature, for example if I have about 10-20 videos downloaded from YouTube and if they are all of unicode filenames (which I don't understand/can't read), then it would be hard for me (or the User) to identify the files after they are loaded into cE (for example dragging them all into the Matroska Tools). I often just embed the maxresdefault.jpg as the cover.jpg (if none then I resort to sddefault.jpg, then to hqdefault.jpg).

Or perhaps cE could tap Windows Explorer's own thumbnailing. I have Icaros (https://www.videohelp.com/software/Icaros) installed for other formats like for MKV itself.


Anyway, if these features could not be implemented some time, then I am still very much okay. I am already satisfied with cE's current incarnation after all. :)

hubblec4
25th January 2019, 02:56
I imagine it would be somewhat similar to the tab management enhancements context menu entries, and the context menu entries in the Matroska Tools main tab's left pane.
No.
The Action Range option can be set in the Combobox (All SimpleTag, All SimpleTag of a Tags, ... etc.). And now it works for all SimpleTag values and for all tabs(new checkbox).
For example you have 20 tabs with one SimpleTag each and you set in the first tab(or any other) the TagString value to ROTATE, it will apply to all other tabs/SimpleTag's.
I will provide soon a new version because I found a bug (an other reason is the chapter database).



If I understood correctly (and after reading the changes in rev1.12 for the Disc Title Profiles too), then the User would be able to create his pattern and save it as a profile for later re-use. Thus if I have to, then I could somewhat re-create Mp3tag's pattern as a profile for maximum compatibility.
Yes and you can use all Matroska Tags elements. I have two ways in my mind for re-use a profile.
1. like Disc Title Profiles
In a tab exists Tags,Tag,SimpleTag nodes and all values from a profile will be used only

2. empty/blank
The entire structure and data from the profile is used.

Matroska Tags Profiles will be a bit more complex as the Disc Title Profiles but I am quite confident.




If it is then implemented, then perhaps it could be easily put to the tab management right-click context menu too. Such Play button would also be convenient for the Chapter editors main tab, so it might as well be a universal button too.
In Matroska Chapters editor you have a hotkey in the TreeView, "P"(default) plays the file. Such a hotkey is then for Tags editor also available.
I could also add a new item in Tab-Header-Management popup menu but I think the hotkey is enough. But if you say "I need this", you get it, no problem.



I'm glad that cE would have its own "Header" tags editor in the future, so that both Header and XML tags could be conveniently edited in cE. Having used cE's XML tag editor, I imagine the Header editor counterpart would be as equally as powerful.
I will do my best, maybe this year.
Here some info:
SegmentInfo has also 3 parts, I hope I'm right. Mosu can maybe say more.
One part can be edit with mkvpropedit, an other part can be read from xml files while mkvmerge mux a file and the last part can be written by mkvmerge(or any other mkv tool) only.

In an xml file is no element for the mkv Title this is a job for mkvpropedit.
In the new Matroska SegmentInfo editor you can edit two parts(xml and mkvpropedit) and I will add comments in the xml file to preserve values which are not provided by Mosu. So the idea, but this will take some time.



This is good news. I hope the other software players follow soon, especially MPC-HC. Though admittedly, the unofficial ROTATE tag already has a soft spot in my heart. :)
MPC-HC is developed by clsid only and he has strict rules for updates, I don't think he will add this feature. Or maybe is this a job for the splitter too, then you have to ask nevcairiel to upgrade LAV Filters.
On the other hand like you said the soft variant works perfect and will stay for a long time/or ever.



Well, I'm honored and also... super scared, since admittedly I'm just a User. :D Right now I am caring for my mother who is 75 years old .......
I keep my fingers crossed for your mother so that everything goes well during the operation and wish you lots of creative energy for the time to come.
Don't feel you set under pressure to test cE. cE is not a life saver your mother is most important.
I will provide a test version and you have all the time you need, and when there is no time, believe me I'm the last one which is angry about this.



1. Emoji support

Ability to save Emoji as XML tags. Right now, only Mp3tag can add new, read existing (though displayed as empty boxes), and save them. Back in my Windows XP time, I was craving for unicode support in my programs, and when the time finally came that I transitioned to Windows 7, unicode support was more widespread. So I was just happy to save those CJK / Thai / Hebrew / Hindi / Arabic texts for example easily. Then maybe just this 2016 or 2017, the Emojis came (eg. emojis, smilies, hands, flags, etc). Some of those YouTube videos even have emojis midway in the titles.

MKVToolNix GUI's Header Editor can add emojis as Header tags, but after saving, the display is immediately changed to black triangles with question marks in the middle/center (mojibake?). Sadly, after remuxing with MKVToolNix, both the Header emojis (added by MKVToolNix GUI's own Header Editor itself) and the XML emojis (added by Mp3tag) are lost.

My way of verifying that both those Header and XML emojis are really correctly inside the MKV is viewing via MediaInfo's HTML view.

I tested with cE. It can load them as empty boxes, but after saving, the XML emojis are lost. When viewed by MediaInfo's HTML view, the result is similar to MKVToolNix after remuxing, which looks like middle dots.

My hunch is that Mp3tag saves them as or switches to UTF-16. Perhaps somewhat like UTF-8 for ID3 v2.4 and UTF-16 for ID3 v2.3. And so, I use Mp3tag as my final editor/saver if there are emoji tags involved.

I also tested remuxing with FFmpeg. Luckily those emojis I saved with Mp3tag are retained.

Hopefully it would be officially supported by Matroska some time, since Mp3tag supports it and FFmpeg can retain them after remuxing.


Very interesting, could you provide sample files? An xml tags with the Emojis, an mkv and so on?




2. Open With, SendTo, desired main tab

Ability to open an MKV/Matroska file directly to a desired main tab (like into the Matroska Tools main tab, my favorite). For example if it could be done via a command line switch or an option which could be put in a shortcut (lnk), or maybe to be put first into a batch file then called by the shortcut. Then it could be put into the SendTo folder for example. In fact I asked something similar to this in the MKVToolNix thread.

Or perhaps a default behavior configurable by the User when using Windows Explorer's Open With context menu. MKVToolNix's default behavior when opening an MKV file as ease, is to open it in the Multiplexer main tab.

Well who knows, maybe cE will have its very own Explorer right-click context submenu like those of WinRAR's, 7-Zip's, etc, in the far future. :D


I know what you mean and when I understand this right, then I have to manipulate the Windows registry. Indeed I have a bit experience with this but,
coding and how it works under Linux I have to learn.
I don't like the idea that cE writes in the Windows/Linux registry. I don't like it also when other portable tools this do. But I will think about it.




3. Consolidate XML-Indexes

Ability to consolidate the XML-Indexes into one. For example, if I have 1.1, 1.2, 1.3, 1.4, 1.5... 1.10, then maybe a right-click context menu to join them all into 1.1. The default TargetTypeValue and TargetType could be both simply "are not using", or perhaps a choosing of the User.

It would be quite useful for scattered or disordered XML tags, so that I don't have to drag the SimpleTags one by one into 1.1. For example, in my own very old previous XML tags I embedded when I had back in time only MKVToolNix to use, after editing and saving them with Mp3tag, the XML tags became disorderly (but no tag or actual media file corruption), so cE is best used in such scenario as the final editor/saver. Perhaps Mp3tag got confused because of the TargetTypeValue numbers I used back then.

Maybe this is applicable or could be added to the potential Action Range options. Maybe this could be handled via profiles. Perhaps I would find out later on.

I'm not sure if I understand you.
Many SimpleTag's should move in one go into SimpleTag1.1 and all moved SimpleTag's are now Sub-SimpleTag of ST1.1.
Can make two screenshots before moving and after?





4. Cover display

This is probably hard and more approriate in the least priority section of the TODO list, especially for cE's future Header tagging support: Ability to display MKV/Matroska cover, even at least the first cover only. Mp3tag can display any existing Matroska cover (cover.jpg), delete them, but it can't add one yet.

This would be a convenient feature, for example if I have about 10-20 videos downloaded from YouTube and if they are all of unicode filenames (which I don't understand/can't read), then it would be hard for me (or the User) to identify the files after they are loaded into cE (for example dragging them all into the Matroska Tools). I often just embed the maxresdefault.jpg as the cover.jpg (if none then I resort to sddefault.jpg, then to hqdefault.jpg).

Or perhaps cE could tap Windows Explorer's own thumbnailing. I have Icaros (https://www.videohelp.com/software/Icaros) installed for other formats like for MKV itself.

Mmmh... also interesting. Is a cover.jpg an attachment only? Could you provide a small mkv sample please?

Wakaku
25th January 2019, 21:12
I keep my fingers crossed for your mother so that everything goes well during the operation and wish you lots of creative energy for the time to come. Don't feel you set under pressure to test cE. cE is not a life saver your mother is most important. I will provide a test version and you have all the time you need, and when there is no time, believe me I'm the last one which is angry about this.

Thank you. I will test these test versions whenever I can. I want to participate nonetheless. :)

Very interesting, could you provide sample files? An xml tags with the Emojis, an mkv and so on?

Mmmh... also interesting. Is a cover.jpg an attachment only? Could you provide a small mkv sample please?

Yes I will download a video from YouTube (the smallest 144p and the smallest Opus available for easy downloading), mux it to MKV, then tag it with emojis, add the biggest thumbnail preview available as an attachment as cover.jpg, put my ROTATE video tag for fun, and compress it as 7z.

As far as I know, Matroska COVERs are just plain image attachments renamed to at least cover.jpg.

DOWNLOAD: My 7Z (https://sites.google.com/site/dp79lakas/home/allpurpose/ce-emoji.7z?attredirects=0&d=1)

I know what you mean and when I understand this right, then I have to manipulate the Windows registry. Indeed I have a bit experience with this but, coding and how it works under Linux I have to learn. I don't like the idea that cE writes in the Windows/Linux registry. I don't like it also when other portable tools this do. But I will think about it.

I agree, no need to mess with the Registry. Though there is some sort of automatic behavior in Windows 7 (or perhaps all Windows OS'es) using the Open With context menu even for portable programs, that you are most probably aware of, but I might as well tell my story.

For example, let's say I have Windows Explorer opened at a particular folder containing an MKV file. I can right-click that MKV file then move the mouse down a little until I reach Open with, then Choose default program..., then Explorer will prompt for me to pick a program in Recommended Programs, or I could click the Browse button at the lower right, so I could browse for an EXE in the hard disk. Then I could go to cE's installation folder and pick cE's EXE.

After I pick cE's EXE, it would then be included to the Open With context menu list, of course the Recommended Programs too, and in the Registry, cE's EXE will be included there:
HKCR\Applications\chapterEditor.exe

It will have an entry like:
HKCR\Applications\chapterEditor.exe\shell\open\command

Which will have a commandline like below, which in fact is my installation drive and folder for my programs. Actually just a partition, not a secondary hard disk, so that I could safely reformat the C: and I don't have to reinstall my programs since they are separate in D drive. I always try to use DOS-sized, 8-character folder names.
"D:\MyFolder\software\aud-vid\mod\chapEdit\chapterEditor.exe" "%1"

I can do the same procedure to other EXE's of other programs, like media players and even a portable MKVToolNix GUI's "mkvtoolnix-gui.exe".

Now the default behavior of mkvtoolnix-gui.exe when using the Open With above, is that MKVToolNix GUI will open the MKV file into its default Multiplexer main tab. The only way to immediately open the MKV file into the other main tabs (eg. Info Tool, Header editor, Chapter editor) is via a commandline + CLI options pointing to the filename of the MKV. Without the filename of the MKV in the command line, then it would not work for the other main tabs. Thus my desire to quickly open to other main tabs instead is currently impossible.

When I do this to cE's EXE (chapterEditor.exe), the default behavior is "blank", its just like opening cE as ease. Of course I'm very fine with this current behavior, no need to change it. This is just my story for the "Open With".

Meanwhile a little back in the MKVToolNix thread, I asked there if there is a way to open an MKV in Windows Explorer directly into a desired main tab, for example if I want to immediately open it in Header Editor main tab instead of the default Multiplexer main tab. Perhaps a switch or option that could be put into a shortcut to the EXE or if a batch file is first needed as a bridge which would then be called by the shortcut instead. I was hoping for somehow I could create different shortcuts with different switches/options yet pointing to the same MKVToolNix exe, one for each main tab.

So in my original wishlist post here, I was hoping for a quick way to open the MKV file in Windows Explorer into cE's Matroska Tools main tab for example (my favorite main tab of cE), just like my post in the MKVToolNix thread above. Especially in relation to the plan to upgrade the separate cE CLI and/or the chapterEditor.exe's very own CLI functionality update.

I'm not sure if I understand you. Many SimpleTag's should move in one go into SimpleTag1.1 and all moved SimpleTag's are now Sub-SimpleTag of ST1.1. Can make two screenshots before moving and after?

The SimpleTags from other XML-Indexes I could drag one by one into 1.1, though I was hoping for an easy two-click or right-click context menu function to combine all of them them into 1.1. Somewhat like the context menu of All nodes, where a User can quickly Expand, Collapse, even batch Delete.

Or maybe an ability to highlight as many SimpleTags from other Tags then drag and drop them all into 1.1. I'll try to include screenshots into the 7z. Again this is just one of my wishlist earlier, no need to implement this.

In Matroska Chapters editor you have a hotkey in the TreeView, "P"(default) plays the file. Such a hotkey is then for Tags editor also available.

I just tested this play feature in cE 1.12. When the highlighter is currently at XML-Index 1, then the MKV will play after pressing P. But sometimes when the highlighter is at XML-Index 1.1 or 1.2 or 1.3, when the User presses the P hotkey, there is a chance the User might overlook, that the Edition Entry's Name is replaced by P's instead. Such might happen if the User clicked the Edition Entry or like the Start time areas in the left pane.

There's a blue clapper/play icon at the right of the right pane, I forgot about this (or I overlooked), it's convenient and already favorable.

Anyway if Matroska Tools would indeed have such play functions counterpart like that of Chapter Editors, especially the blue clapper/play icon, then I agree for their addition.

I could also add a new item in Tab-Header-Management popup menu but I think the hotkey is enough. But if you say "I need this", you get it, no problem.

Well I guess I'll have a wish granted then :D After typing, I just thought or realized that somewhat I am a right-click context menu frequenter. I even overlooked that big blue clapper/play icon after all. So thank you in advance. :)

hubblec4
26th January 2019, 00:49
Yes I will download a video from YouTube.....
As far as I know, Matroska COVERs are just plain image attachments renamed to at least cover.jpg.
Many thanks for the samples and screenshots.



I agree, no need to mess with the Registry. Though there is some sort of automatic behavior in Windows 7 (or perhaps all Windows OS'es) using the Open With context menu even for portable programs, that you are most probably aware of, but I might as well tell my story.

.......

So in my original wishlist post here, I was hoping for a quick way to open the MKV file in Windows Explorer into cE's Matroska Tools main tab for example (my favorite main tab of cE), just like my post in the MKVToolNix thread above. Especially in relation to the plan to upgrade the separate cE CLI and/or the chapterEditor.exe's very own CLI functionality update.


You are right, Windows set this registry entry and a para can be used. I know what you mean and the issue is, there is no cli support in cE.
It is on my TODO list.
cE opens the last used editor on start automatically and then should load the selected file from Windows Explorer. Maybe not so complicated and fast implemented.




The SimpleTags from other XML-Indexes I could drag one by one into 1.1, though I was hoping for an easy two-click or right-click context menu function to combine all of them them into 1.1. Somewhat like the context menu of All nodes, where a User can quickly Expand, Collapse, even batch Delete.

Or maybe an ability to highlight as many SimpleTags from other Tags then drag and drop them all into 1.1. I'll try to include screenshots into the 7z. Again this is just one of my wishlist earlier, no need to implement this.
After I've looked at the pictures, it's clear what you mean. And additionally after moving SimpleTag's you have to delete the other Tag nodes(right?).
To move multiple nodes at once I have to implement multi-selecting and this was not so easy for Tab-Management but for Matroska Tags it would make to much work.
My first thought is, to have an option at the Tag and/or Tags level(at the moment exists no settings/option/elements - blank tab) to move all SimpleTag to the first Tag and delete the other Tag's.
It is a good suggestion and I have added to my TODO list.



I just tested this play feature in cE 1.12. When the highlighter is currently at XML-Index 1, then the MKV will play after pressing P. But sometimes when the highlighter is at XML-Index 1.1 or 1.2 or 1.3, when the User presses the P hotkey, there is a chance the User might overlook, that the Edition Entry's Name is replaced by P's instead. Such might happen if the User clicked the Edition Entry or like the Start time areas in the left pane.

There's a blue clapper/play icon at the right of the right pane, I forgot about this (or I overlooked), it's convenient and already favorable.

Anyway if Matroska Tools would indeed have such play functions counterpart like that of Chapter Editors, especially the blue clapper/play icon, then I agree for their addition.


Well I guess I'll have a wish granted then :D After typing, I just thought or realized that somewhat I am a right-click context menu frequenter. I even overlooked that big blue clapper/play icon after all. So thank you in advance. :)

The hotkey for the TreeView works only when the Treeview has the focus, this means the selected/highlighted node is blue (gray if the Treeview has not the focus).
A user request was to select input fields after selecting a node, and I guess in your settings(cE-GUI) is this option activated. When you select a chapter the chapter name edit field gets the focus or the start time edit field if no chapter is present. You can deactivate this feature or use ESCAPE hotkey in the name edit field to set the focus back to the Treeview.

Play-File button comes very soon and a new popup menu item.

hubblec4
27th January 2019, 03:00
chapterEditor(cE) rev1.13 is available.
Windows (https://forum.videohelp.com/attachments/47920-1548554185/cE-W(1.13).7z)
Linux (https://forum.videohelp.com/attachments/47921-1548554185/cE-L(1.13).7z)



An important change has been added for uploading chapters.
Users had uploaded chapters multiple times as there were bugs in the chapter names
or other settings were not set correctly.
You can always edit your own uploaded chapters/titles! In the main menu there is an item: Edit chapters.
A warning is displayed if the same title name is used during the upload.
Of course there are the same titles on different discs and it is still possible to upload duplicate titles.


The Matroska Tags Editor had two bugs and there are some improvements.

Action range: this is now available for all SimpleTag values (previously only for the language).
Furthermore, the Action range can be applied to all tabs, even if the option "disabled" is selected.
Other tabs only change values of the same type if possible.
For example, the XML index must match/be present.



Change chapterEditor

added &
fixed *
improved #
changed %


rev1.13 2019-01-27
// chapterEditor -> Tab-Header popup menu
& new item: play/open file
- only for Matroska Chapters and Tags
- Play Matroska files or open XML files


// Chapter Database
& before the upload is checked if the title(name) already exists
- Titles that already exist should be edited
- You can still upload several titles of the same name (differences like FPS or disc type)
- a warning is displayed with the option to switch to "Edit" or still upload


// Matroska Chapters editor
# Play-File button: XML files are now also opened


// Matroska Tags editor
& Play-File button for Matroska files and open XML files
- Hotkey in TreeView init "P" (Settings)

* If a group separator is selected in the Combobox TagName, the tag editor was not working properly

* it was possible to change the value String-or-Binary for official Tag names, which leads to incorrect xml files

# Action range: now for all SimpleTag values - previously only for the language
- applicable to all tabs

# Help texts adapted for the file bar buttons - Append files and folders

% "Change languages for other SimpleTag's too" changed to Action range

hubblec4
1st February 2019, 01:54
Hi Wakaku

Here is the first test version of cE (https://forum.videohelp.com/attachments/47951-1548980173/cE.7z).

The first new feature from your wish list is point 3.(Consolidate). It was really easy to implement it and additional I have added an Action range to the "Tags", so you can consolidate multiple tabs and Tags.
The Action range is very simple, "All Tags" is the only one option.

Also the Targets has now an Action range, almost identical to the SimpleTag Action range.
And some bugs are fixed.


// Matroska Tags
& Action range for all Targets values
- applicable to all tabs
- also for target-UIDs (add, edit, delete, clear)

& Action range for Tags
- for now only one option: All Tags
- applicable to all tabs

& Consolidate all SimpleTag in the first Tag
- Tag count, limits the number of used Tag's, "0" means all Tag's

* TagUID type was initiated incorrectly
- if the type was not changed, TagTrackUID was always used

* In very rare cases cE crashed at the tab change

* The settings for an XML element were not loaded after pasting a copied/cut element into another tab/treeview

# Change the value for TargetTypeValue: in the editor and in the settings
- the value for TargetType is no longer changed if "are not using" is selected

% rearranged a few components


Have fun while testing.

Wakaku
2nd February 2019, 06:11
I have just finished downloading now. Very excited, I'll be searching for my MKV's which may have scattered XML tags inside, thus it may take quite a long while. Thank you.

UPDATE:
Here are my remarks/test results so far: MYTEST1.7Z (https://sites.google.com/site/dp79lakas/home/allpurpose/mytest1.7z?attredirects=0&d=1)

hubblec4
7th February 2019, 01:22
Hi Wakaku

I didn't checked that you uploaded your test result. Sorry for delay and many thanks for this test.

When cE crashes and a Windows message appear("Acess violation." (Press OK to ignore and risk data corruption)), you should close cE.
Many of the issues which you describe comes from data corruption. Not all processes in cE are handled with an exception handler.


I might as well tell that, I think I also encountered this "Access
violation" abort message quite a few times ago when cE first had its
Tab Management enhancements introduced. But I can't reproduce such
earlier experience of mine. All I can remember is it most likely
manifests when I'm working with many tabs opened at once, for example
10-20 tabs or even more.


This was an issue which I have fixed.
* In very rare cases cE crashed at the tab change
The issue was a re-select of the selected node to load the element settings.

I will fix fast as possible the Consolidate-issue.

hubblec4
7th February 2019, 01:41
The node structure was not re-build in the other TreeViews, that was the issue.

Here is a new test rev of cE (https://forum.videohelp.com/attachments/47988-1549499970/cE.7z).

hubblec4
7th February 2019, 15:11
I had added a hotkey in the VST to consolidate SimpleTag, init SHIFT + C. Adjustable in the settings.

Wakaku
9th February 2019, 18:57
Just downloaded now, may take quite a long time again to test. I'll update this post after I'm done. ;) Anyway, we're at 5th day after my mom's very first cataract surgery on one eye only for now. We most likely delay the second operation for the other eye, for perhaps more than one month from now as she didn't like the "pain" which she's still suffering up to this day.

UPDATE Feb. 11, 2019
So far so good. After repeated usage, I never encountered any abort, error or issue yet (single or simultaneous multiple files loaded). Consolidation works as intended and files can be saved. In fact I already used it to my actual MKV collection instead of those dummy MKV's. I will just keep using it. :)

hubblec4
11th February 2019, 14:16
Thanks again for your tests. Nice to read that it works.

Wakaku
16th February 2019, 16:38
Just an issue about normal windowed mode and maximized. I tested on both rev1.13 and rev1.14 Test 2.

Open cE, drag the edges of the window to a size and postion to the User's liking. For example a square box at the right part of the desktop area.
Click Maximize.
Close cE while still maximized.
Re-open cE. The window size will now become as big as a "maximized" window instead of the previous normal window size which we set in step 1.

But if we first un-maximize the window before exiting, then cE will remember the normal window size we set in step 1.

Again, I'm using Windows 7 SP1 64-bit.

hubblec4
16th February 2019, 19:11
When you close cE the form height and width and position is stored to the ini-file. I know that is maybe not the best way because after re-open cE it is a maximized window and you have to resize and re-position cE on the desktop.

Me self never use the maximized window size, but I know what you mean and I will try to fix it.

hubblec4
18th February 2019, 23:58
Hi Wakaku

Here is a new test version of cE (https://forum.videohelp.com/attachments/48132-1550530363/cE.7z).

I have fixed the cE's maximized-window issue, but it is more a workaround as then a total fix. I hope it is OK how it works.

Matroska Tags Profiles are almost ready and you can test it.

Like I wrote there is no extra profile mask, each tab itself is the mask and can be added as a new profile.
The Tags profiles are Matroska XML files which stored in a predefined folder. In this folder is a simple text file with all xml file names. This text file is needed for the order of the profiles, called "__MatroskaTagsProfiles.txt".
You have the possibility to add your own xml files to this folder and cE will add the new xml files/profiles while activate the Tags-Profile feature. You can also delete the files and cE deletes then the names from the profile.txt file later.

The path to the folder can be changed in the settings.
I have added a new folder with sub-folders in cE's Data folder as default Tags profiles folder.
Copy the Matroska folder from the cE.zip into cE's Data folder. (Make before a copy of your existing cE folder)

The profile name is also the file name and must be unique.

An action range is also available to apply or append a profile to all tabs.
Apply: Only the profile data will be applied to the Tags.
Append: The profile is added as new Tags


Have fun and let me know what you think or miss?

Wakaku
19th February 2019, 07:42
Downloaded now. Will take some time to test as I am everyday always exhausted of taking care of the house, my Mom, and everything, which will be our lifelong scenario from now on. Anyway, the profile feature is already exciting :cool:. I will just update this post in the future as in the previous ones.

PS. I might as well tell that I just copied my existing stable cE installation (along with all its contents like the config) to a different folder (a duplicate), then I just overwrite with the test version EXE into the duplicate folder, so that I could just easily rename the stable and test folders whenever I want to use the existing shortcuts (*.lnk) I created in the Start Menu for example. So thank goodness for cE's portability.

UPDATE Feb. 19, 2019:

So far so good, no errors or issues. Profiles can be saved and reloaded, APPLY and APPEND, and All Tabs checkbox, single or multiple tabs loaded, work as expected.

The workaround for the "maximize" issue is good enough for me. Though I notice that it is indeed a little "different" in behavior compared to the usual Windows applications. If you are indeed going to tweak it, then I think it is enough to be placed at the low priority section of the TODO list.

UPDATE Feb. 19, 2019 #2:

Is there a way for the Apply profile to NOT overwrite the existing TagString texts (just the TargetTypeValue, TargetType, and TagName)?

hubblec4
19th February 2019, 18:09
UPDATE Feb. 19, 2019:

So far so good, no errors or issues. Profiles can be saved and reloaded, APPLY and APPEND, and All Tabs checkbox, single or multiple tabs loaded, work as expected.

Thanks for this quick test. (but I found a small issue)


The workaround for the "maximize" issue is good enough for me. Though I notice that it is indeed a little "different" in behavior compared to the usual Windows applications. If you are indeed going to tweak it, then I think it is enough to be placed at the low priority section of the TODO list.
OK, and it is not delete from my TODO list. I think I have to change the storage behavior of the form values.



UPDATE Feb. 19, 2019 #2:

Is there a way for the Apply profile to NOT overwrite the existing TagString texts (just the TargetTypeValue, TargetType, and TagName)?

Indeed it makes no sense to change an existing TagString text when the profile value text is empty.
I have fixed this and the text is now changed only if is not empty.
But all other values will be used. If this is OK then fine, but I understand you, to use not all values. Maybe I could add an option where you can select the values which have to used.

Here is a new test rev of cE (https://forum.videohelp.com/attachments/48138-1550596112/cE.7z) exe only.

Wakaku
21st February 2019, 07:19
Still so far so good. Thanks for the change in behavior of the Profile's Apply function to NOT overwrite if the TagString already has an existing text.

Maybe I could add an option where you can select the values which have to used.

Yes, this would be great and makes the editor even more powerful if you are indeed going to implement such ability in the future. Though for now I am already happy for the currently updated behavior. :)

I just have a simple request perhaps for the next test version. It's for ease-of-use and ease for the eyes. :D

DOWNLOAD: my-request-01.7z (https://sites.google.com/site/dp79lakas/home/allpurpose/my-request-01.7z?attredirects=0&d=1)

hubblec4
21st February 2019, 15:12
Thanks for the change in behavior of the Profile's Apply function to NOT overwrite if the TagString already has an existing text.
That is not correct, the TagString text will be ever override if the profile text value is not empty.



Yes, this would be great and makes the editor even more powerful if you are indeed going to implement such ability in the future. Though for now I am already happy for the currently updated behavior. :)
I have started to implement this feature. My idea is a simple popup menu where you can select the values you like to change/not change.



I just have a simple request perhaps for the next test version. It's for ease-of-use and ease for the eyes. :D


Yes that makes also sense to display the TargetTypeValue in the Treeview.
The XML-Element column can be hide and therefore I prefer the TargetType/TagName column.
For example: ALBUM (50)

Wakaku
21st February 2019, 16:43
I have started to implement this feature. My idea is a simple popup menu where you can select the values you like to change/not change.

That's superb then, quick and easy to use.

Yes that makes also sense to display the TargetTypeValue in the Treeview.

Thank you for considering.

The XML-Element column can be hide and therefore I prefer the TargetType/TagName column. For example: ALBUM (50)

The TargetType/TagName column is good for me as well.

And, still so far so good testing and using here. Thanks again.

hubblec4
28th February 2019, 00:48
Hi Wakaku

Here is the next test rev of cE (https://forum.videohelp.com/attachments/48228-1551310281/cE.7z).

The TargetTypeValue is now shown in the Treeview.
An option to select specific Tag values to apply a Tags profile is available. Right click on the Apply button.
All options are set to true expect the target UIDs. If you need another initialization to avoid superfluous mouse clicks, then let me know.

Wakaku
28th February 2019, 12:43
Here is my test/remarks about saving and re-opening profiles. Thanks.

my-test-about-profile-01.7z (https://sites.google.com/site/dp79lakas/home/allpurpose/my-test-about-profile-01.7z?attredirects=0&d=1)

hubblec4
28th February 2019, 14:05
Thanks for testing.

Matroska specs says that a SimpleTag element is mandatory. In my old cE Tags editor was it not possible to delete the last existing SimpleTag(you could delete instead the entire Tag).
A Tag without a SimpleTag is not allowed and maybe mkvmerge can't read such xml files.
Should I add this old behavior?

Wakaku
28th February 2019, 16:40
Firstly, thank you for implementing the co-occuring display of the TargetTypeValue numbers in both the right pane and the tree view.pane. I missed to do so in my post earlier above and you beat me to it :)
Matroska specs says that a SimpleTag element is mandatory. In my old cE Tags editor was it not possible to delete the last existing SimpleTag(you could delete instead the entire Tag). A Tag without a SimpleTag is not allowed and maybe mkvmerge can't read such xml files. Should I add this old behavior?
For my reply, I most probably need to make screenshots to explain better :D I'll update this post with a 7-Zip archive as usual.

UPDATE Mar. 1, 2019:
my-reply-01.7z (https://sites.google.com/site/dp79lakas/home/allpurpose/my-reply-01.7z?attredirects=0&d=1)

hubblec4
1st March 2019, 01:15
When you add a new profile, the current tab is saved as xml-file to the profiles folder. But the Tags data class is copied to the profile list and so is it possible to use it like you do.
But cE can't save xml-files without a SimpleTag element and MKVToolNix can't read such files.
It is easier to work in cE when is possible to remove/move all SimpleTag elements but cE skips all Tag elements which have no SimpleTag, to make sure the saved xml file corresponds to the Matroska specs (and XML specs, only one root node).

Don't delete the last SimpleTag, add as new profile, and when you Apply it to another tab, then disable before the SimpleTag value option in the new "Use Tag values" feature. Right click on the Apply button.

Wakaku
1st March 2019, 08:17
Yeah, I forgot about the additional right-click option for the Apply button. I do know about it beforehand because I read about it in your earlier post where you put the link for the latest test version too. In fact I even tried to right-click it before and I saw the default checked checkboxes. And so, I now re-created my desired profile similar to the one I have in my 7Z above, I ticked/unticked the checkboxes and left behind an empty SimpleTag for every Target as you have hinted, and then I had some quite interesting results, or perhaps even say somewhat irregular results. I can't explain really, I'll just keep playing with it. Thanks for this!

And maybe it is just me, since a little far back I overlooked the yellow fave button and the blue clapper play button after all. Though the other Users might overlook the hidden right-click options in the Apply button too themselves, even though such is already declared in writing (such as in this thread, perhaps in the upcoming change_xxx.txt too) and of course the hint at the status bar. Is the Apply button so far the only button which have a hidden right-click option in cE? I think it's the first ever in cE.

It's quite uncommon for programs to have extra options by right-clicking the buttons. One app I know that uses such functionality almost in every of its buttons is the LightAlloy (https://www.videohelp.com/software/Light-Alloy) media player. So perhaps a future, simple update to the green icon of the Apply button? Perhaps a small, top-view mouse icon placed at the top-right of the current Apply icon (with the mouse's right button colored differently, say if the mouse icon is grayish then the right button is reddish, or maybe just a small, simple down arrow).

Speaking of icons, I remember very far back (I think I used the very first released version of cE before the major GUI overhaul) that cE was (still is) one of the most icon-heavy apps I use. Back then I also used Opera (of defunct Presto engine) as long as I could after it got abandoned, and then Firefox which both used colorful icons in their older versions. Love the icons BTW. ;)

hubblec4
1st March 2019, 15:00
...and then I had some quite interesting results, or perhaps even say somewhat irregular results. I can't explain really, I'll just keep playing with it....
In my short tests was all fine, but you are the better tester then me.


Though the other Users might overlook the hidden right-click options in the Apply button too themselves, even though such is already declared in writing (such as in this thread, perhaps in the upcoming change_xxx.txt too) and of course the hint at the status bar. Is the Apply button so far the only button which have a hidden right-click option in cE? I think it's the first ever in cE.
Yes it is the first button with a right-click option list (it is not a popup menu). In cE exists many buttons with a right-/middle click function
and many other components with a right click popup menu(Treeview's, Page control etc.). Do you think an extra button would be better?



It's quite uncommon for programs to have extra options by right-clicking the buttons. One app I know that uses such functionality almost in every of its buttons is the LightAlloy (https://www.videohelp.com/software/Light-Alloy) media player. So perhaps a future, simple update to the green icon of the Apply button? Perhaps a small, top-view mouse icon placed at the top-right of the current Apply icon (with the mouse's right button colored differently, say if the mouse icon is grayish then the right button is reddish, or maybe just a small, simple down arrow).
I'm not an expert to manipulate icons and a button can have one icon only. Maybe is a "small star" placed to button caption enough to signal for an extra option. Button: Apply*


Speaking of icons, I remember very far back (I think I used the very first released version of cE before the major GUI overhaul) that cE was (still is) one of the most icon-heavy apps I use. Back then I also used Opera (of defunct Presto engine) as long as I could after it got abandoned, and then Firefox which both used colorful icons in their older versions. Love the icons BTW. ;)
I also like colored icon buttons, it is easier for the people brains to remember a color then a text-string. But not every body like this.

Wakaku
1st March 2019, 17:23
Do you think an extra button would be better?

Maybe is a "small star" placed to button caption enough to signal for an extra option. Button: Apply*

An extra button would serve the purpose, but perhaps a more appropriate one could be potentially available. For example, in Windows 7's Windows Explorer itself, there are single buttons which can contain both the text label and a small black down arrow/triangle (perhaps implying a drop-down menu).

Open Windows Explorer. Left-click the C drive at the left navigation pane (tree view). Below the address bar is the File Menu bar, then another bar (which is not existent in Windows XP's own Windows Explorer). At the far, rightmost, it should now contain the Change View icon (but no text label, just the icon) which apparently has dual functionality.

Left-clicking the icon will toggle the File pane (the right pane) view from say Extra large icons, to Large icons, to Details, etc. When the mouse hovers to this part of the icon, the ToolTip is "Change your view."

Now the right part of this same button is the small black down arrow/triangle. When the mouse is hovered, the ToolTip is "More options". Left-clicking it will open up a slider.

This button is apparently a single unit but have dual functionality (though NOT a right-click one which we have in cE's Apply). The User will never mistook the button as a one-function button because of its accompanying small black down arrow/triangle.

Maybe there is a close counterpart in Lazarus, especially in the newer/latest versions? Though an entirely different thing, I remember combo boxes (well, correct me if I'm wrong here), which is a single unit or say object that have both an input field and a drop-down menu.

And speaking of ToolTip... why does cE not have such in it? The ToolTip could potentially also inform the User about the hidden right-click list. Does Lazarus support the putting of ToolTips? Well, part of me says, it is just not yet implemented for now. :D

Anyway, I think your idea of Apply* would be enough for now. Quick and easy to implement. Yeah, the asterisk sign (*) is a safe choice for now because it is found in all keyboards after all. I bet the asterisk sign would make the other Users curious about the button.

Dimsok
1st March 2019, 19:06
Command line version doesn't work with database? I try to use the same account, which work with gui, but it says password or account is wrong.

Can you add support chapters in mp4 file with help of gpac (mp4box)?