![]() |
KVCD with 480x480 resolution?
I'm having trouble encoding with tok, the resoultion 480 x 480. do i change the switchthreshold width to 480 on the script?
SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2 Also if i encode in mpeg 1, 23.976 fps, do i still need the pull down activated? ( it is greyed out on kvcdx3 template) thanks |
Why do you want to change anything to the SwitchThreshold formula ? It designed to adapt the threshold to the resolution without any manual operation !
|
It works! Believe me.
I'm encoding in PAL. 352x576, 480x576 and so on. For me 352x480 works solid! :wink: |
hi
I get this following error when i try to encode in 480x480 or above. Avisynth : caught an acess violation at 0 x 1003d72c, attempting to read from 0x0129c146 here is my script: ## DLL Section ## # LoadPlugin("C:\Program Files\MovieStacker\Filters\MPEG2Dec3.dll") LoadPlugin("C:\Program Files\MovieStacker\Filters\GripFit_YV12.dll") LoadPlugin("C:\Program Files\MovieStacker\Filters\STMedianFilter.dll") LoadPlugin("C:\Program Files\MovieStacker\Filters\asharp.dll") LoadPlugin("C:\Program Files\MovieStacker\Filters\unfilter.dll") LoadPlugin("C:\Program Files\MovieStacker\Filters\undot.dll") # #### ## Defined Variables and Constants ## # MaxTreshold = 1.50 nf = 0 # Current frame. # #### ## Main section and static filters ### # AviSource("C:\Documents and Settings\Imran Bashir\My Documents\final destination2.avi") ConvertToYV12() # undot() Limiter() asharp(1, 4) GripCrop(480, 480, overscan=1, source_anamorphic=false) GripSize(resizer="BicubicResize") STMedianFilter(8, 32, 0, 0 ) MergeChroma(blur(MaxTreshold)) MergeLuma(blur(0.1)) # # ## Linear Motion Adaptive Filtering ## # # ( Portions from AviSynth's manual ) - This will apply temporalsoften to # very static scenes, and apply variable blur on moving scenes. # We also assign a variable - and this is why a line break is inserted: SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2 ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf >= SwitchThreshold ? \ unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ) : \ TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ") # # # GripBorders() #LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker! Limiter() # # ## Functions ### function fmin( int f1, int f2) { return ( f1<f2 ) ? f1 : f2 } # #### any help will ne appreciated thanks |
Hi bashi 007,
I had the exact same problem as you. What I did was to remove the following lines: Quote:
Quote:
|
Oh, I forgot. Replace GripCrop+GripSize with BilinearResize. And replace GripBorders with AddBorders+Letterbox. Put them in the same place in the script.
|
@ bashi007 and audioslave
i'm using the in the script SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2 encoding a 480x480 ntsc svcd without any problem! audioslave, is the same like you posted: GripCrop(480, 480, overscan=1, source_anamorphic=false) GripSize(resizer="BicubicResize") GripBorders() never got errors! |
thanks audioslave, it works!!!!
|
Quote:
:wink: but please,answer me: do you see the same size in the left and in the right borders using BilinearResize(XXXXXXXX) AddBorders(XXXXXXXX) Letterbox(XXXXXXXX) like audioslave posted? the movie is in the center of the screen :?: ps: maybe the reason of your problems with gripfit is the version used! :? |
hi jorrel
I will encode a 15 min sample and will let you know. What version of gripfit are u using? |
Quote:
:D will be great for me your results cos when i choose BilinearResize, AddBorders and Letterbox, i see in pc and in tv the same result.... the image is not in the centre os the screen, i got more borders on the left, less on the right. just a little detail but is it. with gripfit is perfect,the image is in the centre of the screen! i'm using "GripFit_YV12.dll (built 16-02-03) thanks in advance! :wink: |
Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.