Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 8th March 2003, 10:20   #1  |  Link
nosaj
Registered User
 
nosaj's Avatar
 
Join Date: May 2002
Location: Toronto
Posts: 25
field deinterlace prevents resize

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
nosaj is offline   Reply With Quote
Old 8th March 2003, 10:45   #2  |  Link
Tofusensei
Registered User
 
Join Date: Feb 2003
Location: Tokyo, Japan
Posts: 19
You can crop 0.5 lines? O_O How's that work? :P
__________________
-Tofu
Tofusensei is offline   Reply With Quote
Old 8th March 2003, 12:29   #3  |  Link
sh0dan
Retired AviSynth Dev ;)
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
Use BilinearResize(480,344) - there is no soft/sharp settings on Bilinearresize - only bicubic.
__________________
Regards, sh0dan // VoxPod
sh0dan is offline   Reply With Quote
Old 8th March 2003, 18:46   #4  |  Link
nosaj
Registered User
 
nosaj's Avatar
 
Join Date: May 2002
Location: Toronto
Posts: 25
re: bilinear soft/sharp

yeah, i tried both bucubicresize(480,344) and bilinearesize(480,344) and there was the same problem...
nosaj is offline   Reply With Quote
Old 8th March 2003, 23:12   #5  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Post the failing script.
Guest is offline   Reply With Quote
Old 8th March 2003, 23:21   #6  |  Link
nosaj
Registered User
 
nosaj's Avatar
 
Join Date: May 2002
Location: Toronto
Posts: 25
the script

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 is offline   Reply With Quote
Old 9th March 2003, 02:38   #7  |  Link
nosaj
Registered User
 
nosaj's Avatar
 
Join Date: May 2002
Location: Toronto
Posts: 25
field deinterlace defaults works fine

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 is offline   Reply With Quote
Old 10th March 2003, 09:25   #8  |  Link
nosaj
Registered User
 
nosaj's Avatar
 
Join Date: May 2002
Location: Toronto
Posts: 25
there exists a god of divx

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!
nosaj is offline   Reply With Quote
Old 10th March 2003, 11:07   #9  |  Link
N_F
Do you find me... pretty?
 
N_F's Avatar
 
Join Date: Apr 2002
Location: Sweden
Posts: 760
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)
N_F is offline   Reply With Quote
Old 10th March 2003, 11:48   #10  |  Link
sh0dan
Retired AviSynth Dev ;)
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
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.
__________________
Regards, sh0dan // VoxPod
sh0dan is offline   Reply With Quote
Old 10th March 2003, 18:28   #11  |  Link
nosaj
Registered User
 
nosaj's Avatar
 
Join Date: May 2002
Location: Toronto
Posts: 25
the world is logical and i no longer believe in the god of divx

thanks for the tip shodan. and thanks for all the effort you and others have put into developing this stuff.
nosaj is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:08.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.