KVCD: How to Remove black borders?
Hi guys.
Im trying to encode a divx. But where in the avs file can i add a line or something so that the borders at the top and bottom are deleted? This is the info gspot shown:416x176 (2.36:1) [=26:11] How to get it 4:3? Hope someone can help me. :roll: |
In TMPGenc, Settings->Advance->Video arrange method->choose Full screen (no margins)
|
You can open the AVI file though Virtual Dub, the go to filters and add a filter then after that crop it and see how much it takes to crop it, record each boarder, then place it in the avs script like show here, http://www.avisynth.org/index.php?page=Crop Crop(left,Top,Width-Right,length-bottom). Then place your filters like show here http://forum.doom9.org/showthread.ph...threadid=64253 .
|
Don't bother with that ! Gripcrop do an automatic "border removal" before computing the resizing parameters. It can fail if the borders aren't truly black.
|
Ok dailhot i tried that but it didn't work. Still borders and the people look like smurfs after encoding. Any other suggestions?
|
Quote:
And you say "smurf" but did you use the correct settings for source_anamorphic and dest_anamorphic paremeters ? Which "Gripcrop" line did you use ? |
Well this is my avs:
## DLL Section ## # LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MPEG2Dec3.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\GripFit_YV12.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\STMedianFilter.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\asharp.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\unfilter25.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\undot.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\VSfilter.dll") # #### ## Defined Variables and Constants ## # MaxTreshold = 1.50 nf = 0 # Current frame. # #### ## Main section and static filters ### # AviSource("D:\skvcd\Grease.avi") # ConvertToYV12() undot() Limiter() asharp(1, 4) GripCrop(352, 288, overscan=2, source_anamorphic=false) GripSize(resizer="BicubicResize") STMedianFilter(3, 3, 1, 1 ) 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) ") # # # Textsub("D:\skvcd\Grease.srt") GripBorders() #LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker! Limiter() # # ## Functions ### function fmin( int f1, int f2) { return ( f1<f2 ) ? f1 : f2 } # ### To be more exact: My source is not 4:3 so when i play it it has a black line above and beneath the movie. --------------------- Border --------------------- movie --------------------- Border --------------------- And i was wondering if i could make it full screen. But what do i have to change in the avs? Im using tok. And also i tried to encode as you said, but the movie was with borders and just like a photo negative. |
But the borders aren't in the source, are they ?
If not, you can't remove them (as they do not exist). And you can't do a fullscreen movie form a bordered one without cutting the sides (and so, loose some picture). |
But what to do about those blue faces?
And the borders are present in the source, well i believe so. Because when i play the movie in wmp it also has those borders. |
Quote:
Quote:
|
Well this is the info G-spot gave me:
Stream type and A/V interleave: Type:OpenDML AVI IMRR:1.00 I/L:2 vid frames (80 ms), p=480 Split: No Video: Codec: 4CC:DX50/divx name:DivX 5.0 Runtime:01:45:56 (158,907 fr) x:y:416x176 (2.36:1) [=26:11] bitrate:785 kb/s FPS:25.000 Qf:0.429 bits/pixel need more? Let me know. Tanks for all your help :lol: |
Quote:
|
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.