View Full Version : Fielddeinterlace strangeness
Aesop
1st July 2004, 16:22
Howdy all,
Have just encountered a rather strange problem in an anime encode project of mine. When setting up the avs script with Fielddeinterlace() everything is fine. However setting fielddeinterlace(blend=false) the output is, well, very green. Stepping through the script elements I found that disabling the crop() removes the problem but I am unclear as to how this could be causing such a thing...
Any ideas?
Originally posted by Aesop
Have just encountered a rather strange problem in an anime encode project of mine. When setting up the avs script with Fielddeinterlace() everything is fine. However setting fielddeinterlace(blend=false) the output is, well, very green. Stepping through the script elements I found that disabling the crop() removes the problem but I am unclear as to how this could be causing such a thing...
I guess that's FieldDeinterlace's way of telling you that your video's width should probably be evenly dividable by 4, if not 8. Try adjusting your crop values to that, or try adding "align=true" to your crop statement.
np: Four Tet - Unspoken (Rounds)
Aesop
1st July 2004, 17:33
This green screening seems to be some sort of instability. Have been commenting in and out bits and pieces of the script and now can not reproduce my original observation, however if I remove the convolution3d() command I get the green screen.
just reset the machine for hope it was a windows thing.What is currently happening;
Normal image --->
LoadPlugin("z:\bin\AviSynth\DGDecode.dll")
LoadPlugin("z:\bin\AviSynth\plug\decomb510.dll")
LoadPlugin("z:\bin\AviSynth\plug\convolution3dyv12.dll")
#Maetel 29.9fps NTSC
mpeg2source(".\maetel.d2v")
FieldDeinterlace(blend=false)
crop(10,4,700,472)
Convolution3d(preset="animeLQ")
BilinearResize(640,480)
trim(10000,15000)
Green image --->
LoadPlugin("z:\bin\AviSynth\DGDecode.dll")
LoadPlugin("z:\bin\AviSynth\plug\decomb510.dll")
LoadPlugin("z:\bin\AviSynth\plug\convolution3dyv12.dll")
#Maetel 29.9fps NTSC
mpeg2source(".\maetel.d2v")
FieldDeinterlace(blend=false)
crop(10,4,700,472)
#Convolution3d(preset="animeLQ")
BilinearResize(640,480)
trim(10000,15000)
(will get some pictures up in a bit ;-)
Aesop
1st July 2004, 17:58
Leak,
I tried setting the alignment in the crop to true, crop(10,4,700,472,true) and it seems to rectify the problem in pretty much well any combination of script. ;-)
Though I am not exactly too sure if it is because of the frame width.. at the risk of confusing myself further, there seems to be some fairly odd combinations of filters that are bringing the problem out.
-with the blend=false directive removed from Fielddeinterlace() there are no situations of "greening".
-with it present, and convolution3d present things are OK. remove c3d and it is green.
-when I first saw the green I disabled the crop and it cleared things up, but now I can not reproduce that behaviour. I have been playing with the crop settings to look for division by 4 and 8 instances.
I daresay the real reason is something else going on with how the video data is being pushed round the place, but that's all a big black box to me;-)
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.