PDA

View Full Version : mkvtoolnix 1.6.5 is out


Pages : 1 [2]

Tima
14th June 2006, 14:58
I don't think you can stretch ac3 audio without reencoding.

Hmm, but it works from commandline and the resilt is nice.. :)

thuongshoo
15th June 2006, 04:24
Hi ! I trying to encode VFR file. I want to have VFR file. I have some problems which need to solve.
I muxed a WMV file to MKV file
MPC play MKV file without trouble
I edited 1 AVS file. If I use convertfps option, MPC will can't play MKV file. Can you tell me the reason ?

Then, I didn't use convertfps option and open AVS file by Megui, ..... etc. I have MKV file with H264, timecode.txt. I mux
mkvmerge v1.7.0 ('What Do You Take Me For') built on Apr 28 2006 17:19:57
'C:\Documents and Settings\Administrator\My Documents\jangnara.mkv': Using the Matroska demultiplexer.
'E:\Jang na ra\Jang Nara - Its probably love [MV].mkv': Using the Matroska demultiplexer.
'C:\Documents and Settings\Administrator\My Documents\jangnara.mkv' track 1: Using the MPEG-4 part 10 (AVC) video output module.

Error: XML parser error at line 1 of 'C:\Documents and Settings\Administrator\My Documents\timecodes.txt': not well-formed (invalid token). Remember that special characters like &, <, > and " must be escaped in the usual HTML way: &amp; for '&', &lt; for '<', &gt; for '>' and &quot; for '"'. Aborting.


AVS file

DirectShowSource("E:\Jang na ra\Jang Nara - Its probably love [MV].mkv", fps=23.970009 , audio=false)

#TFM(mode=1,output="tfm.txt")

#TDecimate(mode=4,output="stats.txt")

TFM(mode=1)
TDecimate(mode=5,hybrid=2,dupthresh=1.0,input="stats.txt",tfmin="tfm.txt",mkvout="timecodes.txt")
#convertToYV12()

# timecode format v1
Assume 23.970009
# TDecimate v0.9.12.1 by tritical
# Mode 5 - Auto-generated mkv timecodes file
0,139,19.176007
1305,1432,19.176007
1498,1501,19.176007
1692,1695,19.176007
1701,1708,19.176007
1719,1722,19.176007
1728,1735,19.176007
1756,1763,19.176007
1799,1802,19.176007
1848,1850,14.382005
1851,1858,19.176007
1864,1879,19.176007
1885,1888,19.176007
1999,2002,19.176007
2013,2016,19.176007
2152,2155,19.176007
2201,2212,19.176007
2213,2215,14.382005
2216,2219,19.176007
2225,2228,19.176007
2239,2242,19.176007
2258,2265,19.176007
2291,2294,19.176007
2305,2308,19.176007
2314,2361,19.176007
2367,2382,19.176007
2413,2420,19.176007
2421,2423,14.382005
2429,2504,19.176007
2510,2513,19.176007
2519,2522,19.176007
2528,2535,19.176007
2546,2549,19.176007
2565,2572,19.176007
2723,2726,19.176007
3012,3043,19.176007
3169,3192,19.176007
3578,3593,19.176007
3604,3607,19.176007
3653,3660,19.176007
3791,3834,19.176007
3950,3953,19.176007
3999,4006,19.176007
4012,4023,19.176007
4029,4036,19.176007
4042,4057,19.176007
4273,4292,19.176007
4638,4641,19.176007
4762,4777,19.176007
4783,4806,19.176007
5722,5725,19.176007
5826,5953,19.176007
6049,6060,19.176007
6071,6078,19.176007
6084,6095,19.176007
6566,6569,19.176007
6605,6700,19.176007
6711,6730,19.176007
6761,6764,19.176007
6800,6839,19.176007
6845,6912,19.176007
6958,7001,19.176007
7007,7010,19.176007
7186,7193,19.176007
7539,7558,19.176007
7569,7572,19.176007
7618,7625,19.176007
7841,7852,19.176007
# vfr stats: 19.22% film 80.78% video
# vfr stats: 1645 - film 6913 - video 8558 - total
# vfr stats: longest vid section - 1165 frames
# vfr stats: # of detected vid sections - 63

