[Matroska-users] sync issue with mkvmerge-3.3.0

Mike Castle dalgoda at gmail.com
Mon Apr 5 03:04:54 CEST 2010


I have a couple of AVI files that a simple mkvmerge has horrible AV
sync issues with, while 3.2.0 works fine.  I am using Debian testing,
nearly at head, with mkvtoolnix coming from bunkus.org

The usage is just:  mkvmerge output.mkv input.avi

On a 73 second sequence, the video plays fast and finishes in about 60
seconds while the audio finishes in the normal 73 seconds.  Another 11
minute movie has the same issue.  Files are both MPEG-1/2 and AC3
tracks.

The resulting MKVs are different sizes, the 3.3.0 versions being
longer in both cases.
-rw-r--r-- 1 nexus nexus  44734539 2010-04-04 17:03 11-3.2.0.mkv
-rw-r--r-- 1 nexus nexus  44734842 2010-04-04 17:26 11-3.3.0.mkv
-rw-r--r-- 1 nexus nexus 418456064 2010-04-04 17:05 4-3.2.0.mkv
-rw-r--r-- 1 nexus nexus 418456697 2010-04-04 17:27 4-3.3.0.mkv


mplayer -identify output for the two smaller files shows minor differences:
-ID_LENGTH=73.37
+ID_LENGTH=73.34


mkvinfo for the shorter versions below:

$ cat 11-3.2.0.mkv.info
+ EBML head
|+ Doc type: matroska
|+ Doc type version: 2
|+ Doc type read version: 2
+ Segment, size 44734503
|+ Seek head (subentries will be skipped)
|+ EbmlVoid (size: 4027)
|+ Segment information
| + Timecode scale: 1000000
| + Muxing application: libebml v0.7.8 + libmatroska v0.8.1
| + Writing application: mkvmerge v3.2.0 ('Beginnings') built on Feb
12 2010 17:13:46
| + Duration: 73.373s (00:01:13.373)
| + Date: Mon Apr  5 00:03:30 2010 UTC
| + Segment UID: 0x73 0xac 0xbf 0x84 0xed 0x9a 0xc8 0xc4 0xbc 0xc5
0x2d 0x77 0x16 0x8c 0x4b 0x32
|+ Segment tracks
| + A track
|  + Track number: 1
|  + Track UID: 1665472798
|  + Track type: video
|  + Enabled: 1
|  + Default flag: 1
|  + Forced flag: 0
|  + Lacing flag: 0
|  + MinCache: 2
|  + Timecode scale: 1
|  + Max BlockAddition ID: 0
|  + Codec ID: V_MPEG2
|  + Codec decode all: 1
|  + Default duration: 33.367ms (29.970 fps for a video track)
|  + Language: und
|  + Video track
|   + Pixel width: 720
|   + Pixel height: 480
|   + Interlaced: 0
|   + Display width: 640
|   + Display height: 480
|  + CodecPrivate, length 88
| + A track
|  + Track number: 2
|  + Track UID: 4170104020
|  + Track type: audio
|  + Enabled: 1
|  + Default flag: 1
|  + Forced flag: 0
|  + Lacing flag: 1
|  + MinCache: 0
|  + Timecode scale: 1
|  + Max BlockAddition ID: 0
|  + Codec ID: A_AC3
|  + Codec decode all: 1
|  + Default duration: 32.000ms (31.250 fps for a video track)
|  + Language: und
|  + Audio track
|   + Sampling frequency: 48000
|   + Channels: 2
|+ EbmlVoid (size: 932)
|+ Cluster
$ cat 11-3.3.0.mkv.info
+ EBML head
|+ Doc type: matroska
|+ Doc type version: 2
|+ Doc type read version: 2
+ Segment, size 44734806
|+ Seek head (subentries will be skipped)
|+ EbmlVoid (size: 4027)
|+ Segment information
| + Timecode scale: 1000000
| + Muxing application: libebml v0.7.8 + libmatroska v0.8.1
| + Writing application: mkvmerge v3.3.0 ('Language') built on Mar 24
2010 15:40:05
| + Duration: 73.344s (00:01:13.344)
| + Date: Mon Apr  5 00:26:33 2010 UTC
| + Segment UID: 0x9b 0xf8 0x48 0x30 0x8e 0x40 0xa8 0xaf 0x1c 0x6a
0x2e 0xb3 0x3c 0x84 0x98 0x62
|+ Segment tracks
| + A track
|  + Track number: 1
|  + Track UID: 2177070937
|  + Track type: video
|  + Enabled: 1
|  + Default flag: 1
|  + Forced flag: 0
|  + Lacing flag: 0
|  + MinCache: 2
|  + Timecode scale: 1
|  + Max BlockAddition ID: 0
|  + Codec ID: V_MPEG2
|  + Codec decode all: 1
|  + Default duration: 33.367ms (29.970 fps for a video track)
|  + Language: und
|  + Video track
|   + Pixel width: 720
|   + Pixel height: 480
|   + Interlaced: 0
|   + Display width: 640
|   + Display height: 480
|  + CodecPrivate, length 88
| + A track
|  + Track number: 2
|  + Track UID: 199551888
|  + Track type: audio
|  + Enabled: 1
|  + Default flag: 1
|  + Forced flag: 0
|  + Lacing flag: 1
|  + MinCache: 0
|  + Timecode scale: 1
|  + Max BlockAddition ID: 0
|  + Codec ID: A_AC3
|  + Codec decode all: 1
|  + Default duration: 32.000ms (31.250 fps for a video track)
|  + Language: und
|  + Audio track
|   + Sampling frequency: 48000
|   + Channels: 2
|+ EbmlVoid (size: 932)
|+ Cluster



What other kind of information can I provide to help track down this problem?



More information about the Matroska-users mailing list