digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   KDVD has BLACK BORDERS? (http://www.digitalfaq.com/archives/encode/10457-kdvd-black-borders.html)

Joâo Nova 06-23-2004 09:27 AM

KDVD has BLACK BORDERS?
 
Hi, everone

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=1 # 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 BORDERS (MARGIN), NOT FILLING ALL THE SCREEN.

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


THANKS


João Nova

Dialhot 06-23-2004 10:08 AM

Double post.

Please DO NOT DO THAT.

This instance of the thread is closed.


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

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.