foxyshadis
15th June 2006, 10:14
Did you load the timecodes correctly? It'd give an error like that if you loaded them into the tags box, I think.

Not sure what you mean by enabling convertfps.

Also, if you're decimating already decimated anime you're probably going to have smoothness problems... you might want dedup instead. What you're doing will turn:
1 1 2 2 3 3 4 4 5 5
into
1 1 2 3 3 4 5 5
when you want
1 2 3 4 5
unless this is a really screwy animation. The source being mkv 24 fps kind of points to being already decimated.

Isochroma
18th June 2006, 00:52
I made an MKV with native MPEG-4 ASP and AC3 audio. After burning it to DVD, I played it and realized that the audio was early by some amount. Using the ffdshow audio delay filter, I found that a 250ms delay corrected the sync issue.

The original MKV was muxed with a delay value of -16ms for the audio track. Now, if using the GUI I load this file and re-mux to MKV, would I use a delay value of 234ms (250-16)? What I mean is when MKVs are remuxed, does the previous muxing's delay get added to the current delay? Are they cumulative, or does it reset every time?

MeteorRain
18th June 2006, 14:20
I made an MKV with native MPEG-4 ASP and AC3 audio. After burning it to DVD, I played it and realized that the audio was early by some amount. Using the ffdshow audio delay filter, I found that a 250ms delay corrected the sync issue.

The original MKV was muxed with a delay value of -16ms for the audio track. Now, if using the GUI I load this file and re-mux to MKV, would I use a delay value of 234ms (250-16)? What I mean is when MKVs are remuxed, does the previous muxing's delay get added to the current delay? Are they cumulative, or does it reset every time?
/me doesn't know the answer

but you could find it yourself by mux a file with delay 10000ms, and remux it with delay 0ms and see if it delays 10000ms or not. ;p

Isochroma
18th June 2006, 18:26
Ah yes, that would work!

fight2win
18th June 2006, 18:33
if i encode a video (x264 with mp4 output) with clever anamorphic encoding option turned on in megui (resize to mod16), and then it is showing a dar of 22:9 in avs preview, so when i mux it in mkv container, should i enter a display aspect ration of 22:9, or just leave it blank?

Haali
18th June 2006, 20:09
mkvmerge copies AR unless you override it on command line, so you don't need to enter it the second time.

thuongshoo
25th June 2006, 11:47
Did you load the timecodes correctly? It'd give an error like that if you loaded them into the tags box, I think.

Not sure what you mean by enabling convertfps.

Also, if you're decimating already decimated anime you're probably going to have smoothness problems... you might want dedup instead. What you're doing will turn:
1 1 2 2 3 3 4 4 5 5
into
1 1 2 3 3 4 5 5
when you want
1 2 3 4 5
unless this is a really screwy animation. The source being mkv 24 fps kind of points to being already decimated.
yes ! perhaps I didn't choose timecodes correctly. :D . Thanks !

vlada
26th June 2006, 08:30
Hello,

I'd like to post 2 feature requests for MKVMerge GUI.

1) Tag editor

2) Sometimes I'm joining more MP3s into a single MKA file. It would be nice to have an option to automatically create chapters from lengths of the original files.

Currently when joining MP3s, I'm usiong CUE sheet creator (http://tmp.reharmonize.net/foobar/) for foobar2000. Then I create MKA file and again use foobar2000 to write tags. But I'm not sure, if the tags are written correctly. For example foobar2000 matroska plugin won't read chapters as track numbers.

FredThompson
7th July 2006, 20:09
I'm having touble demuxing mkv files.

Have installed mkvtoolnix 1.7.0 for Windoze and tried to use MKVE_Wizard to demux. The mkv files are parsed, I can select the streams and set the destination directory. However, there is no extraction. I see messages in the log that the extraction was started and completed but no resultant files.

What should I do to troubleshoot this? Is there something else which must be installed?

