dcxero
21st November 2018, 08:09
I'm trying to frame match a few widescreen PAL DVD sources to their full frame NTSC DVD cousins, so I can get the proper audio with the proper picture. In some of my sources, I noticed the PAL source having an extra frame or two on scene changes when frame matching in AviSynth. I was using a simple "TFM().TDecimate()" on the NTSC source since they're 100% FILM per DGIndex, so instead I threw in "SeparateFields().SelectEven()" to investigate if it was really missing, and sure enough there's the missing frame in the NTSC source (doesn't show using "SeparateFields().SelectOdd()")
My question is, since I don't really care about the NTSC video being properly preserved, what's the best way to de-interlace it to best match its (NTSC) audio? Ie, would a normal set top DVD player ignore that frame as well during playback/would I want to keep it out of my PAL frame-matched encode to best keep audio sync?
Here's my current script I was using to frame match that was working until my trouble discs :D:
#Sources
#PAL source
PAL=MPEG2Source("D:\Files to Edit\Source\PAL\S01E01\PALsource.d2v",cpu=0).Crop(2,4,-2,-4).z_Spline36Resize(960,540).AssumeFPS("ntsc_film")
#NTSC DVD for frame matching
NTSC=MPEG2Source("D:\Files to Edit\Source\NTSC\NTSCsource.d2v",cpu=0).TFM().TDecimate().z_Spline36Resize(768,576).AddBorders(128, 0, 128, 0, color=$000000).z_Spline36Resize(960,540)
#Cuts
Part01=PAL.Trim(39,20280)
Part02=PAL.Trim(20284,37870)
Part03=PAL.Trim(37892,53660)
Part04=PAL.Trim(53671,67030)
Part05=PAL.Trim(67073,74560)
Part06=PAL.Trim(74566,91300)
Part07=PAL.Trim(91314,105310)
Part08=PAL.Trim(105331,124515)
#Merge cuts
Film=Part01+Part02+Part03+Part04+Part05+Part06+Part07+Part08
#Uncomment for DVD frame matching / comment for final cut
#StackVertical(Film,NTSC)
#Interleave(Film,NTSC)
#Uncomment for final cut / comment for DVD frame matching
Film
My question is, since I don't really care about the NTSC video being properly preserved, what's the best way to de-interlace it to best match its (NTSC) audio? Ie, would a normal set top DVD player ignore that frame as well during playback/would I want to keep it out of my PAL frame-matched encode to best keep audio sync?
Here's my current script I was using to frame match that was working until my trouble discs :D:
#Sources
#PAL source
PAL=MPEG2Source("D:\Files to Edit\Source\PAL\S01E01\PALsource.d2v",cpu=0).Crop(2,4,-2,-4).z_Spline36Resize(960,540).AssumeFPS("ntsc_film")
#NTSC DVD for frame matching
NTSC=MPEG2Source("D:\Files to Edit\Source\NTSC\NTSCsource.d2v",cpu=0).TFM().TDecimate().z_Spline36Resize(768,576).AddBorders(128, 0, 128, 0, color=$000000).z_Spline36Resize(960,540)
#Cuts
Part01=PAL.Trim(39,20280)
Part02=PAL.Trim(20284,37870)
Part03=PAL.Trim(37892,53660)
Part04=PAL.Trim(53671,67030)
Part05=PAL.Trim(67073,74560)
Part06=PAL.Trim(74566,91300)
Part07=PAL.Trim(91314,105310)
Part08=PAL.Trim(105331,124515)
#Merge cuts
Film=Part01+Part02+Part03+Part04+Part05+Part06+Part07+Part08
#Uncomment for DVD frame matching / comment for final cut
#StackVertical(Film,NTSC)
#Interleave(Film,NTSC)
#Uncomment for final cut / comment for DVD frame matching
Film