digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   KSVCD WITH BLACK EDGES? video MARGINS? (http://www.digitalfaq.com/archives/encode/10456-ksvcd-black-edges.html)

Joâo Nova 06-23-2004 08:12 AM

KSVCD WITH BLACK EDGES? video MARGINS?
 
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

Dialhot 06-23-2004 10:11 AM

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 :-)

Joâo Nova 06-23-2004 11:02 AM

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

Dialhot 06-23-2004 11:12 AM

What a strange idea :-)

Okay, so you justs have to change the line myoverscan=3 into myoverscan=0.

Prodater64 06-23-2004 11:32 AM

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.
--------------------------

http://www.digitalfaq.com/archives/error.gif

incredible 06-23-2004 12:12 PM

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.

Joâo Nova 06-23-2004 01:00 PM

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

incredible 06-23-2004 03:13 PM

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

jorel 06-23-2004 03:53 PM

in the end what is your "resize" target ? :?
:idea: 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 08:03 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.