06-23-2004, 08:12 AM
|
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
|
Someday, 12:01 PM
|
|
Site Staff / Ad Manager
|
|
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
06-23-2004, 10:11 AM
|
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
|
06-23-2004, 11:02 AM
|
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
|
06-23-2004, 11:12 AM
|
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.
|
06-23-2004, 11:32 AM
|
Free Member
|
|
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
06-23-2004, 12:12 PM
|
Free Member
|
|
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
06-23-2004, 01:00 PM
|
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
|
06-23-2004, 03:13 PM
|
Free Member
|
|
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
06-23-2004, 03:53 PM
|
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!?!?
|
All times are GMT -5. The time now is 07:18 AM — vBulletin © Jelsoft Enterprises Ltd
|