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 5th October 2024, 18:02   #2101  |  Link
AngelGraves13
Registered User
 
Join Date: Dec 2010
Posts: 276
Quote:
Originally Posted by Mosu View Post
No to the hex editor. You can already script all the CLI tools.

As for why it doesn't show up in MediaInfo: maybe ask the MediaInfo devs about the requirements for it to show up. You'll likely have more luck with them.
I don't think it adds the tag correctly through the command you listed, unless I'm editing them wrong.

Quote:
<Tags>
<Tag>
<Targets>
<TrackUID>1</TrackUID>
</Targets>
<Simple>
<Name>SOURCE_ID</Name>
<String>001011</String>
</Simple>
<Simple>
<Name>_STATISTICS_WRITING_APP</Name>
<String>mkvmerge v87.0 ('Black as the Sky') 64-bit</String>
</Simple>
<Simple>
<Name>_STATISTICS_WRITING_DATE_UTC</Name>
<String>2024-10-05 07:22:48</String>
</Simple>
<Simple>
<Name>_STATISTICS_TAGS</Name>
<String>BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID</String>
</Simple>
</Tag>
<Tag>
<Targets>
<TrackUID>2</TrackUID>
</Targets>
<Simple>
<Name>SOURCE_ID</Name>
<String>001011</String>
</Simple>
<Simple>
<Name>_STATISTICS_WRITING_APP</Name>
<String>mkvmerge v87.0 ('Black as the Sky') 64-bit</String>
</Simple>
<Simple>
<Name>_STATISTICS_WRITING_DATE_UTC</Name>
<String>2024-10-05 07:22:48</String>
</Simple>
<Simple>
<Name>_STATISTICS_TAGS</Name>
<String>BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID</String>
</Simple>
</Tag>
<Tag>
<Targets>
<TrackUID>3</TrackUID>
</Targets>
<Simple>
<Name>SOURCE_ID</Name>
<String>001011</String>
</Simple>
<Simple>
<Name>_STATISTICS_WRITING_APP</Name>
<String>mkvmerge v87.0 ('Black as the Sky') 64-bit</String>
</Simple>
<Simple>
<Name>_STATISTICS_WRITING_DATE_UTC</Name>
<String>2024-10-05 07:22:48</String>
</Simple>
<Simple>
<Name>_STATISTICS_TAGS</Name>
<String>BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID</String>
</Simple>
</Tag>
<Tag>
<Targets>
<TrackUID>4</TrackUID>
</Targets>
<Simple>
<Name>SOURCE_ID</Name>
<String>001011</String>
</Simple>
<Simple>
<Name>_STATISTICS_WRITING_APP</Name>
<String>mkvmerge v87.0 ('Black as the Sky') 64-bit</String>
</Simple>
<Simple>
<Name>_STATISTICS_WRITING_DATE_UTC</Name>
<String>2024-10-05 07:22:48</String>
</Simple>
<Simple>
<Name>_STATISTICS_TAGS</Name>
<String>BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID</String>
</Simple>
</Tag>
</Tags>
Got it working...

Quote:
General
Unique ID : 163187889169967218458044509867673994182 (0x7AC4D81F8C31131F77A1B12CBFDD43C6)
Complete name : C:\mkvtoolnix\01.mkv
Format : Matroska
Format version : Version 4
File size : 15.3 GiB
Duration : 53 min 1 s
Overall bit rate mode : Variable
Overall bit rate : 41.4 Mb/s
Frame rate : 23.976 FPS
Movie name : Reacher
Encoded date : 2024-10-05 03:37:39 UTC
Writing application : mkvmerge v87.0 ('Black as the Sky') 64-bit
Writing library : libebml v1.4.5 + libmatroska v1.7.1

Video
ID : 1
ID in the original source medi : 4113 (0x1011)
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : SMPTE ST 2086, HDR10 compatible
Codec ID : V_MPEGH/ISO/HEVC
Duration : 53 min 1 s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Title : HEVC HDR10 2160p 2.00:1
Language : English
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primar : BT.2020
Mastering display luminance : min: 0.0000 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 501 cd/m2
Maximum Frame-Average Light Le : 214 cd/m2
Original source medium : Blu-ray

Audio
ID : 2
ID in the original source medi : 4113 (0x1011)
Format : DTS XLL
Format/Info : Digital Theater Systems
Commercial name : DTS-HD Master Audio
Codec ID : A_DTS
Duration : 53 min 1 s
Bit rate mode : Variable
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 24 bits
Compression mode : Lossless
Title : DTS-HD Master Audio 5.1
Language : English
Default : Yes
Forced : No
Original source medium : Blu-ray

Text #1
ID : 3
ID in the original source medi : 4113 (0x1011)
Format : PGS
Muxing mode : zlib
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Title : English
Language : English
Default : Yes
Forced : No
Original source medium : Blu-ray

Text #2
ID : 4
ID in the original source medi : 4113 (0x1011)
Format : PGS
Muxing mode : zlib
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Title : English SDH
Language : English
Default : No
Forced : No
Original source medium : Blu-ray

