PDA

View Full Version : MKV files - Audio and Video out of sync


valorien
11-05-2007, 10:23 PM
Hi everyone :)

I just got my new computer and installed Vista X64 on it.
After years of using MS Media Player, I thought it's time to heed the advices I've been getting from my friends and move to KMPlayer.

What can I say? this is truly the best media playing software I have ever worked with, and my only regret is that I haven't found out about it sooner.

But alas, not all is well:
I have some MKV files which I'm trying to play, but I keep running into the same problem - the Video and Audio are completely out of sync in all of them.
I don't know exactly why this is happening because these files work great on my other computer (XP 32 Bit).

Some info:

- I'm running latest beta of KMPlayer.

- The computer has no codecs or codec packs of any kind - just media player and KMPlayer. It's a fresh install after a first format.

- This is probably not a slow hardware issue:
I'm on a Q6700, 4GB RAM, NVIDIA 8800 Ultra PC.

- The files are all HD movies in 1080P.


Here is my Ctrl+Tab info from one of the files:

[Primary Filtergraph]
0) - KMP Matroska Reader
1) - AC3 Filter for DTS
2) - KMP Video Codec
3) - KMP Video Transform
4) - KMP Audio Transform(Copy)
5) - Video Mixing Renderer9(Windowed)
6) - Default DirectSound Device

[Video Info]
Decoder - (MPEG2) KMP Video Codec(AVC1-libcodec.dll)
Format - Major Type: Video - Sub Type: YUY2
VideoInfo2: YUY2 1920X800, 16 bits
Format - Major Type: Video - Sub Type: YV12
VideoInfo2: YV12 2048X-800, 12 bits

[Audio Info]
Decoder - (0x8) AC3 Filter for DTS
Format - Major Type: Audio - Sub Type: PCM
WaveFormatEx: ExtPCM(0xFFFE), 48000 Hz, 16 Bits, 6 Ch

[Basic Video DSP]
Internal brightness: 100%

[Advanced Video DSP]
+Video Plugin

[Audio DSP]
+Pre amplification: Main: (100%)
+Auto Volume Control
+Audio Plugin

[Subtitle Settings]
+Draw Mode(Selected): Image
+Draw Mode(In use): On Overlay
+Text Rendering Method: Rasterizer
+Support HTML Tags(SMI)

[KMPlayer]
+Version: 2.9.3.1402(5,463,552, 04/11/2007 23:58:52)
+libcodec.dll: Exist(4,407,296, 23/10/2007 07:05:18)
+libmplay.dll: Exist(438,784, 21/08/2007 22:11:32)
+PProcDLL.dll: Exist(1,769,472, 19/08/2007 23:34:10)
+LibDTS.dll: Exist(144,384, 24/05/2007 09:01:04)
+liba52.dll: Exist(56,320, 24/05/2007 09:00:52)
+libfaad2.dll: Exist(212,480, 24/05/2007 09:00:28)
+libmad.dll: Exist(92,672, 24/05/2007 09:01:18)
+libmpeg2.dll: Exist(126,464, 24/05/2007 09:01:46)
+theora.dll: Exist(196,608, 13/04/2007 08:46:04)
+OggVorbis.dll: Exist(1,165,312, 24/05/2007 09:08:26)
+xviddll.dll: Exist(655,872, 29/07/2007 01:11:58)
+Old_QUARTZ.DLL: Exist(770,048, 05/05/1999 22:22:00)
+AboutDll.dll: Exist(105,472, 03/10/2005 14:12:18)
+DTView.dll: Exist(104,448, 20/11/2006 21:33:20)
+MPlayer.dll: Missed
+ImLoader.dll: Exist(856,064, 15/01/2006 14:21:26)