LeMoi
7th July 2006, 20:12
Go in the commandlinde tab, and copy/paste it in a stand alone cmd window

Liisachan
7th July 2006, 23:59
I've never tried gui, but is MKVE Wizard better than mkvextractgui? I have an impression that mkvextractgui is updated more frequently (at least lately)...

Egh
8th July 2006, 02:06
I have an impression that mkvextractgui is updated more frequently (at least lately)...

Yeah, "lately" meaning here last couple of weeks. The project was stuck at 1.5.5 version for nearly a year before that.

FredThompson
8th July 2006, 05:32
I've tried both GUIs, launched from the same folder as the executables. Neither works. Both give the same lack of result...result.

Just tried CLI, mkvtoolnix complains about not being able to handle V_MPEG2 codec.

Grrr...

Is there a way to get it to use Haali MatroskaSplitter?

foxyshadis
8th July 2006, 05:48
If you have an mpeg ps muxer, such as xmuxer, you can always use graphedit or maybe even their custom de/muxer. (But unregister elecard's crap as soon as you finish, or it'll kill mpeg playback performance, they're so slow.)

FredThompson
8th July 2006, 19:02
OK, I tried that but GraphEdit doesn't recognize mkv as a valid filetype. I've got the Haali splitter and mkvtoolnix loaded. What are I missing that will allow GraphEdit to recognize mkv?

tomos
9th July 2006, 10:32
does mkvmerge work with specifying an AR for divx video?

it works fine for me with AVC video but the MKV made from divx seems to ignore this AR setting

LeMoi
9th July 2006, 10:40
It's maybe a decoding problem, how do you decode divx ? With ffdshow ?

GodofaGap
9th July 2006, 13:18
OK, I tried that but GraphEdit doesn't recognize mkv as a valid filetype. I've got the Haali splitter and mkvtoolnix loaded. What are I missing that will allow GraphEdit to recognize mkv?
What do you mean? You can select 'all files (*.*)' in Graphedit.

tomos
9th July 2006, 21:54
It's maybe a decoding problem, how do you decode divx ? With ffdshow ?

yes mate. you think it might be an ffdshow prob?

thinking about it you might be right. playing back AVC video with coreavc and the speficied AR is stuck to. playing the same video with powerdvds AVC decoder and it ignores that AR.

guess its down to the decoder as you said.

MatMaul
22nd July 2006, 15:04
hello !

I have a problem :

I mux a raw xvid stream (producted by xvid_encraw) in mp4 with mp4box and I remux it in mkv with the last mkvmerge and I use ordered chapters in this mkv file :
<Chapters>
<EditionEntry>
<EditionFlagOrdered>1</EditionFlagOrdered>
<EditionFlagHidden>0</EditionFlagHidden>
<EditionFlagDefault>1</EditionFlagDefault>
<EditionUID>167572397</EditionUID>
<ChapterAtom>
<ChapterDisplay>
<ChapterString>1</ChapterString>
</ChapterDisplay>
<ChapterUID>3900675256</ChapterUID>
<ChapterTimeStart>00:00:00.000000000</ChapterTimeStart>
<ChapterTimeEnd>00:00:30.000000000</ChapterTimeEnd>
<ChapterFlagHidden>0</ChapterFlagHidden>
<ChapterFlagEnabled>1</ChapterFlagEnabled>
</ChapterAtom>
<ChapterAtom>
<ChapterDisplay>
<ChapterString>2</ChapterString>
</ChapterDisplay>
<ChapterUID>3351978163</ChapterUID>
<ChapterTimeStart>00:01:30.000000000</ChapterTimeStart>
<ChapterTimeEnd>00:02:00.000000000</ChapterTimeEnd>
<ChapterFlagHidden>0</ChapterFlagHidden>
<ChapterFlagEnabled>1</ChapterFlagEnabled>
</ChapterAtom>
<ChapterAtom>
<ChapterDisplay>
<ChapterString>3</ChapterString>
</ChapterDisplay>
<ChapterUID>1574385040</ChapterUID>
<ChapterTimeStart>00:01:00.000000000</ChapterTimeStart>
<ChapterTimeEnd>00:01:30.000000000</ChapterTimeEnd>
<ChapterFlagHidden>0</ChapterFlagHidden>
<ChapterFlagEnabled>1</ChapterFlagEnabled>
</ChapterAtom>
</EditionEntry>
</Chapters>

when the video begin the "2" chapter (so when the splitter seek to 1:30 in the video), the video freeze. The video freeze also when I seek in the "2" chapter but no problem if I want to watch (or seek in) the 1 and 3 chapters. I use mpc.

No problem with the direct mkv output of xvid_encraw BUT the produced video have big macroblock in vlc (no problem in mpc), wich don't appear if I use the chain "raw->mp4->mkv".

So how can I have a compatibility with vlc and ordered chapters ?

Can you fix the problem of the ordered chapters in mkvmerge ?

I can send to you sample if you want.

Thanks !

Kurtnoise
23rd July 2006, 08:00
hello !
Hi :D

I have a problem :

I mux a raw xvid stream (producted by xvid_encraw) in mp4 with mp4box and I remux it in mkv with the last mkvmerge and I use ordered chapters in this mkv file :
<Chapters>
<EditionEntry>
<EditionFlagOrdered>1</EditionFlagOrdered>
<EditionFlagHidden>0</EditionFlagHidden>
<EditionFlagDefault>1</EditionFlagDefault>
<EditionUID>167572397</EditionUID>
<ChapterAtom>
<ChapterDisplay>
<ChapterString>1</ChapterString>
</ChapterDisplay>
<ChapterUID>3900675256</ChapterUID>
<ChapterTimeStart>00:00:00.000000000</ChapterTimeStart>
<ChapterTimeEnd>00:00:30.000000000</ChapterTimeEnd>
<ChapterFlagHidden>0</ChapterFlagHidden>
<ChapterFlagEnabled>1</ChapterFlagEnabled>
</ChapterAtom>
<ChapterAtom>
<ChapterDisplay>
<ChapterString>2</ChapterString>
</ChapterDisplay>
<ChapterUID>3351978163</ChapterUID>
<ChapterTimeStart>00:01:30.000000000</ChapterTimeStart>
<ChapterTimeEnd>00:02:00.000000000</ChapterTimeEnd>
<ChapterFlagHidden>0</ChapterFlagHidden>
<ChapterFlagEnabled>1</ChapterFlagEnabled>
</ChapterAtom>
<ChapterAtom>
<ChapterDisplay>
<ChapterString>3</ChapterString>
</ChapterDisplay>
<ChapterUID>1574385040</ChapterUID>
<ChapterTimeStart>00:01:00.000000000</ChapterTimeStart>
<ChapterTimeEnd>00:01:30.000000000</ChapterTimeEnd>
<ChapterFlagHidden>0</ChapterFlagHidden>
<ChapterFlagEnabled>1</ChapterFlagEnabled>
</ChapterAtom>
</EditionEntry>
</Chapters>

when the video begin the "2" chapter (so when the splitter seek to 1:30 in the video), the video freeze. The video freeze also when I seek in the "2" chapter but no problem if I want to watch (or seek in) the 1 and 3 chapters. I use mpc.

Can you fix the problem of the ordered chapters in mkvmerge ?
Question is why did you set Chapter 3 before Chapter 2 regarding timestamps ?

MatMaul
23rd July 2006, 11:13
because it's ordered chapters :D !
more informations here : http://forum.doom9.org/showthread.php?t=99489&highlight=chapters+ordered

Kurtnoise
23rd July 2006, 12:39
dooo...I completely missed this part. :o You use the Haali Splitter with MPC or Gabest's one ?

MatMaul
23rd July 2006, 12:44
the haali splitter

joseph5
23rd July 2006, 21:19
I found a bug:

Create and save a chapter file with the Chapter Editor, save it, select "New Chapters" from the menu. Then load the file you just saved and it will crash.

tritical
27th July 2006, 05:44
Hi Mosu,

I have a vfr mkv file which I ran through mkvextract to extract an avi file and v2 timecode file. The extracted avi file has 34163 frames in it. The timecode file output by mkvextract has entries for only 34133 frames. If I run the same mkv file through mkv2vfr, the extracted avi file has only 34133 frames and the timecode file that is output has entries for 34133 frames. Some looking into the avi file that mkvextract outputs shows that the extra 33 frames that are present are all null frames (there were no null frames in the original avi that was muxed). Any idea what might be causing the extra 33 null frames? I'm using mkvtoolnix 1.7 from June 15, 2006. The tc file from mkvextract exactly matches the tc file from mkv2vfr.

Haali
27th July 2006, 21:39
Afaik mkvextract uses defaultduration for avi framerate and inserts null frames in avi to match the timestamps. This is a reverse process to what mkvmerge does. Mkvmerge discards null avi frames, so you get a vfr matroska file from a 120fps avi, when mkvextracting such file null frames are inserted back.

Liisachan
27th July 2006, 23:09
Interesting.

But aren't "extra 33 null frames" too few, if the conversion is 24/30 VFR to 120? In such a frame rate conversion. the nominal number of frames including null frames should be at least 3 times (typically more like 4 times) as many as the original. That is, like 100,000 - 120,000 not 34,000+.

@tritical
Will you check the exact fps in AVI (dwRate and dwScale). It shouldn't be like 120. Perhaps mkvextract uses an avarage frame-rate, which might be weird looking like 24.018928, and if it is slighly bigger than 23.9760 or 23.97602... then there might be a few extra null frams for padding. Just a random guess =)

tritical
28th July 2006, 11:25
The dwrate/dwscale of the avi output by mkvextract are 29970000/1000000.

The original avi file that was muxed into the mkv was not a 120fps file... it was just a plain avi file (xvid codec) with 34133 frames (no null frames) and a framerate of 29.970. It and the timecode file that was used during muxing (consisted of 23.976/29.970 sections) were made via avisynth w/ tivtc + vdub. I guess what I am wondering is why the extracted avi wouldn't have the same number of frames as the one that was muxed?

What I was doing was extracting the avi and tc file from the mkv and then creating a 120 fps avi using those. The problem I ran into was that the avi file had more frames (due to the extra null frames) then there were entries in the timecode file that it output (the timecode file had entries for the same number of frames as there were in the original avi). If I used the avi that was output by mkv2vfr (which had the correct number of frames), or removed the null frames from the avi output by mkvextract (which resulted in an avi that exactly matched the one output by mkv2vfr, which exactly matched the original), everything worked fine.

Lukage
29th July 2006, 18:21
A quick question: Could someone provide a mirror? The whole bunkus site appears to be down and I was looking to try this software out! Thanks!

Liisachan
30th July 2006, 01:38
it's up for me tho. here (http://ffdshow.faireal.net/mirror/Misc%20(not%20by%20celtic_druid)/Mosu/)

Lukage
30th July 2006, 05:15
it's up for me tho. here (http://ffdshow.faireal.net/mirror/Misc%20(not%20by%20celtic_druid)/Mosu/)

Thanks!

LeMoi
30th July 2006, 10:43
http://www.bunkus.org/videotools/mkvtoolnix/win32/ seems to be back

Caroliano
30th July 2006, 20:15
I'm tring to mux an video file with an ordered charpter file created by AviMux GUI, but mmg recuse to do it. How I can mux this ordered chapter or easily create an ordered chapter like that by mmg?
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Segment SYSTEM "matroskasegment.dtd">
<Segment>
<Chapters>
<EditionEntry>
<EditionFlagDefault>1</EditionFlagDefault>
<EditionFlagOrdered>1</EditionFlagOrdered>
<EditionUID>2722280891</EditionUID>
<ChapterAtom>
<ChapterTimeStart>00:00:00.000</ChapterTimeStart>
<ChapterUID>2791947186</ChapterUID>
<ChapterSegmentUID format="hex">81 B4 92 15 9C 36 04 DB AA 80 D5 4D 07 3A DB 46</ChapterSegmentUID>
<ChapterDisplay>
<ChapterString>Abertura</ChapterString>
<ChapterLanguage>und</ChapterLanguage>
</ChapterDisplay>
</ChapterAtom>
<ChapterAtom>
<ChapterTimeStart>00:00:00.000</ChapterTimeStart>
<ChapterTimeEnd>00:14:45.302</ChapterTimeEnd>
<ChapterUID>2021605512429988297</ChapterUID>
<ChapterSegmentUID format="hex">9E E9 A3 DF 0E B3 02 A6 A0 4A 03 E5 2E 34 35 6D</ChapterSegmentUID>
<ChapterDisplay>
<ChapterString>Episódio</ChapterString>
<ChapterLanguage>und</ChapterLanguage>
</ChapterDisplay>
</ChapterAtom>
<ChapterAtom>
<ChapterTimeStart>00:00:00.000</ChapterTimeStart>
<ChapterUID>1814493169130253259</ChapterUID>
<ChapterSegmentUID format="hex">AC AD 5A 9E 61 CA D5 9C 9F C5 60 00 FB 3F 0F 58</ChapterSegmentUID>
<ChapterDisplay>
<ChapterString>Encerramento</ChapterString>
<ChapterLanguage>und</ChapterLanguage>
</ChapterDisplay>
</ChapterAtom>
</EditionEntry>
</Chapters>
<Tags>
<Tag>
<Targets>
<EditionUID>2722280891</EditionUID>
</Targets>
</Tag>
</Tags>
</Segment>

issa
19th August 2006, 10:56
SVN r3313 MSVC unicode Build,

Download: Turboupload (http://d.turboupload.com/d/894014/mkvtoolnix-1.7-r3313-20060819-unicode-msvc.7z.html)

MacAddict
19th August 2006, 12:22
SVN r3313 doesn't like my AAC M4A files generated from BeHappy. It crashes immediately. The 1.7.0 release of course doesn't have this problem.

Egh
29th August 2006, 02:04
Since there's apparently no thread for 1.7.0, reporting here:

in last available pre build http://www.bunkus.org/videotools/mkvtoolnix/win32/pre/mkvtoolnix-unicode-1.7.0-build20060719-1.rar
assignment of MIME types in "attachments" tab is buggy.

If you have to assign MIME type manually (in my case it was .otf type for opentype fonts, wanted to assign application/x-font for those files), then if you remove any entry from the attachments list, all user assigned mime types are lost.

What's more interesting, after that you're unable to assign them at all (i.e. information about that is not saved once you move from one entry to another).

Liisachan
6th September 2006, 13:08
Ayana, the author of foo_input_matroska and other MKA related foobar2000 plug-ins, recently reported that mkvmerge didn't set SegmentInfo::Duration properly.

Apparently, when it has to do rounding, it is doing floor by lazy casting, resulting in Duration that may be too few by 1 (when the fraction is >= .5 ). Mkvextract can accidentally decode such an MKA properly as it doesn't depend on Duration, but other general apps including fb2k have got a serious problem here. That's what I heard and it could be yet another reason audiophiles are not very happy with matroska.

LeMoi
26th October 2006, 18:57
I have a problem remuxing an mkv.
Original file is 348MB, final file is 197 MB. When i mux with mmg, no error code, idem with Avi-Mux gui
http://xs308.xs.to/xs308/06434/wrong_mkv.jpg.xs.jpg (http://xs308.xs.to/xs308/06434/wrong_mkv.jpg)
As you can see, original file is 1h09m59s, but final one is 41m06. Original plays fine, but hangs at 41m06 and plays back from start, but if i go to 41m10 for example, it plays fine.
It was created with latest MeGUI, and with x264.exe ; i created mkvs with same logs and params, and everything is fine.
Is my mkv dead, or can i still fix it ?

Mosu
6th November 2006, 09:12
Hmm, mkvmerge does not have the best error recovery (read: almost none at all). Could you please upload the file to my FTP server? Maybe I'll find some time to improve error recovery a bit.