Menu
00:00:00.000 : en:Chapter 01
00:00:56.264 : en:Chapter 02
00:10:22.705 : en:Chapter 03
00:18:47.668 : en:Chapter 04
00:27:03.330 : en:Chapter 05
00:36:09.917 : en:Chapter 06
00:45:23.220 : en:Chapter 07
00:50:59.306 : en:Chapter 08
Had to add the UID

Last edited by AngelGraves13; 5th October 2024 at 18:16.
AngelGraves13 is offline   Reply With Quote
Old 5th October 2024, 20:57   #2102  |  Link
AngelGraves13
Registered User
 
Join Date: Dec 2010
Posts: 276
So I'm using JMKVproedit and this tags.xml I made. Made some more edits so they don't all have the same source ID

Quote:
<Tags>
<Tag>
<Targets>
<TrackUID>1</TrackUID>
</Targets>
<Simple>
<Name>SOURCE_ID</Name>
<String>001011</String>
</Simple>
<Simple>
<Name>_STATISTICS_WRITING_APP</Name>
<String>mkvmerge v87.0 ('Black as the Sky') 64-bit</String>
</Simple>
<Simple>
<Name>_STATISTICS_WRITING_DATE_UTC</Name>
<String>2024-10-05 07:22:48</String>
</Simple>
<Simple>
<Name>_STATISTICS_TAGS</Name>
<String>BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID</String>
</Simple>
</Tag>
<Tag>
<Targets>
<TrackUID>2</TrackUID>
</Targets>
<Simple>
<Name>SOURCE_ID</Name>
<String>001010</String>
</Simple>
<Simple>
<Name>_STATISTICS_WRITING_APP</Name>
<String>mkvmerge v87.0 ('Black as the Sky') 64-bit</String>
</Simple>
<Simple>
<Name>_STATISTICS_WRITING_DATE_UTC</Name>
<String>2024-10-05 07:22:48</String>
</Simple>
<Simple>
<Name>_STATISTICS_TAGS</Name>
<String>BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID</String>
</Simple>
</Tag>
<Tag>
<Targets>
<TrackUID>3</TrackUID>
</Targets>
<Simple>
<Name>SOURCE_ID</Name>
<String>0012A0</String>
</Simple>
<Simple>
<Name>_STATISTICS_WRITING_APP</Name>
<String>mkvmerge v87.0 ('Black as the Sky') 64-bit</String>
</Simple>
<Simple>
<Name>_STATISTICS_WRITING_DATE_UTC</Name>
<String>2024-10-05 07:22:48</String>
</Simple>
<Simple>
<Name>_STATISTICS_TAGS</Name>
<String>BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID</String>
</Simple>
</Tag>
<Tag>
<Targets>
<TrackUID>4</TrackUID>
</Targets>
<Simple>
<Name>SOURCE_ID</Name>
<String>0012A1</String>
</Simple>
<Simple>
<Name>_STATISTICS_WRITING_APP</Name>
<String>mkvmerge v87.0 ('Black as the Sky') 64-bit</String>
</Simple>
<Simple>
<Name>_STATISTICS_WRITING_DATE_UTC</Name>
<String>2024-10-05 07:22:48</String>
</Simple>
<Simple>
<Name>_STATISTICS_TAGS</Name>
<String>BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID</String>
</Simple>
</Tag>
<Tag>
<Targets>
<TrackUID>5</TrackUID>
</Targets>
<Simple>
<Name>SOURCE_ID</Name>
<String>0012A2</String>
</Simple>
<Simple>
<Name>_STATISTICS_WRITING_APP</Name>
<String>mkvmerge v87.0 ('Black as the Sky') 64-bit</String>
</Simple>
<Simple>
<Name>_STATISTICS_WRITING_DATE_UTC</Name>
<String>2024-10-05 07:22:48</String>
</Simple>
<Simple>
<Name>_STATISTICS_TAGS</Name>
<String>BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID</String>
</Simple>
</Tag>
<Tag>
<Targets>
<TrackUID>6</TrackUID>
</Targets>
<Simple>
<Name>SOURCE_ID</Name>
<String>0012A3</String>
</Simple>
<Simple>
<Name>_STATISTICS_WRITING_APP</Name>
<String>mkvmerge v87.0 ('Black as the Sky') 64-bit</String>
</Simple>
<Simple>
<Name>_STATISTICS_WRITING_DATE_UTC</Name>
<String>2024-10-05 07:22:48</String>
</Simple>
<Simple>
<Name>_STATISTICS_TAGS</Name>
<String>BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID</String>
</Simple>
</Tag>
<Tag>
<Targets>
<TrackUID>7</TrackUID>
</Targets>
<Simple>
<Name>SOURCE_ID</Name>
<String>0012A4</String>
</Simple>
<Simple>
<Name>_STATISTICS_WRITING_APP</Name>
<String>mkvmerge v87.0 ('Black as the Sky') 64-bit</String>
</Simple>
<Simple>
<Name>_STATISTICS_WRITING_DATE_UTC</Name>
<String>2024-10-05 07:22:48</String>
</Simple>
<Simple>
<Name>_STATISTICS_TAGS</Name>
<String>BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID</String>
</Simple>
</Tag>
</Tags>
AngelGraves13 is offline   Reply With Quote
Old 7th October 2024, 13:30   #2103  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,413
Hi AngelGraves13
For more test you can try my chapterEditor, there is a powerful Tags-Editor on board.
hubblec4 is offline   Reply With Quote
Old 17th October 2024, 21:25   #2104  |  Link
AngelGraves13
Registered User
 
