WaryWolf
5th September 2007, 05:43
Hello!
In the last week or so i've been trying to produce a reasonable looking version of a video clip. I have two copies of the clip, produced from different sources, and so i'm trying to combine the two to add some details (one version of the video has some field blending, and the other has color bleeding, so i am trying to add the luma part only).
However, after rendering the clip through virtualdub into a huffyuv file, I can see that in some sections of the video, the overlay "de-syncs" and suddenly jumps to another section of the clip, before jumping back. I took a couple of screenshots to help illustrate what i'm talking about:
Overlay working fine:
http://i60.photobucket.com/albums/h25/Warywolf/snapshot20070905125347.jpg
a few frames later, desynchronised:
http://i60.photobucket.com/albums/h25/Warywolf/snapshot20070905125357.jpg
this problem doesn't show up while i'm previewing the clip in virtualdub, although i don't look at large amounts of consecutive frames because the script is quite slow - i normally just skip to different sections. I'm not sure if it is an avisynth- or huffyuv-related problem, or something else completely, but i think the most probable cause is that i've messed up a setting somewhere, so I thought this section would be the best place to post first.
anyway, here is my avisynth script - sorry if it's a bit convoluted!
first.avs:
DirectShowSource("D:\games\video stuff\Superflat Monogram\Superflat Monogram - For Louis Vuitton (Takashi Murakami - Mamoru Hosoda 2003).avi")
Telecide(order=1,guide=2,show=false,post=2,vthresh=25,blend=false)
Decimate(cycle=25,mode=2)
ConvertToRGB()
Crop(14,70,-7,-73)
LanczosResize(640,360)
ConvertToYV12()
AAA(640,360,10,10,1,2,chroma=false)
hqdn3d().fft3dfilter()
FrFun3b(4,4,3)
vmToon(sharpen=false,thinning=0,strength=24,luma_cap=200,threshold=4)
second.avs:
AviSource("D:\games\video stuff\Superflat Monogram\1607.avi")
DeleteFrame(1)
Levels(20, 1, 225, 0, 255)
Crop(0,0,-2,0)
LanczosResize(640,360)
AAA(640,360,10,10,1,2,chroma=false)
hqdn3d().fft3dfilter()
FrFun3b(4,4,3)
vmToon(sharpen=false,thinning=0,strength=24,luma_cap=200,threshold=4)
overlay.avs:
goodclip = Import("D:\games\video stuff\Superflat Monogram\first.avs")
badclip = Import("D:\games\video stuff\Superflat Monogram\second.avs")
Overlay(goodclip, badclip, mode="luma", opacity=0.5)
please help, if you can!
In the last week or so i've been trying to produce a reasonable looking version of a video clip. I have two copies of the clip, produced from different sources, and so i'm trying to combine the two to add some details (one version of the video has some field blending, and the other has color bleeding, so i am trying to add the luma part only).
However, after rendering the clip through virtualdub into a huffyuv file, I can see that in some sections of the video, the overlay "de-syncs" and suddenly jumps to another section of the clip, before jumping back. I took a couple of screenshots to help illustrate what i'm talking about:
Overlay working fine:
http://i60.photobucket.com/albums/h25/Warywolf/snapshot20070905125347.jpg
a few frames later, desynchronised:
http://i60.photobucket.com/albums/h25/Warywolf/snapshot20070905125357.jpg
this problem doesn't show up while i'm previewing the clip in virtualdub, although i don't look at large amounts of consecutive frames because the script is quite slow - i normally just skip to different sections. I'm not sure if it is an avisynth- or huffyuv-related problem, or something else completely, but i think the most probable cause is that i've messed up a setting somewhere, so I thought this section would be the best place to post first.
anyway, here is my avisynth script - sorry if it's a bit convoluted!
first.avs:
DirectShowSource("D:\games\video stuff\Superflat Monogram\Superflat Monogram - For Louis Vuitton (Takashi Murakami - Mamoru Hosoda 2003).avi")
Telecide(order=1,guide=2,show=false,post=2,vthresh=25,blend=false)
Decimate(cycle=25,mode=2)
ConvertToRGB()
Crop(14,70,-7,-73)
LanczosResize(640,360)
ConvertToYV12()
AAA(640,360,10,10,1,2,chroma=false)
hqdn3d().fft3dfilter()
FrFun3b(4,4,3)
vmToon(sharpen=false,thinning=0,strength=24,luma_cap=200,threshold=4)
second.avs:
AviSource("D:\games\video stuff\Superflat Monogram\1607.avi")
DeleteFrame(1)
Levels(20, 1, 225, 0, 255)
Crop(0,0,-2,0)
LanczosResize(640,360)
AAA(640,360,10,10,1,2,chroma=false)
hqdn3d().fft3dfilter()
FrFun3b(4,4,3)
vmToon(sharpen=false,thinning=0,strength=24,luma_cap=200,threshold=4)
overlay.avs:
goodclip = Import("D:\games\video stuff\Superflat Monogram\first.avs")
badclip = Import("D:\games\video stuff\Superflat Monogram\second.avs")
Overlay(goodclip, badclip, mode="luma", opacity=0.5)
please help, if you can!