View Full Version : field deinterlace prevents resize
nosaj
8th March 2003, 10:20
hello there - i was just loading my usual AVIsynth script and i found today that i got an "unrecognized exception" error when trying to load into virtualdub. the "unrecognized exception" referred to BilinearResize(480,344,0,0.5). the avs files loaded fine when i got rid of FieldDeinterlace(full=true,blend=false) which preceded the resize. i had used the same filters before and it always loaded fine -
why did i lose the ability to resize this time?! (avisynth 2.07)
thanks for any insights
Tofusensei
8th March 2003, 10:45
You can crop 0.5 lines? O_O How's that work? :P
sh0dan
8th March 2003, 12:29
Use BilinearResize(480,344) - there is no soft/sharp settings on Bilinearresize - only bicubic.
nosaj
8th March 2003, 18:46
yeah, i tried both bucubicresize(480,344) and bilinearesize(480,344) and there was the same problem...
Guest
8th March 2003, 23:12
Post the failing script.
nosaj
8th March 2003, 23:21
sorry, shoulda posted it earlier...generated in gordian knot so ill include all the extras...
AVIsource("F:\SPE.avi")
#
# ENABLE ANY OF THE FOLLOWING LINES THAT YOU FEEL SHOULD BE APPLIED TO #THE CLIP.
#Don't forget to load corresponding plugins with correct path's
#
# PLUGINS
Import("D:\Program Files\GKnot\AVIsynth\VdubFilters\vdub_filters.avs")
#LoadPlugin("mpeg2dec.dll")
LoadPlugin("D:\Program Files\decomb391\Decomb.dll")
#LoadPlugin("Avisynth_Spatial.dll")
#LoadPlugin("GreedyHMA.dll")
#
# DEINTERLACING
#
#ConvertToRGB
#VD_SmartDeinterlace("frame","luma",false,true,false,false,15,100)
#ConvertToYUY2
#smart()
FieldDeinterlace(full=true,blend=false)
#GreedyHMA(1,0,0,0,0,0,0,0)
#verticalreduceby2()
#
# IVTC
#
#Telecide()
#Decimate()
#
# CROP
#
#crop(0,0,last.width,last.height)
#crop(0,0,576,424)
# RESIZE
#
BicubicResize(480,344)
#
# DENOISE
#
#SpatialSoftenMMX(2,4,6,false,false,4,4,6,8)
#TemporalSmoother(3)
#SpatialSoftenMMX(1,4,6,false,false,4,4,6,8)
#
# TRIM
#
#trim(start,end) #use this to get main movie
#trim(start, end_part_1)+trim(start_part_2,end)
#+trim(...) to get rid of #commercials etc.
nosaj
9th March 2003, 02:38
i was just encoding another file and went to a previously used avisynth script which had fielddeinterlace(), otherwise the same. in this case there was no problem with bilinear or bicubic resize.
i dont really have any understanding of the different settings - only tried (full=true,blend=false) after i was having interlace artefact problems and someone recommended it (http://forum.doom9.org/showthread.php?threadid=45524)
nosaj
10th March 2003, 09:25
well today i could load any kinda avs into vdub, no fielddeinterlace or resize errors...so i guess ignore my earlier posts...while this is kinda nice cuz i can go ahead with my encodes it also says that sometimes things refuse to work for no good reason whatsoever!
N_F
10th March 2003, 11:07
I've only glanced through the thread so I may have missed something...
You seem to insist on using faulty resizers. Bilinear only takes two values: Bilinearresize(width, height)
Bicubic takes 4 values: Bicubicresize(width, height, value1, value2)
sh0dan
10th March 2003, 11:48
Try the 2.08 RC found on the CVS bin site in my sig:
It contains:
- Fixed crash on resize on rare occasions.
Maybe this could help your problems.
nosaj
10th March 2003, 18:28
thanks for the tip shodan. and thanks for all the effort you and others have put into developing this stuff.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.