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/)
-   -   Converts 60fps Video into 24fps (http://www.digitalfaq.com/archives/portugues/8584-converts-60fps-video.html)

sgz13 03-12-2004 05:09 PM

Converts 60fps Video into 24fps
 
Olá Pessoal,

Sou novato aqui no fórum e estou precisando de ajuda. Estou querendo fazer KVCD de um show com as seguintes características:

Aspect ratio: 16: 9
Frame rate: 29.970 fps
Video type: NTSC
Frame Type: Interlaced

Li aqui no fórum que no caso de filme Interlaced a melhor opção atualmente é converter para 24 fps usando um script postado no fórum "Optimal scripts (http://www.kvcd.net/forum/viewforum.php?f=38).

É neste ponto que começa o meu problema, Quando carrego o optimal scripts no TMPGEnc, aparece a mensagem “File can not open, or unsupported”.

Alguém pode explicar como usar este script ?

Estou usando o AviSynth 2.5 e o script abaixo:

## DLL Section ##

LoadPlugin("C:\Arquivos de programas\AviSynth 2.5\plugins\MPEG2Dec.dll")
LoadPlugin("C:\Arquivos de programas\AviSynth 2.5\plugins\GripFit_YV12.dll")
LoadPlugin("C:\Arquivos de programas\AviSynth 2.5\plugins\STMedianFilter.dll")
LoadPlugin("C:\Arquivos de programas\AviSynth 2.5\plugins\asharp.dll")
LoadPlugin("C:\Arquivos de programas\AviSynth 2.5\plugins\unfilter.dll")
LoadPlugin("C:\Arquivos de programas\AviSynth 2.5\plugins\undot.dll")
LoadPlugin("C:\Arquivos de programas\AviSynth 2.5\plugins\Sampler.dll")
#
## Main section and static filters ###
#

Mpeg2Source("E:\ ~ ~ ~ \Show.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
}

#
####


All times are GMT -5. The time now is 08:16 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.