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. |
17th January 2018, 13:52 | #5041 | Link | |
MKVToolNix author
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,278
|
Quote:
Code:
mkvmerge --identification-format json --identify yourfile.mkv
__________________
Latest MKVToolNix is v83.0 If I ever ask you to upload something, please use my file server. |
|
18th January 2018, 15:19 | #5043 | Link |
Matroska find' ich toll
Join Date: Apr 2008
Posts: 1,370
|
Hi Mosu
Here is a short sample: DVD 25FPS MPEG2 The mkv says for DefautDuration 20ms. All BlockDurations are 40ms. Is this a bug or why set mkvmerge DefaultDuration to 20ms? |
18th January 2018, 15:30 | #5044 | Link |
MKVToolNix author
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,278
|
Possibly a bug, though I'm not sure. I don't want to spend any time on MPEG-2, though.
__________________
Latest MKVToolNix is v83.0 If I ever ask you to upload something, please use my file server. |
18th January 2018, 23:45 | #5045 | Link |
Registered User
Join Date: May 2016
Posts: 197
|
I actually have already reported such behaviour in my very first bug report. Tl;dr: It is an unintended sideeffect of a fix introduced in MKVToolNix 3.3.
|
19th January 2018, 08:07 | #5047 | Link |
MKVToolNix author
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,278
|
That's not an intentional change. Please file an issue over at Gitlab; otherwise chances are I'll forget about it again. Thanks.
__________________
Latest MKVToolNix is v83.0 If I ever ask you to upload something, please use my file server. |
19th January 2018, 22:03 | #5048 | Link |
MKVToolNix author
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,278
|
I've fixed mkvinfo's behavior. The next release will use \r\n again on Windows.
__________________
Latest MKVToolNix is v83.0 If I ever ask you to upload something, please use my file server. |
21st January 2018, 02:01 | #5049 | Link | |
Registered User
Join Date: Dec 2016
Posts: 12
|
Quote:
As of version 17, tags and cuesheets now output to a file, so this won't work. The only way I can see to detect if tags and cuesheets are present would be to output them to a file, read the file and then delete it, which would be a bit messy. Is there a better way of detecting tags and cuesheets? |
|
21st January 2018, 08:41 | #5050 | Link |
MKVToolNix author
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,278
|
Of course there is: don't use mkvinfo in the first place but "mkvmerge --identification-format json --identify yourfile.mkv" As I've said numerous times. Using mkvinfo for that is the wrong tool.
__________________
Latest MKVToolNix is v83.0 If I ever ask you to upload something, please use my file server. |
21st January 2018, 18:07 | #5051 | Link | |
Registered User
Join Date: Dec 2016
Posts: 12
|
Quote:
I must admit, I never even looked at the mkvmerge documentation and just assumed mkvinfo was the tool to use. I see now I've done things in completely the wrong way. I'll rework it to use mkvmerge rather than mkvinfo. Thanks again. |
|
21st January 2018, 19:29 | #5052 | Link |
gMKVExtractGUI author
Join Date: Aug 2003
Location: Greece / Thessaloniki
Posts: 251
|
You can check gMKVExtractGUI source code here:
https://sourceforge.net/p/gmkvextrac...e/gMKVToolNix/ Or you can use the .NET DLL "gMKVToolNix.dll" in your application if you want an easy solution to get the mkv info. Thanks to Mosu, mkvmerge since MKVToolNix v9.1.0 reports all the necessary info for identifying the mkv tracks! |
22nd January 2018, 16:12 | #5053 | Link |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,542
|
Sometimes happens that a MKV is muxed inserting delays between tracks and/or changing fps.
Is there a way to reverse engineer what happened from the resulting MKV? I have tried Media Info but there is no sign of it.
__________________
@turment on Telegram |
22nd January 2018, 16:19 | #5054 | Link |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
If anything mkvinfo could help.
But of course you need to know what to look for. Better if you just upload samples, command lines and logs if you suspect mkvtoolnix is doing something wrong. Then we can analyze. About fps also read: https://gitlab.com/mbunkus/mkvtoolni...rate-displayed |
22nd January 2018, 17:08 | #5055 | Link | |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,542
|
Quote:
__________________
@turment on Telegram |
|
22nd January 2018, 17:15 | #5056 | Link |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
Changed video fps is not really detectable from the container. Maybe you can find info in the bitstream of original fps (e.g. in H.264 time_scale and num_units_in_ticks - I think MediaInfo even shows this).
Changed audio depends. Sometimes the audio is stretched so that the frames overlap or have gaps. eac3to will detect this if you demux/recode such tracks. If otherwise constant you can compare duration in mkv container with duration of extracted stream. Very often the mkv container cannot offer you such informations except the duration. Merging video and audio from different sources is more of a trial and error process. Last edited by sneaker_ger; 22nd January 2018 at 17:18. |
22nd January 2018, 19:52 | #5057 | Link |
Registered User
Join Date: Jul 2012
Posts: 94
|
Hi,
Today I noticed that I'm no longer able to see any tracks in the mkvextractgui except some chapters or attachement: https://picload.org/view/ddiapgow/attach.jpg.html https://picload.org/view/ddiapglr/chapt.jpg.html Any idea what could be the cause or the reason for this sudden change? Can't say when was the last time I used my "working" extractgui and what change I could make since. Program is uptodate. thx in advance. |
22nd January 2018, 20:07 | #5058 | Link |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
MKVToolNix 20.0.0 changed output of mkvinfo (among other things). It was already discussed a few posts earlier and also in other threads.
Try gMKVExtractGUI. It stuck to the recommendations of the MKVToolNix author and thus didn't break with 20.0.0. |
22nd January 2018, 22:59 | #5060 | Link | |
Registered User
Join Date: Dec 2016
Posts: 12
|
Quote:
Muxing the same file with and without tags shows the same output, so there's nothing to indicate the presence of the tags, even thought they are definitely there and can be extracted. Likewise with a cuesheet, I can't see anything that indicates its presence, even though it is there and can be extracted. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|