--------------------
[File Info]
--------------------
C:\Users\Valar\Desktop\The.Sum.Of.All.Fears.2002.1 080p.HDDVD.x264-hV.mkv
General
Complete name : C:\Users\Valar\Desktop\The.Sum.Of.All.Fears.2002.1 080p.HDDVD.x264-hV.mkv
Format : Matroska
File size : 10.1 GiB
PlayTime : 2h 3mn
Bit rate : 12 Mbps
Encoded date : UTC 2007-10-26 18:08:35
Writing application : mkvmerge v2.0.2 ('You're My Flame') built on Feb 21 2007 23:40:55
Writing library : libebml v0.7.7 + libmatroska v0.8.1
Video #1
Codec : MPEG-4 AVC
Codec/Info : MPEG4 ISO advanced profile
PlayTime : 2h 3mn
Width : 1920 pixels
Height : 800 pixels
Display Aspect ratio : 2.400
Frame rate : 23.976 fps
Language : English
AspectRatio : 2.400
Audio #2
Codec : DTS
Channel(s) : 6 channels
Sampling rate : 48 KHz
Language : English


--------------------
[System Info]
--------------------
CPU 0: 2666MHz, Intel(R) Core(TM)2 Quad CPU Q6700 @ 2.66GHz, EM64T Family 6 Model 15 Stepping 11
CPU 1: 2666MHz, Intel(R) Core(TM)2 Quad CPU Q6700 @ 2.66GHz, EM64T Family 6 Model 15 Stepping 11
CPU 2: 2666MHz, Intel(R) Core(TM)2 Quad CPU Q6700 @ 2.66GHz, EM64T Family 6 Model 15 Stepping 11
CPU 3: 2666MHz, Intel(R) Core(TM)2 Quad CPU Q6700 @ 2.66GHz, EM64T Family 6 Model 15 Stepping 11
OS: Windows NT Professional(Version 6.0 Build 6000)
Video: NVIDIA GeForce 8800 Ultra

DirectX: 9.0c(4.09.00.0904)
Memory: All: 4,191,936 KB, Available: 2,911,188 KB, Used: 31%
CodePage: 1255, Charset:1
Instruction: MMX MMX2 SSE SSE2 SSE3 64Bits

[System Process]
System
smss.exe
csrss.exe
wininit.exe
csrss.exe
services.exe
lsass.exe
lsm.exe
winlogon.exe
svchost.exe
svchost.exe
svchost.exe
svchost.exe
svchost.exe
svchost.exe
audiodg.exe
SLsvc.exe
svchost.exe
svchost.exe
spoolsv.exe
svchost.exe
dwm.exe
taskeng.exe
explorer.exe
MSASCui.exe
rundll32.exe
rundll32.exe
RAVCpl64.exe
sidebar.exe
daemon.exe
SetPoint.exe
avgas.exe
SetPoint32.exe
KHALMNPR.exe
guard.exe
svchost.exe
svchost.exe
svchost.exe
SearchIndexer.exe
WUDFHost.exe
taskeng.exe
firefox.exe
KMPlayer.exe
SearchProtocolHost.exe
SearchFilterHost.exe


Thanks in advance,
And have a great day everyone ;)

z
11-06-2007, 02:05 AM
Frankly speaking, I do not have any experiences with vista things at all. Just try Haali's splitter. There is an article how to use Haali's splitter with KMP in Quick Tips/FAQ forum.

valorien
11-06-2007, 03:03 AM
Thanks Z,
I'll try it and update here.


OK Update time: Installed Haalli and worked by the article - no go.
Video and Audio were still out of sync. :eek:


BUT!! I installed COREAVC and worked by this article here: [Only registered and activated users can see links] and for some reason it works!!! :cool: but only in SuperSpeed and HighSpeed modes

Everything works for me now - even tough I don't have a clue why they do....Thanks anyway, and I sure hope this method help someone with the same issue.

Have a great day :-)

z
11-06-2007, 03:54 AM
There are two possibilities.

1. Libavcodec does not decode well the video file of AVC1. (AVC1 is a kind of the variant of H264 ([Only registered and activated users can see links]))

2. In the very high resolution of a video file to play, KMP video transform filter can cause A/V desync problem. You can confirm the problem by switching to superspeed mode. If there is a still A/V desync problem with superspeed mode enabled while using libavcodec shipped with KMP, the problem is in the decoder.