Join Date: Dec 2010
Posts: 276
Quote:
Originally Posted by hubblec4 View Post
Hi AngelGraves13
For more test you can try my chapterEditor, there is a powerful Tags-Editor on board.
It seems that sometimes the tags will glitch because they don't have the duration tag (which would be different for every file and track).

If I run the tagged file through MakeMKV again it will add the durations and the tags will work correctly, but that's a lot of work and some files may have issues with cues if there's tracks from other sources synced up.

I guess if someone made a tool to detect durations and append them to the UID tracks, it would work. I guess I will ask the makers of MakeMKV how to go about doing it.

Right now, I'm using the paid program MKV Tag Editor to tag MKVs with metadata. It's a very good tool, but I often have to tag it twice for the tags to apply.
AngelGraves13 is offline   Reply With Quote
Old 19th October 2024, 14:45   #2105  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,305
MKVToolNix v88.0 released

Hey y'all!

Time for another small update to MKVToolNix, v88. Still not much going on at the moment. But still… enjoy!

Here are the usual links: the MKVToolNix home page, the downloads section and the source code.

The Windows packages and macOS disk image as well as the Linux AppImage are available already. The other Linux packages are still being built and will be available over the course of the next couple of hours.

Here are the NEWS since the previous release:

Version 88.0 "All I Know" 2024-10-19
New features and enhancements
  • mkvmerge, MKVToolNix GUI's chapter editor: added support for reading chapters from PotPlayer bookmark files.

Bug fixes
  • configure: fixed setting "HAVE_QTDBUS" properly if the QtDbus module is found. Fixes #3744.
  • mkvmerge: MP4 reader: mkvmerge will no longer warn when multiple identical FourCCs are present within the same track headers. Fixes #3748.
  • mkvmerge man page: removed the wrong statement that an attachment's MIME type must be set before use of the "--attach-file" & "--attach-file-once" options. If not given, mkvmerge auto-detects the MIME type.

Have fun 😁
__________________
Latest MKVToolNix is v88.0

If I ever ask you to upload something, please use my file server.
Mosu is offline   Reply With Quote
Old 19th October 2024, 18:15   #2106  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,168
Thanks
kedautinh12 is offline   Reply With Quote
Old 19th October 2024, 18:17   #2107  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,278
Cheers Mosu...
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 22nd October 2024, 08:31   #2108  |  Link
kuchikirukia
Registered User
 
Join Date: Oct 2014
Posts: 478
This software always has an option to do whatever I need it to do.

Wanted to strip the subs and one audio track out of every episode of a BD Box Set and was lamenting the thought that I'd need to manually add the m2ts's one at a time for 366 episodes and manually select the tracks. Then I thought to look in preferences. "When adding files via drag and drop... create new multiplex settings tab for each file." Then I deselected the automatic selection of the video file, picked the language of the audio track I wanted, and now I can batch add them.
Then, "Actions for all tabs ---> start multiplexing."
kuchikirukia is offline   Reply With Quote
Old 22nd October 2024, 14:20   #2109  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,823
Quote:
Originally Posted by kuchikirukia View Post
Then, "Actions for all tabs ---> start multiplexing."
Or, better, use a batch thru CLI. That allows you to process thousands of files with no problems.

Set the first file you have to process and act as you would with the GUI.

MKVToolnixGUI has an option to see the proper command line, where you have to manually replace the variables that your CLI handles.

Such as, in my case:

for %%a in (*.mkv) D:\Eseguibili\Media\MKVToolNix\mkvmerge.exe --output ^"M:\Out\%%~na.mkv^" --language 0:ja ^"%%~na.hevc^" --no-video --language 1:ja ^"%%~na.mkv^" --track-order 0:0,1:1
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 22nd October 2024, 17:12   #2110  |  Link
kuchikirukia
Registered User
 
Join Date: Oct 2014
Posts: 478
The problem with doing anything programmatically is that unless you are VERY familiar with it, it will take you longer to write and debug than it would've taken to just do it the manual way.

Since I needed to only grab the >4GB M2TS's and they were in multiple directories, it was much simpler and faster to just put all the BD set directories into one directory, search for *.m2ts, sort by size, and then select all larger than 4GB and drag the group over. There's a search string to search by size but it would've taken me longer to look it up than it took me to just sort by size.
kuchikirukia is offline   Reply With Quote
Old 31st October 2024, 13:39   #2111  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,823
Quote:
Originally Posted by Mosu View Post
Time for another small update to MKVToolNix, v88.
Thank you.

I'd like to report that I am muxing with your last revision and I get in MediaInfo for the video stream:

SEI_rbsp_stop_one_bit : Missing

What is it and how to stop adding/reporting it?
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Reply

Tags
matroska

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 01:03.


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