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.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > Capturing and Editing Video > New and alternative a/v containers
Register FAQ Today's Posts Search

Closed Thread
 
Thread Tools Search this Thread
Old 29th November 2015, 08:26   #3801  |  Link
ndjamena
Registered User
 
Join Date: Sep 2012
Posts: 366
Quote:
Originally Posted by rsotome View Post
Is anyone else having this problem with the new 8.6.0 build?

When I drag 'n drop an MKV file that has previously been written to by Haali Matroska Writer b0 (which is what Simple x264/x265 Launcher uses when encoding directly to an mkv file (x264 codec)), MKVToolnix 8.6.0 takes an extremely long time to recognize the file (locks up for around 30 seconds+, then lets me continue), but 8.5.2 recognizes it immediately.
Apparently your file doesn't have a seek head, so MKVMerge goes looking for one...

hmmmmm.
ndjamena is offline  
Old 29th November 2015, 08:42   #3802  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,352
Quote:
Originally Posted by rsotome View Post
When I drag 'n drop an MKV file that has previously been written to by Haali Matroska Writer b0 (which is what Simple x264/x265 Launcher uses when encoding directly to an mkv file (x264 codec)), MKVToolnix 8.6.0 takes an extremely long time to recognize the file (locks up for around 30 seconds+, then lets me continue), but 8.5.2 recognizes it immediately.
This is most likely due to the following change:

Code:
        * mkvmerge: enhancement: if no seek head is found before the first
        cluster when reading Matroska files then mkvmerge will attempt a
        deeper scan of all elements in the file in order to find track
        headers, attachments, chapters and tags located at the end of the
        file. See #1513 for the rationale.
I wasn't aware this had such a negative impact on a common kind of file. Looks like I'll have to disable that functionality again or implement it some other way…

Edit: new pre-builds 1018 (32bit)/1019 (64bit) with that feature temporarily disabled are available.
__________________
Latest MKVToolNix is v101.0

If I ever ask you to upload something, please use my file server.

Last edited by Mosu; 29th November 2015 at 09:14.
Mosu is offline  
Old 29th November 2015, 11:20   #3803  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,352
Quote:
Originally Posted by rsotome View Post
When I drag 'n drop an MKV file that has previously been written to by Haali Matroska Writer b0 (which is what Simple x264/x265 Launcher uses when encoding directly to an mkv file (x264 codec)), MKVToolnix 8.6.0 takes an extremely long time to recognize the file (locks up for around 30 seconds+, then lets me continue), but 8.5.2 recognizes it immediately.
Can you please give pre-builds 1020 (32bit)/1021 (64bit) a try? They implement a different way of checking such files and should handle file type recognition faster.
__________________
Latest MKVToolNix is v101.0

If I ever ask you to upload something, please use my file server.
Mosu is offline  
Old 29th November 2015, 11:46   #3804  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,844
Quote:
Originally Posted by Mosu View Post
Interesting. I cannot reproduce that at the moment. Can you please tell me more about your mux settings? What kind of files are involved, what's appended to where? Ideally you could send me a mux setting file or the corresponding job queue file. I'd also like to know how big the files in question are exactly.
I had to remove the three different cases which caused the issue - I'm currently moving stuff from my backup DVDs to my external HDD attached to the media player due to a HD crash. I'll have several other cases in which the backup MKVs were split in parts when muxing so I'll try to reproduce it while processing the discs.

I'll update to the latest version to make sure the bug report's still valid.
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline  
Old 29th November 2015, 13:15   #3805  |  Link
Jamaika
Registered User
 
Join Date: Jul 2015
Posts: 989
I wanted to ask about the export function {--raw}? How can it be used? Video and audio files don't work after unpacking.

PS If the function doesn't work it can be removed.
Jamaika is offline  
Old 29th November 2015, 13:24   #3806  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,352
That function is there for codec IDs mkvextract knows nothing about. Whether or not the result is something that can be used depends on the content and on the application trying to read it after extraction.
__________________
Latest MKVToolNix is v101.0