Or if there is no problem with superspeed mode enabled while using libavcodec, the problem is in KMP video transform filter. Can you make it clear the reason of A/V desync exactly?

valorien
11-06-2007, 06:48 PM
OK I'll try to answer this as best I can:

I'm using Libavcodec to decode AVC1, and the file still has A/V sync problems.
Even when using Super/High Speed modes - the problem remains.

So I'm guessing that option number 2 is the issue here - the problem is with the decoder.
Also, when I'm unchecking H.264 and AVC1 in Libavcodec, and use COREAVC to decode these instead - the movie works great at super and high speed modes, but not in normal speed for some reason.
BTW - I'm running this 1080P MKV files on a 1920X1200 resolution (24" monitor).

I sure hope this helps, and thanks again Z.

eilegz
11-13-2007, 02:22 AM
having the same issue im trying to run a mendoi and conclave gundam 00 episode, in HD h264 and aac

clener
11-13-2007, 10:56 PM
most MKV have bad A/V sync.

remux them with right audio delay with MKVtoolnix

Shoreguy
11-28-2007, 05:01 AM
I've found that KMP plays .mkv files great "right out of the box". The problem is with extremely high bit rate files like high def encodes which often happen to be .mkv files!

On my system the problem was solved by using Haali's media splitter and CoreAVC decoder, as mentioned above.

There are excellent guides for using both Haali's and CoreAVC here on the forums under "Quick tips and FAQ"

Be sure to follow them exactly (including uninstalling Haali's if it is already present on your system). You may also have to use "highspeed" or "superspeed" modes in KMP.

Don''t give up. it works!!!

EDIT> as far as mkv files having bad sync problems... I've not found that to be true at all.

valorien
12-08-2007, 11:05 PM
as far as mkv files having bad sync problems... I've not found that to be true at all.

I have to agree.
The issue I described is valid in any MKV file I have tried playing - and I have tried many.
Unfortunately, right now the best solution would be to install CoreAVC (which is not distributed freely) and combine it with KMplayer.

Have a nice day :-)

Drex
12-28-2007, 02:22 PM
I used to use Media Player Classic. It has controls for syncronizing audio to video. The "Plus and Minus" keys. I sure miss them with KMP when I jump 10 minutes ahead in a movie or press pause. Is there keys hidden somewhere to delay audio or advance it in 1 or 2 miliseconds at a time? I can't find it if there is... Only by pausing the video and going into the controls can I change it.(Playback/Audio Resync). It would be nice if there was keys to do it on the fly without pausing the video. Let me know if there is... Thanks. P.S. Love KMPlayer.

numberoneoppa
12-28-2007, 11:42 PM
1080p requires above 2.2 DUALCORE for the most part. what processor you running? i stick to 720p, it works good enough for me. i found that if you paused and replayed it would work alright.

edit: mkv//matroskas when made properly have no sync problems at all, especially with kmp on working machine.

Waldemar Sikorski
12-29-2007, 08:18 AM
See if you can assign keys to do that function.

masteripper
01-04-2008, 05:16 PM
Any solution to this problem?
I just Looove KMP but it gives me nothing but headache when i play 1080p matroska.
I have Coreavc and everything is fine until i do something like ffwd/rew/jump.
I would like to find a solution to get rid of all the other players.

mad
01-04-2008, 10:23 PM
masteripper, did you try "SuperSpeed" mode?

masteripper
01-05-2008, 06:30 PM
I uninstalled KMP reinstalled it used CoreAVC & Superspeed and now thankfully its OK thanks.
It seems something i did was wrong with my previous installation

mad
01-05-2008, 09:12 PM
So you can now get rid of other players... go! ;)

HighPerf
01-07-2008, 11:27 PM
thanks for the info. i had this problem, installed core 1.6 and problem solved. :)

Drex
02-21-2008, 07:16 AM
See if you can assign keys to do that function.
Yes. That's perfect. Works great for tweaking the audio while watching the video. Thanks Waly
:D