Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > New and alternative a/v containers

Reply
 
Thread Tools Search this Thread Display Modes
Old 6th January 2021, 16:57   #621  |  Link
yeopot
Registered User
 
Join Date: Dec 2020
Posts: 4
Quote:
Originally Posted by hubblec4 View Post
Is there a special reason why cE should open source?

cE code has many "test code" where I try to learn coding and so the code is not clean.
I guess it is a pain to read this code for a good programmer :-)
Good thing I'm a bad programmer then

Main reason for me is for learning purposes. I really like how the program works and I'm interested to learn how it utilizes all these specialized tools under the hood to automate many manual tasks easier having both an easy to use CLI and GUI that work quite well. It's an unique program and I actually haven't come across any equivalent open source chapter editing program with as much versatility and usefulness as yours.

Of course I think open source software has many benefits too like it's easier to trust than closed source software, program and code longevity, easier for others to find bugs, contribute code and more.
yeopot is offline   Reply With Quote
Old 7th January 2021, 15:51   #622  |  Link
Masutin
Registered User
 
Join Date: Oct 2009
Posts: 42
seehazy, the numbering of titles can be done in a text editor or similar environment with the support of regular expressions (regex, patterns that can represent one or many characters) of a specific kind, POSIX syntax they might be called. I use TextPad version 5, later versions support another type of regex.
Find: e=
Replace with: E=\i.
Masutin is offline   Reply With Quote
Old 8th January 2021, 21:25   #623  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,377
Quote:
Originally Posted by yeopot View Post
Good thing I'm a bad programmer then

Main reason for me is for learning purposes.
I had also no knowledge about programming, but with Lazarus it was very easy to learn.
I'm sure there are other easy to learn languages but for me is it important to have no dependencies like .net or java or python or restrictions to an OS.

Quote:
Originally Posted by yeopot View Post
Of course I think open source software has many benefits too like it's easier to trust than closed source software, program and code longevity, easier for others to find bugs, contribute code and more.
I agree with you.

Apart from the fact that the cE code is not very nice and contains a lot of German comments,
a database password is also hidden in the code.
I wouldn't want to make this password public.
hubblec4 is offline   Reply With Quote
Old 9th January 2021, 02:34   #624  |  Link
yeopot
Registered User
 
Join Date: Dec 2020
Posts: 4
Quote:
Originally Posted by hubblec4 View Post
I agree with you.

Apart from the fact that the cE code is not very nice and contains a lot of German comments,
a database password is also hidden in the code.
I wouldn't want to make this password public.
Why not just remove the password when publishing source code? Also, some open source software I know which use passwords just use a local config file or environment variable to store the password and read from that instead so that may be a better method.

Last edited by yeopot; 9th January 2021 at 02:37.
yeopot is offline   Reply With Quote
Old 13th January 2021, 22:22   #625  |  Link
Masutin
Registered User
 
Join Date: Oct 2009
Posts: 42
The source file required an extention, in my case, txt. You might want to mention this in the help or add an error message for this.
Anyone on Windows might find this pattern useful.
Code:
@echo off
set f=[Path\]name.txt
set in=23.976
set out=25
set path=
for %%f in ("%f%") do %Path%chapterEditorCLI -f %in% %out% %%f

Last edited by Masutin; 13th January 2021 at 22:41.
Masutin is offline   Reply With Quote
Old 14th January 2021, 21:07   #626  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,377
Hi Masutin
Quote:
Originally Posted by Masutin View Post
The source file required an extention, in my case, txt. You might want to mention this in the help or add an error message for this.
cECLI is very old, and I developed it under Windows 7 and there is always an extension for the files(I thought).
In the first post all examples with files uses an extension for the input files.

But now I know on Linux is an extension not always present.
hubblec4 is offline   Reply With Quote
Old 24th February 2021, 22:51   #627  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,377
chapterEditor(cE) rev1.27 is available.
Windows
Linux


It continues with a new version of the cE.
I was able to complete 2 user requests and there is a small improvement for the chapter database.

When uploading the Star Trek Voyager series it was annoying that the title check had to be confirmed continuously,
because the title is always the same.

Code:
Change chapterEditor

added    &
fixed    *
improved #
changed  %


rev1.27 2021-02-24
// chapterEditor
& Deletion of chapters with identical time stamps (not for the Converter)
  - adjustable time tolerance (settings -> chapter editors)
  - Time tolerance = 0: only chapters with identical times are deleted
  - Time tolerance > 0: the following chapters are deleted
  - Time tolerance < 0: the previous chapters are deleted
  - Matroska: applicable to one or all editions
  - applicable to all tabs at once


