althor1138 said:
Gout-sync script.
I count 111 frames missing vs. gout and 0 extra frames. Mostly from the end of the reels. I tried to add little annotations of the shots missing frames to make it easier to reference.
That’s interesting. We seem to have lost some frames somewhere in the process. I wrote a similar script, syncing the raw scan to the GOUT way back when the project began and the ONLY frames that were missing were at the reel changes (The trims below allow for a little Head/Tail to appear at the reel changes to maintain the sync):
Gout = MPEG2Source("…\STAR_WARS\VIDEO_TS\Gout-NTSC.d2v").ConvertToRGB32().AssumeFPS(23.976).crop(6,102,-2,-104).Lanczos4Resize(848,320).Subtitle(“Gout”, lsp=10, align=3, text_color=$00FFFFFF, size=20.0).showFrameNumber(x=15,y=30)
LPP_R1 = ImageSource("…\Reel1\StarWars.Frame.%08d.exr", 1, 28929, 23.976, true, false, “rgb”).Lanczos4Resize(848,320).showFrameNumber(x=15,y=30).trim(380,28205)
LPP_R2 = ImageSource("…\Reel2\StarWars.Frame.%08d.exr", 28930, 57198, 23.976, true, false, “rgb”).Lanczos4Resize(848,320).showFrameNumber(x=15,y=30,offset=28929).trim(291,28209)
LPP_R3 = ImageSource("…\Reel3\StarWars.Frame.%08d.exr", 57199, 88881, 23.976, true, false, “rgb”).Lanczos4Resize(848,320).showFrameNumber(x=15,y=30,offset=57198).trim(387,31317)
LPP_R4 = ImageSource("…\Reel4\StarWars.Frame.%08d.exr", 88882, 117213, 23.976, true, false, “rgb”).Lanczos4Resize(848,320).FlipHorizontal().showFrameNumber(x=15,y=30,offset=88881).trim(417,27390)
LPP_R5 = ImageSource("…\Reel5\StarWars.Frame.######_%06d.exr", 117214, 148089, 23.976, true, false, “rgb”).Lanczos4Resize(848,320).showFrameNumber(x=15,y=30,offset=117213).trim(374,30774)
LPP_R6 = ImageSource("…\Reel6\StarWars.Frame.%08d.exr", 145546, 173877, 23.976, true, false, “rgb”).Lanczos4Resize(848,320).showFrameNumber(x=15,y=30,offset=145545).trim(369,0)
LPP = (LPP_R1 + LPP_R2 + LPP_R3 + LPP_R4 + LPP_R5 + LPP_R6).Subtitle(“LPP”, lsp=10, align=3, text_color=$00FFFFFF, size=20.0)
audio = NicAC3Source("…\STAR_WARS\VIDEO_TS\VTS_03_1 - 0x80 - Audio - AC3 - 2ch - 48kHz - DRC - English - DELAY 0ms.AC3")
video = stackVertical(Gout, LPP)
audiodub(video, audio)