If I ever ask you to upload something, please use my file server.
Mosu is offline  
Old 29th November 2015, 13:40   #3807  |  Link
ndjamena
Registered User
 
Join Date: Sep 2012
Posts: 366
Some iTunes files have a jpg "video" track containing images for the chapters, MKVMerge sees it as an actual video track and muxes it as such. If you split the file by chapters afterwards, and then extract the "track" from each resulting file using --raw you'll end up with several perfectly functional *.jpg files.

That's just one use.
ndjamena is offline  
Old 29th November 2015, 13:56   #3808  |  Link
Jamaika
Registered User
 
Join Date: Jul 2015
Posts: 989
I compared the function ex. with MP4Box. There raw works. It annoys me too duplication of the file information X264 / X265. I have to create an x-Info is better probably let deletes completely.
Quote:
Originally Posted by ndjamena View Post
Some iTunes files have a jpg "video" track containing images for the chapters, MKVMerge sees it as an actual video track and muxes it as such. If you split the file by chapters afterwards, and then extract the "track" from each resulting file using --raw you'll end up with several perfectly functional *.jpg files.
OK. I use the "attachments" without {--raw}.
Jamaika is offline  
Old 29th November 2015, 19:51   #3809  |  Link
szabi
Registered User
 
Join Date: Nov 2004
Posts: 253
Hi

Today I wanted to update 8.51 to 8.60, that alert did come up.

Any of you have this issue?

bye
szabi
szabi is offline  
Old 29th November 2015, 19:57   #3810  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,352
That's a false positive.
__________________
Latest MKVToolNix is v101.0

If I ever ask you to upload something, please use my file server.
Mosu is offline  
Old 29th November 2015, 20:12   #3811  |  Link
szabi
Registered User
 
Join Date: Nov 2004
Posts: 253
Previous versions did never have it.
szabi is offline  
Old 29th November 2015, 20:21   #3812  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,352
Oh yes they did, dating all the way back to 2.4.1. I've even got a FAQ entry about this topic!

Anti virus tools are notoriously overzealous when it comes to binaries they've never seen before. And new releases of software are by their very nature binaries the scanners have never seen before.

Such false positives are, unfortunately, rather common; there's one in at least all of the releases. Mostly in the installer itself but often enough in the binaries, too.
__________________
Latest MKVToolNix is v101.0

If I ever ask you to upload something, please use my file server.
Mosu is offline  
Old 29th November 2015, 20:25   #3813  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,844
One more reason to disable the heuristic scan of the AV program. I don't know if it ever catches anything, but it'll at least produce a lot of useless false alarms over time.
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline  
Old 29th November 2015, 20:38   #3814  |  Link
szabi
Registered User
 
Join Date: Nov 2004
Posts: 253
Ok. Correction. First time I see this.
I believe you both what say so it is added to false alert list, thx.
szabi is offline  
Old 29th November 2015, 22:59   #3815  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,352
MKVToolNix v8.6.1 released

Hey,

Just one day later, another release of MKVToolNix: v8.6.1. I'm therefore including and extending the previous announcement.

The next release of MKVToolNix is available: v8.6.0. Like the previous couple of releases this one focuses on bug fixes primarily. However, it also introduces one interesting new feature with support output mkvmerge's identification result as JSON for improved scripting.

There's also an important change breaking backwards compatibility: text files created by the tools (e.g. chapters extracted with mkvextract or redirected output of any of the tools) won't start with a byte order mark (BOM) anymore, even if they're encoded in one of the UTF-* encodings. Back in the day people believed that text files would be encoded primarily in UTF in the future and that distinguishing between those formats automatically with a byte order mark seemed sensible.

Reality has shown that things turned out differently: text files are overwhelmingly encoded in UTF-8 if they originate on Linux/Unix/Mac OS and in Windows' local encoding otherwise. Writing byte order marks isn't recommended anymore anyway.

