digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Conversão e Codificação de Vídeo (Português) (http://www.digitalfaq.com/archives/portugues/)
-   -   Optmal Script para Interlaced ( 24fps) (http://www.digitalfaq.com/archives/portugues/8259-optmal-script-interlaced.html)

rodrosse 02-20-2004 09:57 AM

Optmal Script para Interlaced ( 24fps)
 
Se eu usar o optimal script que tranforma o filme para 24fps, para filmes interlaçados eu tenho que alterar no TMPGenc para 24fps também ou encodo com um filme normal?
Tenho que por interlaced também ou não?


+++++++++++++++++++++++++++++++++++++++++++++++

## DLL Section ##
#
LoadPlugin("C:\Filters25\MPEG2Dec3.dll")


#
Mpeg2Source("F:\Movie\styx.d2v")

bob()
converttoyuy2().convert60ito24p(2,0).converttoyv12 ()

BicubicResize(336, 448, 0, 0.6, 0, 0, 720, 480)
STMedianFilter(3, 3, 0, 0 )
MergeChroma(blur(1.5))


ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "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) ")


AddBorders(8, 16, 8, 16)



#
############### the function #############
#
function convert60ito24p (clip video, int mode, int offset)
{
work = assumefieldbased(video)
out = (mode==2) ? interleave(
\selectevery(
\layer(trim(work, 1, 0),
\layer(work, trim(work, 2, 0), "fast"),
\"fast"), 5, 0 + offset),
\selectevery(
\layer(work, trim(work, 1, 0), "fast"), 5, 3 + offset)) :
\ (mode==1) ? interleave(
\selectevery(trim(work, 1, 0), 5, 0 + offset),
\selectevery(layer(work, trim(work, 1, 0), "fast"), 5, 3 + offset)) :
\ (mode==0) ? selectevery(work, 5, 1 + offset, 4 + offset) : work
assumeframebased(out)
}
#################################

#
#
## Functions ###

function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}

#
####

vmesquita 02-20-2004 10:13 AM

Faça como se fosse um filme normal. :wink:

rodrosse 02-20-2004 10:28 AM

:wink: Valeu!
O filme dessa forma fica melhor assim ou usando o #TomsMoComp(1, 15, 1)#?Qual a sua opinião? :?:

:wink: Valeu de novo!

vmesquita 02-20-2004 10:30 AM

Eu acredito que usando o script que passa para 24 fps fica melhor, mas não fiz muitos testes sobre isso, então não posso te dizer com certeza.

rodrosse 02-20-2004 10:32 AM

:) Achei que com o script 24fps fica mais fácil, não precisando mudar nada no tmpgenc.
Valeu mais uma vez! :wink: :wink: :wink:


All times are GMT -5. The time now is 05:18 AM  —  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.