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. |
10th July 2024, 18:40 | #2061 | Link |
Registered User
Join Date: Oct 2009
Posts: 46
|
When adding chapters with mkvpropedit is it possible to set the language 'und'? Similar to muxing with '--chapter-language und' with mkvmerge to produce a menu with '::Chapter Title' in the file properties. If nothing is specified, mkvpropedit produces entries with :en:Title. Removing 'en' might strip unnecessary bytes.
|
10th July 2024, 18:44 | #2062 | Link |
MKVToolNix author
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,297
|
No. mkvpropedit takes chapters as they are, only adds missing IETF language elements (unless turned off) & other mandatory elements.
__________________
Latest MKVToolNix is v87.0 If I ever ask you to upload something, please use my file server. |
13th July 2024, 17:43 | #2063 | Link |
MKVToolNix author
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,297
|
MKVToolNix v86.0 released
Heyo 💝
MKVToolNix v86.0 is out. There were several bug fixes, most notably around the handling of timestamp files. That was code I hadn't touched for… a decade, maybe. Quite the trip. A couple of enhancements were also made; see below. 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 86.0 "Winter" 2024-07-13 New features and enhancements
Bug fixes
Have fun 😁
__________________
Latest MKVToolNix is v87.0 If I ever ask you to upload something, please use my file server. |
14th July 2024, 00:21 | #2065 | Link |
Matroska find' ich toll
Join Date: Apr 2008
Posts: 1,400
|
Hi Mosu
Many thanks for the new version of MKVToolNix. I have a question about the timestamp files. In the description is a hint that the count of the timestamp entries must be not smaller as frames there are. Equal timestamps entries as frames is of course the best. But what is when there are more timestamp entries in a timestamp file as frames to mux? Is this a problem for mkvmerge? |
14th July 2024, 21:14 | #2067 | Link | |
MKVToolNix author
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,297
|
Quote:
__________________
Latest MKVToolNix is v87.0 If I ever ask you to upload something, please use my file server. |
|
14th July 2024, 21:20 | #2068 | Link | |
MKVToolNix author
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,297
|
Quote:
I just verified that the option very much works as expected when replacing or adding chapters with mkvpropedit. BTW: '--normalize-language-ietf off' is not a valid option at all.
__________________
Latest MKVToolNix is v87.0 If I ever ask you to upload something, please use my file server. |
|
14th July 2024, 21:22 | #2069 | Link | |
MKVToolNix author
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,297
|
Quote:
With fixed FPS content there should be no difference at all.
__________________
Latest MKVToolNix is v87.0 If I ever ask you to upload something, please use my file server. |
|
20th July 2024, 01:06 | #2071 | Link |
Matroska find' ich toll
Join Date: Apr 2008
Posts: 1,400
|
Hi Mosu
I have some questions about TrueHD Audio. Here is a picture from the MKVInfo tool. 1. Why is there no DefaultDuration element? The FPS is well defined for 48khz with a value of 1 / 1200. 2. Why is each frame stored in it's own SimpleBlock except the first two frames? This produces a lot overhead. |
20th July 2024, 08:27 | #2072 | Link |
MKVToolNix author
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,297
|
TrueHD is one of the few audio formats that actually have something similar to I/P video frames in that it has "sync" frames that are decodable on their own & non-sync frames with a much shorter header that rely on the presence of the previous sync header for decoding. The number of non-sync frames vs sync frames is much, much higher than P video frames to I video frames — in one example file I have there are 38 sync frames and 4802 non-sync frames (!).
In the past I have actually tried placing one sync frame & all following non-sync frames into the same Matroska frame, but that broke playback on pretty much everything I had access to at that time. Default duration doesn't make much sense if it's below 1ms, which it is for TrueHD.
__________________
Latest MKVToolNix is v87.0 If I ever ask you to upload something, please use my file server. |
20th July 2024, 17:37 | #2073 | Link | |||
Matroska find' ich toll
Join Date: Apr 2008
Posts: 1,400
|
Quote:
Quote:
For better timestamps the -1 magic value should be always used? Quote:
When no DefaultDuration element is there I have to find out the frame duration by my self? |
|||
20th July 2024, 23:12 | #2074 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,366
|
TrueHD audio frames are typically 0.8333.. milliseconds long. Thats why you run into troubles with the default timestamp scale which is just in milliseconds and cannot represent even a single TrueHD frame accurately. Eventually you need two frames with the same timestamp to make up the difference.
The same reason applies why an accurate DefaultDuration is not necessarily possible or useful. Unfortunately Matroska does not offer fractional timestamp scales to solve this (plus its only one timestamp scale that needs to apply for video and audio equally).
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
21st July 2024, 14:10 | #2075 | Link |
Registered User
Join Date: Oct 2009
Posts: 46
|
Thanks for your reply! In mkvpropedit when only adding chapters with -c, or replacing, if it's different, entries are marked as English by default. mkvinfo shows this as:
Chapter language: eng Chapter language (IETF BCP 47): en Can I a) delete or b) avoid adding this language identifier? I used options with IETF from the manual. You mention '--disable-language-ietf' working as expected. Indeed '--normalize-language-ietf off' is invalid. The manual says "Enables normalizing all IETF BCP 47 language tags to either their canonical form with mode 'canonical', to their extended language subtags form with mode 'extlang' or turns it off with mode 'off'. By default normalization to the canonical form is applied." If these two options do not apply here, please never mind. |
21st July 2024, 14:11 | #2076 | Link |
Matroska find' ich toll
Join Date: Apr 2008
Posts: 1,400
|
Yeah, I'm absolute at you.
Missing fractional elements is an EBML issue and we have a discussion there but the founder is not really interested in. The good is the TimestampScale element can be used to get micro-second timestamp accuracy, but also this is not enough to get perfect timestamps. @Mosu Is there a chance to change this in the Matroska specs, to get better timestamps? |
22nd July 2024, 13:56 | #2077 | Link |
MKVToolNix author
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,297
|
Not really. After long and exhausting discussions the issue remains that any kind of improved timestamps would either increase the overhead quite a bit (and be hacky, basically having a second layer of timestamps in addition to the existing, known ones) or use completely different block group elements. The latter type of files would not be backwards compatible at all.
I don't think it's realistic to expect this to change anymore.
__________________
Latest MKVToolNix is v87.0 If I ever ask you to upload something, please use my file server. |
23rd July 2024, 22:25 | #2078 | Link |
Registered User
Join Date: Oct 2009
Posts: 46
|
Dear Mosu, my last message about mkvpropedit was for you. It's about removing or not adding entries that in mkvinfo appear as:
Chapter language: eng Chapter language (IETF BCP 47): en This may be a trifle but still may have a solution. |
7th August 2024, 23:13 | #2079 | Link |
Cat
Join Date: Oct 2006
Location: Box
Posts: 23
|
May I ask why MKVToolNix adds audio tags (like Writing library) to General, not under Audio?
Notes: I'm not exactly sure when this behavior started, but it was many versions ago. Similar tags for videos are placed under Video section. Reproduce: Encode AAC audio. It will contain tags under Writing library (like qaac 2.82, CoreAudioToolbox 7.10.9.0, AAC-LC Encoder, TVBR q73, Quality 96). Add this audio and a video to MKV container (using MKVToolNix 85.0). View media info (using MediaInfo 24.06): The mentioned audio tags will end up in General, not Audio. |
8th August 2024, 14:52 | #2080 | Link |
MKVToolNix author
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,297
|
There are no sections for information in Matroska such as "General" or "Audio". How information is presented is up to the application presenting it, in this case; MediaInfo.
Certain pieces of information are stored at the bitstream level within a track. Additionally there can be free-form tags associated with a track (instead of with the whole file in general). My guess is that MediaInfo groups both this bitstream-level information & the track-associate tags in a section called "Audio" if it's from the bitstream of an audio track and similarly for video tracks. That's expected behavior. Tags can also not be associated with a track, in which case they're supposed to apply to the whole file. I have no idea how MediaInfo decides to show those types of tags. One thing that I can think of is converting tags from MP4 to Matroska. In MP4 tags are not associated with a track; they're global. mkvmerge converts a limited number of MP4 tags into global Matroska tags, among them the movie title, the free-form comment field & the encoder.
__________________
Latest MKVToolNix is v87.0 If I ever ask you to upload something, please use my file server. |
Tags |
matroska |
Thread Tools | Search this Thread |
Display Modes | |
|
|