This is an experimental change in so far as I'm willing to reverse it if enough people speak out for keeping the BOMs. So if you have legitimate concerns about this then please drop me a line.

An important change for package maintainers is that gcc 4.8.0 or newer/clang 3.4 or newer is now required for compilation due to the (header-only) library used for generating the JSON output. This concerns CentOS 6 and Debian 7 "wheezy" for which I don't offer binaries anymore as a consequence.

The Windows and Mac OS binaries are available. Most of the Linux binaries are still being built and will be available in a couple of hours.

Here are the usual links: the MKVToolNix home page, the Windows installer and portable version and the source code.

Here's the full ChangeLog since the previous release:

Quote:
2015-11-29 Moritz Bunkus <moritz@bunkus.org>
* Released v8.6.1.
* mkvpropedit, GUI's chapter & header editors bug fix: in certain situations the modified file would not contain a seek head before the first cluster anymore resulting in most players not finding elements such as attachments or the index located at the end of the file anymore. Fixes #1513.
* mkvmerge: bug fix: the change to do a deeper file analysis if no seek head was found was causing huge increases in file type detection time as popular tools like x264 don't write seek heads. The way elements at the end are searched has been changed to only scan the last 5 MB of the file instead of iterating over every level 1 element from the beginning of the file.

2015-11-28 Moritz Bunkus <moritz@bunkus.org>
* Released v8.6.0.
* all: change: none of the tools will write a byte-order mark (BOM) to text files encoded any of the UTF-* schemes anymore.

2015-11-25 Moritz Bunkus <moritz@bunkus.org>
* mkvmerge: Matroska reader bug fix: the info about which packetizer is used was output twice for each HEVC track. Fixes #1522.
* MKVToolNix GUI: bug fix: implemented a workaround for a bug in Qt which caused the GUI not to start anymore due to failing to detect a stale lock file if the GUI had crashed before on a computer with a host name that included non-ASCII characters. See https://bugreports.qt.io/browse/QTBUG-49640

2015-11-22 Moritz Bunkus <moritz@bunkus.org>
* mkvmerge: bug fix: a track's number of bits per audio sample wasn't output in verbose identification mode even if it was present in the file.
* mkvmerge: enhancement: if no seek head is found before the first cluster when reading Matroska files then mkvmerge will attempt a deeper scan of all elements in the file in order to find track headers, attachments, chapters and tags located at the end of the file. See #1513 for the rationale.

2015-11-21 Moritz Bunkus <moritz@bunkus.org>
* MKVToolNix GUI: header editor bug fix: the "status" description wasn't adjusting its height properly resulting in its text being cut off. Fixes #1517.
* MKVToolNix GUI: bug fix: the program changes its working directory to the user's profile/home directory on startup allowing the removal of its installation folder even if a program started by the GUI (e.g. a web browser) is still running. Fixes #1518.
* ebml_validator: bug fix: elements with an unknown size weren't handled correctly.
* build system: fixed building and linking against libEBML and libMatroska if they're installed in a non-standard location.
* mkvpropedit, MKVToolNix GUI's chapter and header editors: the tools were unable to update elements in files without a seek head present. Fixes #1516.

2015-11-15 Moritz Bunkus <moritz@bunkus.org>
* mkvmerge: bug fix: fixed two issues causing mkvmerge to write invalid data when updating track headers caused by the fix for "Re-rendering track headers: data_size != 0 not implemented yet". Fixes #1498.
* all: MKVToolNix now requires gcc 4.8.0 or later or clang 3.4 or later for compilation.

2015-11-14 Moritz Bunkus <moritz@bunkus.org>
* MKVToolNix GUI: bug fix: the options for linking to the next/previous segment UID were wrong. Fixes #1511.

2015-11-10 Moritz Bunkus <moritz@bunkus.org>
* mkvmerge: enhancement: added JSON as an output format for file type identification. It can be activated with "--identification-format json --identify yourfile.ext" (or their short counterparts "-F json -i yourfile.ext").

