AviSynth - CROP variable (PER EXPERTS)

Manuals i tutorials.

Moderadors: Petiso, Ayu

Respon
Avatar de l’usuari

Autor del tema
Petiso
Site Admin
Site Admin
Entrades: 16297
Membre des de: dv. oct. 06, 2006 13:13
Status: Desconnectat

AviSynth - CROP variable (PER EXPERTS)

#1

Entrada Autor: Petiso » dv. set. 30, 2011 1:42

Com fer un script de AviSynth per tractar un vídeo que te DOS crops diferents en el capítol (cas que m'he trobat avui).

Solució:
- Fas tot el procés de gordianknot igual amb el primer troç.
- En comptes de seleccionat "save & encode", apretes a "edit".
- A la finestra negre que te surt marques "No comments".

Et sortirà un text similar a:
# Created with Gordian Knot
#
# http://gknot.doom9.org

# PLUGINS
LoadPlugin("D:\TV\GORDIA~1\DGMPGDec\DGDecode.dll")
LoadPlugin("D:\TV\GORDIA~1\AviSynthPlugins\UnDot.dll")
LoadPlugin("D:\TV\GORDIA~1\AviSynthPlugins\FluxSmooth.dll")

# SOURCE
mpeg2source("M:\TDT\S'ha escrit un crim 2011-09-29b _OK tallar 37.37 anuncis.d2v")

# CROPPING
crop(16,4,694,570)

# DENOISING: choose one combination (or none)
Undot()

FluxSmoothST(7,7)

# RESIZING
LanczosResize(640,480)
- Apretes a cencelar.
- Fiques el crop del segon tros, i repeteixes el primer pas copiant el nou crop:
crop(10,4,694,570)
- Edites el text afegint les coses en vermell i en negreta, els crop inicial (verd), el crop final (blau) i l'últim frame del crop inicial (taronja).
# Created with Gordian Knot
#
# http://gknot.doom9.org

# PLUGINS
LoadPlugin("D:\TV\GORDIA~1\DGMPGDec\DGDecode.dll")
LoadPlugin("D:\TV\GORDIA~1\AviSynthPlugins\UnDot.dll")
LoadPlugin("D:\TV\GORDIA~1\AviSynthPlugins\FluxSmooth.dll")

# SOURCE
v = mpeg2source("M:\TDT\S'ha escrit un crim 2011-09-29b _OK tallar 37.37 anuncis.d2v")

# CROPPING
ConditionalFilter(v, crop(v,10,4,694,570), crop(v,16,4,694,570), "current_frame", "greaterthan", "35526")

# DENOISING: choose one combination (or none)
Undot()

FluxSmoothST(7,7)

# RESIZING
LanczosResize(640,480)


Imatge Imatge

Respon