// Chapter naming
& keep existing chapter names
  - an existing chapter name can be expanded with a chapter number

* the name list did not work for multiAVCHD editor


// Chapter database
# Upload: When checking the title name (whether it already exists) the episode text is also checked
  - simplifies the uploading of a series
hubblec4 is offline   Reply With Quote
Old 30th April 2021, 11:55   #628  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,563
I need to anticipate chapter timings by a specific amount of frames, as I cut very long sponsor video from a movie.

Could you please add a chapter frame manipulation feature? I could divide the frames by the fps but... you know
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 1st May 2021, 12:42   #629  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,377
Could you explain a bit more what you need?
Sorry but I don't understand what you mean with "chapter frame manipulation".
To cut chapters there is the Cut-Feature with some options.
hubblec4 is offline   Reply With Quote
Old 2nd May 2021, 22:25   #630  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,377
update rev 1.28

chapterEditor(cE) rev1.28 is available.
Windows
Linux

A new small update with a bug fix for the Matroska menu editor
and a new feature for chapter naming for Matroska.

Chapter naming: "New Display"

The chapter name and/or the name list as well as the languages and countries are taken into account.
The function is available for the following buttons: Change name and Exit, Change name, Change all and Exit


There are two variants
1. Checkbox fully checked
A new chapter display is always inserted

2. Gray state checkbox
If the name list is used and the existing chapter name in the current chapter
is identical to the name in the list, no new Display is inserted.
However, all new language and country codes will be added.


Code:
Change chapterEditor

added    &
fixed    *
improved #
changed  %


rev1.28 2021-05-02
// Chapter naming
& New Display (only for Matroska)
  - a new chapter display is inserted
  - the name list can be used
  - Languages and countries are also taken into account
  - Right-click for the checkbox as a "backward"-click
  - Checkbox gray state: If names from the name list match the chapter name,
    no new Display is inserted. Only new language and country codes are added

% All chapter names change regardless of their language
  - The names from the list are now used for all chapter names (if available)

% Radio buttons removed - Name first and Name last
  - a new checkbox - Name first


// Matroska menu
* "Medium-Linking Simple" stopped working and cE crashed
hubblec4 is offline   Reply With Quote
Old 3rd May 2021, 06:31   #631  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,563
Quote:
Originally Posted by hubblec4 View Post
Could you explain a bit more what you need?
Sorry but I don't understand what you mean with "chapter frame manipulation".
To cut chapters there is the Cut-Feature with some options.

I have cut the video of a few frames. I’d like to change the chapter line timings of the same amount without having to convert frames to time manually.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 3rd May 2021, 12:26   #632  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,377
OK, I think I understand.
But cE can't know what the FPS is of your video.

The Cut-feature works with times only for the moment.
OK, there is already a FPS section, but you have to set the correct FPS.
Maybe I could add this feature, when I combine the FPS section with the Cut-feature. But you have to set the source and target FPS to the same value manually.

Last edited by hubblec4; 3rd May 2021 at 12:33.
hubblec4 is offline   Reply With Quote
Old 3rd May 2021, 12:37   #633  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,563
Quote:
Originally Posted by hubblec4 View Post
Maybe I could add this feature, when I combine the FPS section with the Cut-feature. But you have to set the source and target FPS to the same value manually.
Of course I would set the correct FPS
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 3rd May 2021, 14:31   #634  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,377
Or maybe I add a new source FPS Combobox to the Cut section. I will think about it, and have added to the TODO list.
hubblec4 is offline   Reply With Quote
Old 6th May 2021, 23:26   #635  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,377
Frames as input for the Time edit section

Hi tormento

Here is a test version of cE for your feature request.


I decided to keep it simple so as not to have to add new components.
You have to use the Source-FPS from the FPS-Section. Source and Target FPS should be the same (but do not have to be).

Simple add an f at the end -> 123f (or -123f for the Move function).

You should set the FPS before you enter the frame number, otherwise
you have to change the input in the edit fields to re-calculate the new move or cut time(s).

Last edited by hubblec4; 8th May 2021 at 12:31.
hubblec4 is offline   Reply With Quote
Old 8th May 2021, 09:33   #636  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,563
Quote:
Originally Posted by hubblec4 View Post
Here is a test version of cE for your feature request.
Thanks, it works!

However, it changed the chapter numbers, i.e.

Original:

CHAPTER01=00:00:00.000
CHAPTER01NAME=