2015-11-09 Moritz Bunkus <moritz@bunkus.org>
* mkvmerge: bug fix: the VC-1 handlig code was duplicating the first sequence headers with each mux. Fixes #1503.

2015-11-08 Moritz Bunkus <moritz@bunkus.org>
* build system: bug fix: configure was checking for and using libintl if --without-gettext was used. Fixes #1501.
Have fun.
__________________
Latest MKVToolNix is v101.0

If I ever ask you to upload something, please use my file server.
Mosu is offline  
Old 30th November 2015, 07:13   #3816  |  Link
Jamaika
Registered User
 
Join Date: Jul 2015
Posts: 989
Hi Mosu

Quote:
Originally Posted by Mosu View Post
However, it also introduces one interesting new feature with support output mkvmerge's identification result as JSON for improved scripting.
Do you have any examples of applications? I understand that you can change the record XML tags, chapters, attachments on JSON. Are they included any new functions supports interactive?
https://pl.wikipedia.org/wiki/JSON

Last edited by Jamaika; 30th November 2015 at 08:18.
Jamaika is offline  
Old 30th November 2015, 07:30   #3817  |  Link
ndjamena
Registered User
 
Join Date: Sep 2012
Posts: 366
Powershell has a function called "ConvertFrom-Json" so now I can load MKVMerge -I output directly into an object without needing a complicated script to disassemble it.

There are numerous JSON libraries for c++. C# can translate it natively.

Hell, if MKVMerge had been able to output in JSON or XML a year or two ago I might have actually managed to finish the new version of MyMediaBatch before my head gave out.
ndjamena is offline  
Old 30th November 2015, 08:19   #3818  |  Link
cengizhan
Registered User
 
Join Date: May 2003
Location: Turkey
Posts: 98
adding a longer subtitle to a video, makes the video longer. for example: add a 100minutes subtitle to a 50 minutes video. the output video will be 100 minutes which you cant seek after 50 minutes.
is this a bug or a normal behaviour?
cengizhan is offline  
Old 30th November 2015, 08:34   #3819  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,352
Hey,

Quote:
Originally Posted by Jamaika View Post
Do you have any examples of applications?
Not yet, but as ndjamena said it's trivial to import mkvmerge's identification output into data structures for your preferred programming language. Here's a trivial example in Ruby that prints the language of each track:

Code:
#!/usr/bin/env ruby

require "json"

output = `mkvmerge -F json -i #{ARGV[0]}`
result = JSON.parse(output) or fail

if !result["container"]["supported"]
  puts "Container format not supported, no information possible"
  exit 0
end

result["tracks"].each do |track|
  if track["properties"]["language"]
    puts "Track ID #{track["id"]} has language #{track["properties"]["language"]}"
  else
    puts "Track ID #{track["id"]} does not have a language set"
  end
end
Code:
I understand that you can change the record XML tags, chapters, attachments on JSON.
I… don't really understand this sentence. If you mean whether or not tags and chapters will use JSON instead of XML: no, that's way too much effort for not enough gain.

Quote:
Are they included any new functions supports interactive?
I really don't understand this sentence either. I'm sorry.
__________________
Latest MKVToolNix is v101.0

If I ever ask you to upload something, please use my file server.
Mosu is offline  
Old 30th November 2015, 08:35   #3820  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,352
Quote:
Originally Posted by cengizhan View Post
adding a longer subtitle to a video, makes the video longer. for example: add a 100minutes subtitle to a 50 minutes video. the output video will be 100 minutes which you cant seek after 50 minutes.
is this a bug or a normal behaviour?
That's normal, intentional and exactly how it should work. The file's duration is the difference between its maximum timestamp and its minimum timestamp. Just because players stop when the video track stop doesn't mean the file ends there.
__________________
Latest MKVToolNix is v101.0

If I ever ask you to upload something, please use my file server.
Mosu is offline  
Closed Thread


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 19:47.


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