Add automatically correct "name" field
Posted: Fri Jan 21, 2022 11:25 am
Since I want to process ISOs to MKVs more automatically I would like to search for a way that could automate some of the things.
What I do is:
DB to ISO
ISO to MKV
MKV to clean MKV
Depending on what the source is I start at step 2 or even 3. But at the end I want a clean, sorted good named MKV.
For step 1 & 2 I use MakeMKV, for step 3 I use MKVToolNix.
Lets focus on step 1 & 2 here, sicne the other programm is offtopic.
What I really would appreciate is a way to automatically add titles, or names to the different tracks.
For example:
I would like to set the name attribute for "Audio" and "Subtitles" according to that patterns:
AUDIO:
This would result in names like this:
or
CODEC:
DTS:
Subtitles:
This would result in names like this:
Also MakeMKV does add names, but just very sloppy names like "Surround 5.1" which really is not sayin much.
What I do is:
DB to ISO
ISO to MKV
MKV to clean MKV
Depending on what the source is I start at step 2 or even 3. But at the end I want a clean, sorted good named MKV.
For step 1 & 2 I use MakeMKV, for step 3 I use MKVToolNix.
Lets focus on step 1 & 2 here, sicne the other programm is offtopic.
What I really would appreciate is a way to automatically add titles, or names to the different tracks.
For example:
I would like to set the name attribute for "Audio" and "Subtitles" according to that patterns:
AUDIO:
Code: Select all
CODEC CHANNELS (if BITS != "16")BITS(end if) @QUALITY
orDTS-HD MA 2.0 24bits @1919 kbps
orDTS 5.1 24bits @1512 kbps
(if 16 bits)DTS 5.1 @1512 kbps
or
Possible cases (at least what I would need, feel free to add more) would be:TrueHD Atmos 7.1 24bits @4756 kbps
CODEC:
DTS:
- Aurora / Auro-3D
- DTS-HD MA
- DTS-HD HRA
- DTS-ES
- DTS
- TrueHD
- TrueHD Atmos
- AC3 EX
- AC3
- FLAC
- ALAC
- PCM
- LPCM
- ACM
- AAC
- MP3
- OGG
- OPUS
- 1.0
- 2.0
- 2.1
- 4.0
- 4.1
- 5.0
- 5.1
- 6.1
- 7.1
- 13.1
- 8
- 16
- 24
- 32
- KILOBIT_RATE + "kbps"
Subtitles:
Code: Select all
EDITION (FORMAT) ADDITIONAL
orFull (SRT)
orForced (PGS)
orFull SDH (VOB)
EDITION:Full (SRT) Commentary
- Full
- Forced
- Full SDH
- SRT
- PGS
- VOB
- SSA
- VTT
- Commentary
Also MakeMKV does add names, but just very sloppy names like "Surround 5.1" which really is not sayin much.