Quantcast KVCD: How to Remove Black Borders? - digitalFAQ.com Forums [Archives]
  #1  
11-02-2003, 10:41 AM
raven2707 raven2707 is offline
Free Member
 
Join Date: Oct 2003
Location: The Netherlands
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to raven2707
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.
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
11-02-2003, 11:16 AM
Edlund Edlund is offline
Free Member
 
Join Date: Jul 2003
Location: Pazardjik, Bulgaria
Posts: 147
Thanks: 0
Thanked 0 Times in 0 Posts
In TMPGenc, Settings->Advance->Video arrange method->choose Full screen (no margins)
Reply With Quote
  #3  
11-02-2003, 11:22 AM
ak47 ak47 is offline
Free Member
 
Join Date: Oct 2002
Posts: 168
Thanks: 0
Thanked 0 Times in 0 Posts
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 .
__________________
Later ak
Reply With Quote
  #4  
11-02-2003, 11:32 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #5  
11-02-2003, 12:48 PM
raven2707 raven2707 is offline
Free Member
 
Join Date: Oct 2003
Location: The Netherlands
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to raven2707
Ok dailhot i tried that but it didn't work. Still borders and the people look like smurfs after encoding. Any other suggestions?
Reply With Quote
  #6  
11-02-2003, 03:07 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by raven2707
Ok dailhot i tried that but it didn't work. Still borders and the people look like smurfs after encoding. Any other suggestions?
Aren't these borders the ones add by the "overscan" parameter ? They are normal !

And you say "smurf" but did you use the correct settings for source_anamorphic and dest_anamorphic paremeters ?

Which "Gripcrop" line did you use ?
Reply With Quote
  #7  
11-02-2003, 03:38 PM
raven2707 raven2707 is offline
Free Member
 
Join Date: Oct 2003
Location: The Netherlands
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to raven2707
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.
Reply With Quote
  #8  
11-02-2003, 03:45 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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).
Reply With Quote
  #9  
11-02-2003, 03:54 PM
raven2707 raven2707 is offline
Free Member
 
Join Date: Oct 2003
Location: The Netherlands
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to raven2707
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.
Reply With Quote
  #10  
11-02-2003, 04:37 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by raven2707
But what to do about those blue faces?
Codec issue. DL the last nic's XVID codec.

Quote:
And the borders are present in the source, well i believe so. Because when iplay the movie in wmp it also has those borders.
And DL also GSPOT to analyse the true size of your video. These borders aren't in the source, I'm pretty sure about this.
Reply With Quote
  #11  
11-02-2003, 05:59 PM
raven2707 raven2707 is offline
Free Member
 
Join Date: Oct 2003
Location: The Netherlands
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to raven2707
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:
4CCX50/divx nameivX 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
Reply With Quote
  #12  
11-02-2003, 07:14 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by raven2707
x:y:416x176 (2.36:1)
You see, your source is widescreen, that's the player that put the black borders to fit the picture in your 4:3 monitor !
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Pal kvcd - after ripping the black borders are smaller? rifmeister Video Encoding and Conversion 2 04-24-2006 06:16 PM
KVCD: Black Borders problem... strider_k Video Encoding and Conversion 4 08-21-2003 07:29 AM
KVCD: black borders get encoded and are blocky? DVDfan Video Encoding and Conversion 2 08-21-2003 03:39 AM
KVCD: the picture has BIG black borders? Reno Video Encoding and Conversion 9 05-19-2003 07:24 PM
KVCD: How do i get rid of black borders? Adder Video Encoding and Conversion 3 03-21-2003 10:23 AM

Thread Tools



 
All times are GMT -5. The time now is 04:36 AM  —  vBulletin © Jelsoft Enterprises Ltd