CHAPTER02=00:07:47.342
CHAPTER02NAME=
CHAPTER03=00:12:19.280
CHAPTER03NAME=
CHAPTER04=00:20:07.415
CHAPTER04NAME=
CHAPTER05=00:26:19.203
CHAPTER05NAME=
CHAPTER06=00:32:07.801
CHAPTER06NAME=
CHAPTER07=00:37:00.635
CHAPTER07NAME=
CHAPTER08=00:45:58.547
CHAPTER08NAME=
CHAPTER09=00:53:51.061
CHAPTER09NAME=
CHAPTER10=01:00:25.413
CHAPTER10NAME=
CHAPTER11=01:08:05.665
CHAPTER11NAME=
CHAPTER12=01:13:59.602
CHAPTER12NAME=
CHAPTER13=01:19:39.024
CHAPTER13NAME=
CHAPTER14=01:23:12.779
CHAPTER14NAME=
CHAPTER15=01:28:49.032
CHAPTER15NAME=


Modified:

CHAPTER00=00:00:00.000
CHAPTER00NAME=

CHAPTER01=00:06:52.954
CHAPTER01NAME=
CHAPTER02=00:11:24.892
CHAPTER02NAME=
CHAPTER03=00:19:13.027
CHAPTER03NAME=
CHAPTER04=00:25:24.815
CHAPTER04NAME=
CHAPTER05=00:31:13.413
CHAPTER05NAME=
CHAPTER06=00:36:06.247
CHAPTER06NAME=
CHAPTER07=00:45:04.159
CHAPTER07NAME=
CHAPTER08=00:52:56.673
CHAPTER08NAME=
CHAPTER09=00:59:31.025
CHAPTER09NAME=
CHAPTER10=01:07:11.277
CHAPTER10NAME=
CHAPTER11=01:13:05.214
CHAPTER11NAME=
CHAPTER12=01:18:44.636
CHAPTER12NAME=
CHAPTER13=01:22:18.391
CHAPTER13NAME=
CHAPTER14=01:27:54.644
CHAPTER14NAME=
__________________
@turment on Telegram

Last edited by tormento; 8th May 2021 at 09:36.
tormento is offline   Reply With Quote
Old 8th May 2021, 12:37   #637  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,377
Quote:
Originally Posted by tormento View Post
However, it changed the chapter numbers, i.e.
Yes. The OGM specs says the chapter number starts with 0.

Please check the OGM settings,
there is a checkbox: chapter number starts at 1
hubblec4 is offline   Reply With Quote
Old 12th May 2021, 00:04   #638  |  Link
darksen
Registered User
 
Join Date: Apr 2019
Posts: 64
Is there any way to change the background color? It hurts my eyes when I change windows to cE and see all the white in there. I've been looking for it but we can only change the bar colors right?
darksen is offline   Reply With Quote
Old 12th May 2021, 15:22   #639  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,377
Hi darksen

I guess you use a dark mode (Windows) and some of the components should also be black.

I'm not sure if there is a global background color for the entire cE is possible.
The XBar colors can be changed because I use a simple panel with speed buttons. But some other components are controlled by the OS.

In my Windows 7 classic view is the "background" gray and the Treeviews and other lists are white.

Could you make a screen shot and show me which section should be dark?
hubblec4 is offline   Reply With Quote
Old 13th May 2021, 23:03   #640  |  Link
darksen
Registered User
 
Join Date: Apr 2019
Posts: 64
Hey, yes, I use the dark theme in Windows and in all the apps I can. I think that these two parts (and in reality all the white parts) should be darker:

https://i.imgur.com/FPadhU2.png

I'm not talking about necessarily black but a less brighter color than plain white. It is more noticeable when you use a big screen to work (I use a 40" TV as monitor), for example, changing from this window:

https://i.imgur.com/XqYhcIe.png

To chapterEditor disturbs the eyes. So having them in grey or a darkish grey color would be fantastic.


EDIT: Also, could you please expand a little on this:

Quote:
Checkbox gray state: If names from the name list match the chapter name,
no new Display is inserted. Only new language and country codes are added
When a box is in grey? I'm asking because there are two states when I check the box, the first is that it's checked with a square and the other is a check but in none of them the box is in grey.
Thank you.

Last edited by darksen; 13th May 2021 at 23:08.
darksen is offline   Reply With Quote
Reply

Tags
bluray backup, chapter editor, dvd2mkv, matroska menu, metadata, multi-edition-mkv, xml tag

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:21.


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