Quantcast KSVCD with Black Edges? Video Margins? - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Video Encoding and Conversion

Reply
 
LinkBack Thread Tools
  #1  
06-23-2004, 08:12 AM
Joâo Nova Joâo Nova is offline
Free Member
 
Join Date: Jun 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Hi,

I AM CREATING ONE KSVCD WITH SCRIPT: (by Vmesquita)

#--- início do script - copie a partir daqui e cole em um arquivo .AVS---------------------
################################################## #################
# Usando Filtragem Motion Adaptive do Kawag para melhr compressão #
################################################## #################
## DLL Section ##
# Em cada uma das 6 linhas abaixo deve estar o endereço da sua pasta de plugins do avisynth
LoadPlugin("C:\KVCD\AviSynth\plugins\MPEG2Dec3.dll ")
LoadPlugin("C:\KVCD\AviSynth\plugins\GripFit_yv12. dll")
LoadPlugin("C:\KVCD\AviSynth\plugins\STMedianFilte r.dll")
LoadPlugin("C:\KVCD\AviSynth\plugins\asharp.dll")
LoadPlugin("C:\KVCD\AviSynth\plugins\unfilter.dll" )
LoadPlugin("C:\KVCD\AviSynth\plugins\undot.dll")
#
#
##############
# Parameters #
##############
myanamorphic=false # mude para false se no passo 6 você achou 4:3 ao invés de 16:9
m_width=528 #Use 720 ou 352 para KDVD, 528 ou 352 para K(S)VCD
#subtitle="VTS_01_0.sub" # Adicione um # no inicio desta linha se você #não precisa
#de legendas, troque pelo nome do arquivo sub criado no passo
movie="c:\kvcd\ksvcd\projeto.d2v"
myoverscan=3 # teste com valores de 0 a 3 para ver o máximo que você #pode colocar
#aqui. Quanto maior melhor a qualidade, as valores muito grandes
#podem fazer sua TV
# mostrar bordas indesejáveis ao redor da imagem.
MaxTreshold = 1.50
nf = 0 # Current frame.
################
## Functions ###
################
function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}
##########
# sCRIPT #
##########
MPEG2Source(movie)
#Resize, overscan and borders
undot()
Limiter()
asharp(1, 4)
GripCrop(m_width, 480, overscan=myoverscan,source_anamorphic=myanamorphic ,dest_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()
#Subtitles #
############
#VobSub(subtitle) # Adicione um # no inicio desta linha se você não #precisa de
#legendas
converttoyuy2()
#Sampler(length=24) # retire o # do inicio dessa linha quando for criar a amostra no tmpgenc


BUT WHEN I RUN TMPGen (codify the Video), THE IMAGE IS REDUCED, WITH BLACK EDGES (MARGIN), NOT FILLING ALL THE SCREEN.

HOW TO MAKE SO THAT THE IMAGES COMPLETE THE SCREEN?? REMOVING THE BLACK EDGES???


THANKS


João Nova
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  
06-23-2004, 10:11 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Don't remove the border, they are here on purpose.
You probably don't know but your TV do not display all the picture you send to it. On the four edges there is an area that you never see. That is why we put a blck margin there.

The border you see on your PC will not be on your TV set. So don't worry about it.

Note: on the internet, using CAPS LETTERS mean that you are SHOUTING. Do not use them please
Reply With Quote
  #3  
06-23-2004, 11:02 AM
Joâo Nova Joâo Nova is offline
Free Member
 
Join Date: Jun 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Phil

Please forgive-me.

I am inexperienced in internet.

For an error i posted the message in two foruns (kdvd and kvcd)

Phil but, i see my kdvd only in PC. so I have to remove the borders.

Thanks
Reply With Quote
  #4  
06-23-2004, 11:12 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
What a strange idea

Okay, so you justs have to change the line myoverscan=3 into myoverscan=0.
Reply With Quote
  #5  
06-23-2004, 11:32 AM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Joâo Nova
Phil but, i see my kdvd only in PC. so I have to remove the borders.
Thanks
I think (IMHO) if you see your movies only in your PC, XviD or DivX would be a better option.


--------------------------
Visit: Intermediate guide: MencodeMe/Win32 - Avisynth - MakeAvis by Prodater64.
Visit: KVCD - MencodeMe - Auxiliar Task - KVCD Docking Gate by Prodater64.
Visit: Mencoder scripting with AVSEdit and Guide for Multiple Files by Prodater64.
Visit: Mini-guide quick and easy - DVD to (S)KVCD with MencodeMe by Maurus.
Visit: Mencode-me: a newbie oriented GUI - 0.23 is out! by VMesquita.
--------------------------

Reply With Quote
  #6  
06-23-2004, 12:12 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
The problem is also that "he" uses DVD player related resized images like in here 528x480, ok Softwareplayers i.E. got an AR based internal image re-size correction. A little rule is, if you ONLY do encode for PC Screen purposes, use a PAR of 1:1, means images expanded in their width to their real state in relation to their height.
Reply With Quote
  #7  
06-23-2004, 01:00 PM
Joâo Nova Joâo Nova is offline
Free Member
 
Join Date: Jun 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Phil

First of all, thanks for help me.

I changed myoversan = 0, but the borders horizontal ( up and down) continues.

What is wrong?

Thanks

João Nova
Reply With Quote
  #8  
06-23-2004, 03:13 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Thats cause you got a NON 4:3 source (non 4:3 full screen) for shure.
These borders are called letterboxed borders out of a 2.35:1 or 1.78:1 source
Reply With Quote
  #9  
06-23-2004, 03:53 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
in the end what is your "resize" target ?
if you want, just remove the resizes lines from the script,
or use the " # "!

#overscan=myoverscan,source_anamorphic=myanamorphi c,dest_anamorphic=false)
#GripSize(resizer="BicubicResize")
and
#GripBorders()
that will give full size and more(great)quality but more final size too!
test it,why not!?!?
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
How to remove black border from video ? genK Video Encoding and Conversion 4 09-23-2004 03:28 AM
will widescreen tv eat the little black borders on edges of the screen? The Untouchable Players, DVRs, Media Centers 2 07-03-2004 09:28 AM
KVCD: BORDERS all around edges of video? khusru Video Encoding and Conversion 7 02-08-2004 10:27 PM
KVCD: One black border on video? Wolfi Video Encoding and Conversion 6 05-08-2003 04:00 PM
try to convert in TMPGenc, but I get black video? twobit326 Video Encoding and Conversion 10 08-12-2002 08:30 AM




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