Log in

View Full Version : 1/2 speed w timestretch for DVD


trolltuning
10th October 2004, 05:09
I am making a 1/2 speed copy of an instructional tape that goes too fast for me.
Using this script:
#Directshowsource("D:\aaaCharles\redo\MarioDirectvar-0000.mpg")
#Directshowsource("D:\capture\Mario Rabau in Orl_04hBIT-0000.mpg")#,FPS=14.4853)
Directshowsource("D:\capture\mariohbits.mpg")
TimeStretch(tempo = (100.0*14.4853)/29.9706)
#BicubicResize(480,480)
ConvertToYUY2(true)
Bob()
ConvertFPS(29.9706,zone=80,vbi=45 )
SeparateFields.Selectevery(4,1,2)
Weave()
ResampleAudio(48000)
#end script
I get a half speed avi file which VirtualDubMod says is at 14.985 FPS
When I feed this script to CCE to encode to mpeg so I can burn it to DVD, I get 1/2 speed audio and full speed video. Any ideas on how to get it right without making an intermediate avi file?

iantri
10th October 2004, 15:43
A DVD compliant video has to be 29.97fps (NTSC), which may be the source of your problems.

Your script is really far more complicated than need be; the following will do nicely: (I am assuming it is interlaced; your source script would seem to suggest this)


Directshowsource("D:\capture\mariohbits.mpg")
Bob() # replace with your favourite higher-quality bobber of choice
AssumeFPS(29.97)
TimeStretch(tempo=50)


Progressive:


Directshowsource("D:\capture\mariohbits.mpg")
ConvertFPS(59.94)
AssumeFPS(29.97)
TimeStretch(tempo=50)


With TimeStretch the ResampleAudio line isn't necessary. Both scripts will produce progressive output, though the interlaced source will provide smoother motion. (More information temporally to work with)

trolltuning
10th October 2004, 16:58
Thanks I found the problem with my script- I should have doubled the number in ConvertFPS. When I did that I got what I wanted but it didn't author well so I will try your way.