26.06.2024, 13:53
when i encoded the whole movie i noticed gradual a/v async towards the end of the file, ie ok at the beginning, but by the end visible loss of lipsync.
i think vapour (ie vapour source plugins) lacks the avisource approach of vdub and avs, so the dropped frames in the .avi file are not accounted for and they accumulate and cause audio-video drift.
ie none of the loaders vapour has employs the vdub loader (which was probably just copy/pasted into avs in the beginning).
time, again, is not on my side.![Big Grin Big Grin](https://forum.selur.net/images/smilies/biggrin.png)
the solution should be to use avs in the hybrid and to check "avisource" in the source options, but i didn't try this, because i noticed some shimmer in the way qtgmc treats graphics on the screen (tv station logos, subtitles....), even slowest setting mangles it a bit....are you aware if qtgmc did ever have some optimisations for sharp graphics?
another solution would be to re-save the file in vdub with some lossless compression, that way vdub deals with dropped frames, ie it gets rid of those flags and just makes normal avi file without drops.
another question here: you're not exposing the avs preview script in a same way it's easy to find a vpy script in temp folder?
is it completely internal to hybrid, or it can be found in some dark corner of some temp folder?![Wink Wink](https://forum.selur.net/images/smilies/wink.png)
hold on
there it is...it's erased as soon as preview is closed.
i think vapour (ie vapour source plugins) lacks the avisource approach of vdub and avs, so the dropped frames in the .avi file are not accounted for and they accumulate and cause audio-video drift.
ie none of the loaders vapour has employs the vdub loader (which was probably just copy/pasted into avs in the beginning).
time, again, is not on my side.
![Big Grin Big Grin](https://forum.selur.net/images/smilies/biggrin.png)
the solution should be to use avs in the hybrid and to check "avisource" in the source options, but i didn't try this, because i noticed some shimmer in the way qtgmc treats graphics on the screen (tv station logos, subtitles....), even slowest setting mangles it a bit....are you aware if qtgmc did ever have some optimisations for sharp graphics?
another solution would be to re-save the file in vdub with some lossless compression, that way vdub deals with dropped frames, ie it gets rid of those flags and just makes normal avi file without drops.
another question here: you're not exposing the avs preview script in a same way it's easy to find a vpy script in temp folder?
is it completely internal to hybrid, or it can be found in some dark corner of some temp folder?
![Wink Wink](https://forum.selur.net/images/smilies/wink.png)
hold on
--input
C:\Users\i4004\AppData\Local\Temp\tempPreviewAvisynthFile13_26_31_399.avs
ClearAutoloadDirs()
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
LoadPlugin("C:\Program Files\Hybrid\32bit\avisynthPlugins\LSMASHSource.dll")
LoadPlugin("C:\Program Files\Hybrid\32bit\avisynthPlugins\RgTools.dll")
LoadPlugin("C:\Program Files\Hybrid\32bit\avisynthPlugins\masktools2.dll")
LoadPlugin("C:\Program Files\Hybrid\32bit\avisynthPlugins\mvtools2.dll")
LoadPlugin("C:\Program Files\Hybrid\32bit\avisynthPlugins\nnedi3.dll")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\mtmodes.avsi")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\QTGMC.avsi")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\Zs_RF_Shared.avsi")
# loading source: C:\Video\00138_no tripod stabi.mkv
# color sampling YV12@8, matrix: bt709, scantyp: top field first, luminance scale: limited
LWLibavVideoSource("C:\Video\00138_no tripod stabi.mkv",cache=false,format="YUV420P8", prefer_hw=0)
# current resolution: 1920x1080
# deinterlacing
AssumeTFF()
QTGMC(Preset="Slow", ediThreads=2)
# adjust color to RGB32 (color matrix: Rec709)
ConvertToRGB32(matrix="Rec709")
PreFetch(6)
# output: color sampling RGB32@8, matrix: bt709, scantyp: progressive, luminance scale: limited
return last
there it is...it's erased as soon as preview is closed.