View Full Version : avisynth & matroska
derevo
31st July 2004, 23:10
when i try to open a matroska file by avisynth it has big desynchronization audio with video, about one sekond. i have installed matroska full pack.
i use this skript directshowsource("1.mkv", fps=12.500000) and
in matroska file properties framerate = 12.500000.
when i open mkv file with different players it does have any
desynchronization audio with video. how i can open mkv files correctly with avisynth, maybe it needs some dll:s from matroska pack?? i used picvideo and divx for video and wav for audio.
mkv file is written by virtualvcr-matroska.
Bogalvator
1st August 2004, 00:54
Maybe the EnsureVBRMP3Sync option will solve you problem?
http://www.avisynth.org/EnsureVBRMP3Sync
derevo
1st August 2004, 01:47
my mkv file has wav audio, not mp3.
jkwarras
1st August 2004, 11:20
Is your PC faster enough?
derevo
1st August 2004, 12:38
Is your PC faster enough?
it is athlon 1.47 ghz. during capturing processor used for 40%
i use fast codec, picvideo.
Wilbert
1st August 2004, 13:12
my mkv file has wav audio, not mp3.
It works for all audio, not only mp3. The docs should be corrected :)
Oh, and please, don't cross post.
derevo
1st August 2004, 13:45
EnsureVBRMP3Sync does not help.
jkwarras
1st August 2004, 14:01
Originally posted by derevo
[B]
i use this skript directshowsource("1.mkv", fps=12.500000)
Try to use only
directshowsource("1.mkv")
because specify the framerate isn't necessary.
when i open mkv file with different players it does have any
desynchronization audio with video.
That's weird. If it's open correctly with a player then there's no reason it should be desync if your PC is fast enough. And i think it's fast enough.
Did you try converting the file to another format? Or simply remuxing the file with mkvmerge? (just guessing here).
derevo
1st August 2004, 15:38
Try to use only
directshowsource("1.mkv")
if i not set fps, avisynth reports "you must set fps"
Did you try converting the file to another format?
files which i capture usually are tens gigabytes big.
and conversing whole file will take very long. how i can to convert
only part of big file??
jkwarras
1st August 2004, 16:24
Originally posted by derevo
how i can to convert
only part of big file??
Open the mkv into VDMod, select a little range, then make sure to check 'Direct stream copy' (it will prevent reencoding) and then save as 'Avi'. Open it through avysinth and see if the delay remains.
stephanV
1st August 2004, 16:33
maybe one thread would be useful :p
also read this ---> http://forum.doom9.org/showthread.php?s=&threadid=80578
derevo
1st August 2004, 17:27
Open the mkv into VDMod
VDMod makes very long parsing.
jkwarras
1st August 2004, 17:32
Originally posted by derevo
VDMod makes very long parsing.
That's normal. If you want to cut it I guess you've to wait :cool:
derevo
1st August 2004, 21:47
here is my mkv file http://koti.mbnet.fi/derevo/1.rar
Somebody could check up it to open by avisynth??
jkwarras
1st August 2004, 22:43
Originally posted by derevo
here is my mkv file http://koti.mbnet.fi/derevo/1.rar
Somebody could check up it to open by avisynth??
I can't. My PC is too slow to do it on realtime: P3 800Mhz.
derevo
2nd August 2004, 01:33
I can't. My PC is too slow to do it on realtime: P3 800Mhz.
hm, it is in very small resolution, on my 1.47 ghz it uses only 6-13% of my processor.
jkwarras
2nd August 2004, 09:57
I mean via avisynth, I certainly can't playback it on real-time :(
As you said, if it playback correctly on any media player, your problem isn't related to coded/dll/dshowfilter, but something else related to avisynth handling your clip. Anyway, it isn't a problem at all, surely just memory/RAM/CPU issue, but playback is correct and you can pass it throught avisynth to whatever operations you would like to (even if not realtime).
derevo
2nd August 2004, 13:47
I mean via avisynth, I certainly can't playback it on real-time
i mean via avisynth too. on my second computer (pentium 2 266) it (playback this file via avisynth) uses 58% of processor.
thana
3rd August 2004, 12:05
file works fine here, the .mkv, .avs and .avs without explicit fps declaration all play with almost no cpu-time (athlon xp 1600+) and perfectly in sync with mplayerc.
maybe your avisynth installation is screwed, try reinstalling it. or it's because of the big filesize (i think you mentioned 70Gb in the other thread?).
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.