View Full Version : mkvtoolnix 1.4.0 is out with everything you want
Emp3r0r
9th March 2005, 23:02
When appending files, can you tell mkvmerge to ignore # of channels in an AC3 stream and only check bitrate.
This is useful for audio captured from local HDTV broadcasts that change back and forth between 2 and 6ch channel sound.
Also, how does mkvmerge handle audio delays when appending files? I've had some trouble keeping audio sync when appending multiple files.
BTW, I uploaded two files for you to test appending.
Thanks
Mosu
10th March 2005, 09:35
Originally posted by Emp3r0r
When appending files, can you tell mkvmerge to ignore # of channels in an AC3 stream and only check bitrate.
This is useful for audio captured from local HDTV broadcasts that change back and forth between 2 and 6ch channel sound.
Nope, sorry. Matroska does not allow that the track parameters change in the middle of the stream, so I won't allow that in mkvmerge either.
Also, how does mkvmerge handle audio delays when appending files? I've had some trouble keeping audio sync when appending multiple files.
It was designed to handle stuff correctly if all tracks in a file have the same length ( = end at the same time; disregard subtitles, they're handled differently). This is the case e.g. when mkvmerge splits a file. If the tracks do not have the same length then you'll run into A/V sync problems.
BTW, I uploaded two files for you to test appending.
Thanks, though I'm a bit hard-pressed for time at the moment, so I won't be able to check them out this week.
Emp3r0r
10th March 2005, 20:55
It was designed to handle stuff correctly if all tracks in a file have the same length ( = end at the same time; disregard subtitles, they're handled differently). This is the case e.g. when mkvmerge splits a file. If the tracks do not have the same length then you'll run into A/V sync problems.
Just to be clear, If I have two matroska files each with 10 seconds of video and 9.8 seconds of audio, mkvmerge will start writing the the second audio file at 9.8 seconds when appending them together.
Is matroska capable of having one track end and then start again at a later time (have a gap in the track)? Or would, in the case of audio, silence need to be added to fill the gap?
Mosu
11th March 2005, 11:26
Originally posted by Emp3r0r
Just to be clear, If I have two matroska files each with 10 seconds of video and 9.8 seconds of audio, mkvmerge will start writing the the second audio file at 9.8 seconds when appending them together.
Correct.
Is matroska capable of having one track end and then start again at a later time (have a gap in the track)? Or would, in the case of audio, silence need to be added to fill the gap?
Yes, that is possible with Matroska, but mkvmerge does not really support this (mkvmerge is mainly a program copying stuff from one file to another, not a full-blown audio/video editor).
Anacondo
11th March 2005, 13:31
Originally posted by Splashdriver
For the very first time I've encountered a problem I never had before. When I try to add a videofile (.Avi or .MKV) it gives me an error:
File Identification Failed. Return Code 2.
It says something about 'no output file was given'
:confused:
I have this problem too with Windows XP SP2 (spanish) and the mmg gui. I use the installer version of 1.4.0-unicode (I carefully wiped out every other version from HD). It refuses to load avi (xvid, x264), mp4 (he-aac), ogg (vorbis) and mp3 files, always outputting the same error:
"File identification failed. Return code: 2"
Command line version seems to works, though. And old mmg 1.0.1 works fine.
Regards.
Mosu
11th March 2005, 13:41
Originally posted by Anacondo
"File identification failed. Return code: 2"
Command line version seems to works, though. And old mmg 1.0.1 works fine.
Regards.
Could you please...
Install the Unicode version with the setup.exe,
Download this new build: http://www.bunkus.org/videotools/mkvtoolnix/win32/pre//mkvtoolnix-unicode-1.4.0-build20050306-3.rar
Extract that RAR into the same directory that you've installed v1.4.0 into,
Start mmg and
Go to the "settings" tab and ENable "show mmg's debug window".
Then please copy all the lines appearing in that new small window here.
Thanks.
Anacondo
11th March 2005, 14:16
Sure.
14:13:40: Querying mkvmerge's capabilities
14:13:40: Capability: VERSION=mkvmerge v1.4.0 ('Cornflake Girl')
14:13:40: Capability: BZ2
14:13:40: Capability: LZO
14:13:40: Capability: FLAC
Regards.
Mosu
11th March 2005, 14:26
Originally posted by Anacondo
Sure.
14:13:40: Querying mkvmerge's capabilities
14:13:40: Capability: VERSION=mkvmerge v1.4.0 ('Cornflake Girl')
14:13:40: Capability: BZ2
14:13:40: Capability: LZO
14:13:40: Capability: FLAC
Regards.
Looks good. Sorry, I'm out of ideas... As long as I can't reproduce it I'm afraid I won't be able to solve it :( So bloody many things have changed between 1.0.x and 1.4.0...
Ok, one last try. Please download this build, unRAR it into the same directory and make sure that all files are overwritten, start mmg, try to add a file.
Here's the build: http://www.bunkus.org/videotools/mkvtoolnix/win32/pre//mkvtoolnix-unicode-1.4.0-build20050311-1.rar
Anacondo
11th March 2005, 14:48
Same thing. But problem seems to be on my side. I installed 1.4.0-unicode on 2 friends' computer (one with WinXP SP1a and other with SP2, both spanish) and worked flawlessly in both cases. :confused:
Sorry for the hassle, I'll try to trace the problem.
Regards.
Mosu
13th March 2005, 20:15
Originally posted by Anacondo
Same thing.
Thanks to some heavy testing by Anaconda I've been able to figure out what was wrong: Spaces in the TEMP environment variable. mmg didn't handle those :( The next release will contain the fix.
Anacondo
13th March 2005, 22:23
Originally posted by Mosu
Thanks to some heavy testing by Anaconda ...
Anacondo, pleeease :scared:. Keep up the good work.
:thanks:
Sergejack
14th March 2005, 12:37
Problem with subs.
How is that that a sub I used with the source file doesn't synhronize with the resulting file ?
The sub shows too early in the x264 vid
I'm wondering if the problem would B-Frame.
I think some B-Frame can be lost in some cases...
I used VDUBMOD 1.5.10.1 to encode a file as x264 in a MKV withouth sound.
That file didn't have any "desync" problem.
Then I used the latest mkvtoolnix-1.4.0 to mux that x264 MKV with an AAC HE mp4 in another MKV.
And there came the trouble.
I'll try with avi mux now.
EDIT : Same problem; mkv seems to have problem with X264 + AAC HE :(
iapir
14th March 2005, 12:54
What do you use to decode H264 ?
You know that there are hacks to put H264 in AVI using a delay. So maybe you apply the same hack to MKV. Also don't use VDM to output to MKV. You should mux your MKV using the AVI source, that's the way to use the native H264 support in mkvmerge.
Mosu
14th March 2005, 12:58
I consider h.264-from-AVI not to be supported at the moment, even if it muxes.
Sergejack
14th March 2005, 13:03
I don't use avi.
I used VDUBMOD 1.5.10.1 to encode a file as x264 in a MKV withouth sound. And that MKV file works fine.
And then I mux that MKV with a AAC to get an MKV.
EDIT : I'll try with an OGG audio, I already guess it will work.
EDIT : Wrong guess :(
stephanV
14th March 2005, 13:05
Using VirtualDubMod to encode x264 to MKV is the same thing as muxing from AVI (uses VFW mode). You will have to mux the AVI to MP4 first.
Sergejack
14th March 2005, 13:22
Originally posted by stephanV
You will have to mux the AVI to MP4 first.
How to do that ?
mp4muxer doesn't works.
Löschen der Tempfiles erfolgreich.
Fertig!
Bluedan
14th March 2005, 13:42
mp4muxer seems to be buggy, didn't tets it myself though.
Give Mp4box a try, u may use mezzanines GUI for your convenience.
It is a safe way to import from avi into mp4.
BTW: :readfaq: (mp4-FAQ)
Try this link (http://c.1asphost.com/mezzanine/MP4BoxGUI0.13.7z).
d/l mp4box from gpac/dev folder on Celtic_Druids file mirror.
(Currently not available for me.)
Sergejack
14th March 2005, 14:02
Not working.
Isn't H264 supported yet by any of those tool ?
vlada
14th March 2005, 16:57
Hello,
it's been probably discussed before, but I couldn't find any information about support for Musepack (MPC) in Matroska/MKVToolnix. Is it planned? AFAIK MPC is very similiar to MP2 so I hope it shouldn't be difficult to support it.
Thank you,
Vlada
P.S. Btw. I tried to search the forums for post regarding MKVToolnix and Musepack. One of my result was the original MKVToolnix thread, which has 50 pages. Is there a way to find out on which page of the thread is my search result located?
Mosu
14th March 2005, 17:02
Originally posted by vlada
Hello,
it's been probably discussed before, but I couldn't find any information about support for Musepack (MPC) in Matroska/MKVToolnix. Is it planned? AFAIK MPC is very similiar to MP2 so I hope it shouldn't be difficult to support it.
The problem with Musepack is that it cannot be split into separate blocks in its current form. All other audio formats that Matroska supports can be split into such blocks. The Musepack author (and others?) wanted to correct this in the next bitstream version, but that never came.
Conclusion: won't happen unless there's a new release of Musepack with an easy-to-handle bitstream layout.
P.S. Btw. I tried to search the forums for post regarding MKVToolnix and Musepack. One of my result was the original MKVToolnix thread, which has 50 pages. Is there a way to find out on which page of the thread is my search result located?
Not really :(
Mosu
14th March 2005, 17:04
Originally posted by Sergejack
I don't use avi.
Let me rephrase, then.
(The codec) x264 is not supported at the moment, especially not if it is used in some AVI-centric manner (e.g. x264-in-AVI or in combination with VDubMod). The only officially supported way of getting h.264 (the video format) into Matroska is reading it from a MP4 file at the moment.
Liisachan
14th March 2005, 17:15
Originally posted by vlada
Hello,
it's been probably discussed before, but I couldn't find any information about support for Musepack (MPC) in Matroska/MKVToolnix. Is it planned? AFAIK MPC is very similiar to MP2 so I hope it shouldn't be difficult to support it.
Hi, from what I heard, Musepack SV8 is going to be supported in Matroska. (SV=Stream Version=Internal Format)
The current mppenc is 1.15u, and 1.16 is going to be the final version for SV7, and then the devs will work for SV8 (or perhaps SV7.5)
Why not SV7? - Because the original author of MPC doesn't want to. I don't know why.
As another note, Wavpack will be supported sooner or later, maybe sooner.
P.S. Btw. I tried to search the forums for post regarding MKVToolnix and Musepack. One of my result was the original MKVToolnix thread, which has 50 pages. Is there a way to find out on which page of the thread is my search result located?
That's my question too.
Edit: I meant Musepack by MPC here, not Media Player Classic. (Just in case someone was confused)
vlada
14th March 2005, 17:38
The only officially supported way of getting h.264 (the video format) into Matroska is reading it from a MP4 file at the moment.
Is there an encoder which can take AviSynth script as input, FFDShow or x264 as a codec and then store it into MP4 container?
Or in other words: How can I put an x264 sompressed movie into matroska? Except of avi compatibility mode.
Thank you,
Vlada
Bluedan
14th March 2005, 18:21
Mencoder GUI by the Man Doom9 himself...
Search for thread in MPEG4codec forum.
planet1
14th March 2005, 20:11
@ Mosu
if going from MP4 (mpeg4 asp) -> MKV, every manual fourcc entering is "ignored" by mkvmerge and the matroska always ends up with fourcc=divx. Could you loose that restriction (fourcc=xvid,mp4v should be allowed IMHO) ?
.MKV (fourcc=divx) -> mkvmerge (fourcc=xvid) -> .MKV(fourcc=divx),
so that isnt working either
thx ;)
EDIT:
concerning the track extraction of that mkv (from mp4), first i thought it might be a mkvextractGUI issue, but then mkvextract.exe outputs this error:
"Error: Track 1 with the CodecID 'V_MS/VFW/FOURCC' is missing the "default duration" element and cannot be extracted."
audio extraction (AAC) working ...
mkvtoolnix version: mkvtoolnix-unicode-1.4.0-build20050311-1.rar
Sergejack
14th March 2005, 23:17
When I finally could extract an .aac file from its .mp4 container, I completly fergot to tell MKV toolnix it was an HE.
Now it works fine ^^
http://users.skynet.be/EAF/[EAF]drawn01x01.mkv How it looks like
zombi55
15th March 2005, 04:18
Did somebody succeed to put a VP7 in a MKV?
If the answer is : not me or not yet
However it's supposed to be a VFW codec.
stephanV
15th March 2005, 09:32
works as expected, i only tested a video stream though.
Mosu
15th March 2005, 11:19
Hey,
time for another mkvtoolnix release: 1.4.1. This is a pure bug fix release. No new features. However, there are still a couple of known bugs left that I have to address, especially regarding file concatenation (e.g. problems with chapters & "linked" files; playback issues of concatenated files). Those will be fixed later.
Here are the usual links...
...to the home page:
http://www.bunkus.org/videotools/mkvtoolnix/
...the source code:
http://www.bunkus.org/videotools/mkvtoolnix/sources/mkvtoolnix-1.4.1.tar.bz2
...the Windows binaries (Unicode):
http://www.bunkus.org/videotools/mkvtoolnix/win32/mkvtoolnix-unicode-1.4.1-setup.exe
...the Windows binaries (non-Unicode):
http://www.bunkus.org/videotools/mkvtoolnix/win32/mkvtoolnix-1.4.1-setup.exe
Binaries for other systems are available from the home page.
Here's what's been done since 1.4.0:
-------------------------------------------------------------
2005-03-15 Moritz Bunkus <moritz@bunkus.org>
* Released v1.4.1.
2005-03-14 Moritz Bunkus <moritz@bunkus.org>
* mkvmerge: bug fix: AC3 detection was broken in rare cases.
2005-03-13 Moritz Bunkus <moritz@bunkus.org>
* mmg: bug fix: If the TEMP environment variable contains spaces then the calls to mkvmerge when adding files failed.
2005-03-06 Moritz Bunkus <moritz@bunkus.org>
* mkvmerge: bug fix: Extracting the FPS from some AVC MP4 files did not work.
* mkvmerge: bug fix: Appending + splitting was segfaulting if used together and at least one split occured after a track has been appended.
2005-03-02 Moritz Bunkus <moritz@bunkus.org>
* mkvmerge: Added more descriptive error messages if two tracks cannot be concatenated because "their parameters do not match".
2005-02-28 Moritz Bunkus <moritz@bunkus.org>
* mkvmerge: bug fix: A failing call to posix_fadvise will only turn its usage off for that one file and not abort mkvmerge completely.
* mmg: bug fix: When "appending" a file all tracks where added to the end of the track list making it unnecessarily difficult to concatenate similar structured files. Now the tracks from the "appended" files are inserted into the track list after their counterparts from the file this new one is appended to.
2005-02-27 Moritz Bunkus <moritz@bunkus.org>
* mmg: bug fix: An "appended" file could not be removed if there were two tracks that we not separated by a track from another file in the track list box.
* mmg: bug fix: The check whether or not a file might be overwritten while splitting is active has been fixed.
* mmg: bug fix: Improved the word wrapping of the tooltips on Windows.
* mmg: bug fix: It was possible to select a file for appending even though no file was added first.
* mkvmerge: bug fix: mkvmerge was wrongly outputting large numbers of warnings when Remuxing AVC/h.264 video from a Matroska file.
* mmg: bug fix: The job queue was not loaded on startup on Windows Unicode builds (another wxWidgets 2.5.3 problem).
2005-02-26 Moritz Bunkus <moritz@bunkus.org>
* mmg: bug fix: The job status in the job runner dialog was broken on Unicode builds on all systems.
* mmg: bug fix: "Splitting by time" was not selectable on Windows Unicode builds (problem with wxWidgets 2.5.3).
* mmg: bug fix: mkvmerge's output during muxing was not converted from UTF-8.
* mmg: bug fix: The default extension added when the user doesn't give one is different in wxWidgets 2.4.x and 2.5.x. It should always be .mkv and not .mka.
-------------------------------------------------------------
Have fun :)
Splashdriver
16th March 2005, 23:35
Many great thanks for the new version. I finally got it working now http://img99.exs.cx/img99/8577/yupi3ti.gif.
http://imagehost.biz/ims/pictes/209214.gif
unplugged
17th March 2005, 12:31
Mosu, don't want do pressure, when could we expect V_MPEG4/ISO/ASP native support? :D
Is its packeting quite different from V_MPEG4/ISO/AVC ?
(P.S.: IMO XviD it's still overall better than Nero AVC, no consistent quality...)
tiberious
18th March 2005, 01:52
bug:
when de-selecting audio streams, muxing by pressing the 'start muxing' button works fine and removes the streams not selected. However if you 'Add to job queue' it includes all the streams even the ones that are not selected.
ta
Mosu
18th March 2005, 08:46
Originally posted by tiberious
bug:
when de-selecting audio streams, muxing by pressing the 'start muxing' button works fine and removes the streams not selected. However if you 'Add to job queue' it includes all the streams even the ones that are not selected.
ta
Known bug that I've fixed yesterday or so in http://www.bunkus.org/videotools/mkvtoolnix/win32/pre/mkvtoolnix-unicode-1.4.1-build20050316-1.rar
tiberious
18th March 2005, 11:33
cheers for the reply :)
Mosu
18th March 2005, 15:09
Originally posted by unplugged
Mosu, don't want do pressure, when could we expect V_MPEG4/ISO/ASP native support? :D
Ups... Forgot to answer this. I really don't know. I'm burried deep in work at the moment, and it seems it's not going to change until middle of April at least. I have a couple of more important bugs to fix first, too, and honestly native MPEG-4 ASP doesn't give you a lot of advantages over "normal" AVI-compatibility storage.
Esc
20th March 2005, 14:48
Extracting streams takes forever. Literally, because I never reached the end. I tried to extract the video stream from 350 mb 25 min mkv. Used both 1.4.0 and 1.4.1. The output file was growing but the progress counter always showed 0%. The original mkv was muxed with mkvmerge 1.0 not by me. I tried to re-mux it and everything went well with the reasonable speed. Extracting from the new file had the same problem.
Sorry, if I am going into too much detail on something well known. But if it's a new bug, I hope it helps.
UPD: I have tried some other mkvs. They work fine. That means there is some feature that makes an mkv non-extractable. I can upload it somewhere if you need.
Mosu
20th March 2005, 18:54
Originally posted by Esc
Extracting streams takes forever.
Several users have reported this, but I haven't been able to find a file that shows this behaviour. So...
I can upload it somewhere if you need.
...yes, please, that'd be very helpful. See my signature for the upload info. Thanks.
Esc
22nd March 2005, 04:15
Uploaded. It's an mkv with a long name and 61 mb in it.
Rumbah
23rd March 2005, 03:01
I once again tried matroska as container formats for my videos and found it worked great, but I found a few flaws.
I muxed two Nero HE-AAC mp4 audio files in a mkv file and in the mkvmerge gui it is said I do not have to set He-AAc as flag, because I only have to set it if the input comes from aac, not from a mp4. But in the info it now shows A_AAC/MPEG4/LC/SBR . If I extract these files, some players do not recognize it as HE file, but as LC file. Is that the fault of the player?
When trying to demux avc or mpeg2 files from a mkv file, I get an error message that it is not supported. When will I be able to extract these files?
I have a mkv file with avc video, 2x HE-AAC audio and chapters, and when I try to play it, I only get a still frame and running audio, but when I seek or press stop and play again, everything works fine,
Rumbah
Mosu
23rd March 2005, 08:53
Originally posted by Rumbah
I muxed two Nero HE-AAC mp4 audio files in a mkv file and in the mkvmerge gui it is said I do not have to set He-AAc as flag, because I only have to set it if the input comes from aac, not from a mp4.
Correct. MP4 contains some private codec initialization data that mkvmerge can evalute in order to determine whether or not it is HE. AAC does not have this data.
But in the info it now shows A_AAC/MPEG4/LC/SBR . If I extract these files, some players do not recognize it as HE file, but as LC file. Is that the fault of the player?
mkvextract can only extract AAC to .aac files, not to MP4 files. Therefore players will have the same problem that mkvmerge has with detecting HE-AAC. There are some indicators that can be used, but one can only be sure after decoding has started.
When trying to demux avc or mpeg2 files from a mkv file, I get an error message that it is not supported. When will I be able to extract these files?
No idea. Both are very, very low on my priority list because I will have to write complete MP4 and MPEG PS muxers. Way too much work for way too little gain. I can easily add raw extraction so that you'd end up with AVC ES and MPEG-2 ES. There are enough programs that can handle those.
I have a mkv file with avc video, 2x HE-AAC audio and chapters, and when I try to play it, I only get a still frame and running audio, but when I seek or press stop and play again, everything works fine,
No idea. Maybe someone else can help you with that.
Mosu
23rd March 2005, 19:42
Originally posted by Esc
Extracting streams takes forever.
I seem to have fixed it. It looks like a compiler bug to me -- over-optimization resulting loops with a huge number of passes. You can try this build:
http://www.bunkus.org/videotools/mkvtoolnix/win32/pre/mkvtoolnix-unicode-1.4.1-build20050323-2.rar
Rumbah
23rd March 2005, 23:51
Extracting to ES is enough for me, it would be great if you add it.
Esc
24th March 2005, 16:09
Originally posted by Mosu
I seem to have fixed it.
Works like a charm! Thank you.
Migui
25th March 2005, 12:02
When trying to extract files from a .mkv that contains MPEG-1 video (from SVCD) and mp4 sound coded with nero i have the following errors (using mkvtoolnix-unicode-1.4.1-setup.exe)
-> The resultant .mkv file is not playable, bsplayer says Unknown file format and both bsplayer and media player classic crash.
-> I am unable to extract from that resultant .mkv file: Error: Extraction of track number 1 with the CodecID 'V_MPEG1' is not supported.
Is MPG still not fully supported? is it a bug? Is the MPG format not appropiated for mkv?
stephanV
25th March 2005, 12:11
extraction is not supported (yet)
for playback, have you tried the latest splitter from Haali?
Migui
26th March 2005, 22:36
With Haali splitter seems to work :D
azsd
28th March 2005, 09:43
1.4.0/1.4.1 unicode release,mkvinfo terminal directly without any console output.
unicode 20050203-2 has same problem.
1.0.2 mkvinfo works fine.
Windows 2003,P4 2.4 768DDR
Mosu
28th March 2005, 10:01
Originally posted by azsd
1.4.0/1.4.1 unicode release,mkvinfo terminal directly without any console output.
unicode 20050203-2 has same problem.
1.0.2 mkvinfo works fine.
Windows 2003,P4 2.4 768DDR
Known, will be fixed in the next release.
azsd
28th March 2005, 10:19
thx muso
:D
and is the font could be specialed for mmg.exe?
now the fonts dynamic setted by system so i get some control text(nearly) clipped,and the window was lagger than my desktop,I can't see the status bar or title bar....
http://my1993.com/PpsDES/Cap/mmg_clipd.png
I had try to get partical sources of mkvtoolnix from SNV but I just haven't collect all other libs file
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.