This is the script i used to encode the 29.97 dvd at 23.976
Code:
Mpeg2Source("D:\movie\movie.m2v"
bob()
converttoyuy2().convert60ito24p(2,0).converttoyv12()
Undot()
asharp(1, 4)
Gripcrop(480, 480, overscan=1, source_anamorphic=false)
GripSize(Resizer="LanczosResize")
STMedianFilter(3, 3, 0, 0 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))
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) ")
GripBorders
function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}
#
####
############### 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)
}
#################################
In tmpgenc i have encoded to Mpeg-2
Here is Tmpgenc screen
I have the m2v and mp2 files, i just muxed them normally. I am trying this for the 1st time.
Bbmpeg says 2:3 flags in video.
So what to do next.