KVCD: Border Problem, edges are always cut off?
Everytime i make a kvcd thus far...which isnt much yet, but my edges are always cut off. The bigger the Res that i'm burning, the bigger the cut off on the edges. Its like my player isnt resizing the video correctly or something. I'd like to add black borders or something so the whole video will show, without losing any of the aspect ratio.
|
What you want is called "overscan" and it is present in almost all scripts we provide here. What script do you use ?
|
A big combo of stuff i found in the forums.
## DLL Section ## # LoadPlugin("E:\kvcd\Filters\MPEG2Dec3.dll") LoadPlugin("E:\kvcd\Filters\Grip.dll") LoadPlugin("E:\kvcd\Filters\STMedianFilter.dll") LoadPlugin("E:\kvcd\Filters\asharp.dll") LoadPlugin("E:\kvcd\Filters\unfilter.dll") LoadPlugin("E:\kvcd\Filters\undot.dll") LoadPlugin("E:\kvcd\Filters\dctfilter.dll") # #### ## Defined Variables and Constants ## # MaxTreshold = 1.50 nf = 0 # Current frame. # #### ## Main section and static filters ### # AviSource("E:\kvcd\Witch Hunter Robin - 01.avi", false) ConvertToYV12() # undot() Limiter() asharp(1, 4) BlindPP(cpu=4) GripCrop(352,480, overscan=1, source_anamorphic=false) GripSize(resizer="LanczosResize") GripBorders() TemporalSoften(1,5,5,3,2) Asharp(1,2) # 1= sharpen factor, 2= threshold for only sharpen edges and no cleaned surfaces DCTFilter(1,1,1,1,1,1,0.5,0) #Blockbuster(method="noise",detail_min=1,detail_ma x=10,variance=0.5,seed=5623) 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) ") # # # #LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker! Limiter() # # ## Functions ### function fmin( int f1, int f2) { return ( f1<f2 ) ? f1 : f2 } # #### this is my script, i formed it by combining things i've seen around the forum. |
use "overscan=2" in gripcrop line. Or perhaps 3.
Note: Why the hell is your "griborders" line in the middle of the script ? It must be the last line of your script ! (just before the second - useless but anyway - limiter). Note2 : never asharp after a lanczos. Note3 : better to use DCTfilter at the end of the script (juste before gripborders :-)) |
@Gamecraze,
As dialhot just said, check the order of your filters. Here's the link for the optimal script: http://www.kvcd.net/forum/viewtopic.php?t=3483 -kwag |
righto
I had it that way just cuz i had cut and pasted dialhot's optimal v3 script and saw that i had 2 of those so i just deleted the later one cuz i figured the grip stuff should go together. |
Arg, it would seem, increasing the overscan to 2 or more would cause avisync to have a access violation and thus tmpg ends when that happens during a movie because it causes a Invalid floating point operation.
Any other way to increase the edges of my movie so tmpg will finish making it, or mabey how to get avisync to NOT cause a access violatio or whatever? |
As I understand it, you should set overscan to 0, or just remove the overscan line from the parameters in your script.
This should then fill your screen without any black borders on the edges. -kwag |
My problem originally is that without overscan, the picture's edges are missing, cut off...I dont have a black border, i dont even have the picture's proper border. I want it to cut off added blackborders instead of my darn picture.
|
Have you tried GripFit :idea:
Instead of BicubirResize, etc :?: -kwag |
I dont know what i'm doing so no, do tell.
|
Are you using MovieStacker?
|
When I 1st made the script I used that. and it said to use overscan 1, but i tried that and it still cuts off edges so i need to increase the edges.
|
Try this one:
Code:
LoadPlugin("E:\kvcd\Filters\MPEG2Dec3.dll") |
k
I'll know by tommorrow if it worked, it takes a hell of a long time to encode one of these things. |
Gamecraze you don't have to encode at all to see if your script is working :!: :!: :!: After you save the .AVS just open it with ZoomPlayer (or other :wink: ) to preview it before you start encoding.
|
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.