View Single Post
Old 8th September 2017, 16:42   #3  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,905
Quote:
Originally Posted by ogrgkyle View Post
Here's my script. The .mpg was copied from a DVD.

video = FFmpegSource2("F:\mymovie.mpg")
TFM(video, order = 1)
TDecimate(video)
video = BicubicResize(video, 640, 480)
return video

This outputs the video, but it is still telecined and it is still 30i. Why won't it work to detelecine? Thanks.
Consider using Spline64Resize over BicubicResize, I generally prefer it 'cause it's sharp and has less ringing than Bicubic. (Just a suggestion).

Anyway, I would use something like this to IVTC and Resize:

Code:
#Index 
#(I noticed you are using FFMpegSource2 and not FFVideoSource, so I assume you wanna index the audio track as well. To do so, add atrack=-1)

FFmpegSource2("F:\mymovie.mpg", atrack=-1)

#inverse telecine to 23.976
tfm(mode=1,pp=5,slow=2,micmatching=2,clip2=tdeint(mode=2,type=3))
tdecimate()

#Resize
Spline64Resize(640, 480)
Last but not least, if you wanna use multi-threading Resizers, consider using this: Link and call them like the normal resizers, but adding "MT" at the end, like: BicubicResizeMT(640, 480) or Spline64Resize(640, 480) etc.
FranceBB is offline   Reply With Quote