LoadPlugin("DeDup.dll")
framerate = 60.1
framestdebut = 120
titrejeu = """Legend of Zelda"""
auteur = "Baxter & jprofit22"
temps = "22:38.13"
rerecords = "33531"
tailletexte = 20
a = AVISource("movie.avi").ConvertToRGB24()
f = a.PointResize(a.width * 1, a.height * 1)
b = ImageSource(file="logo.png", start=0, end=119, fps=a.FrameRate).ConvertToRGB24()
c = BlankClip(b, audio_rate=48000, channels=1)
d = AudioDub(b, c).Lanczos4Resize(f.width, f.height).AssumeFPS(a.FrameRateNumerator, a.FrameRateDenominator)
last = d + f
Subtitle("Legend of Zelda.\nPlayed by Baxter & jprofit22\nPlaying time: 22:38.13\nRerecord count: 33531", y=0, align=8, first_frame=115, last_frame=355, size=13.0, text_color=$30FFFFFF, halo_color=$00000000, lsp=1)
Subtitle("This is a tool-assisted recording.\nFor details, visit http://TASVideos.org/", y=98, align=2, first_frame=356, last_frame=586, size=15.0, text_color=$30FFFFFF, halo_color=$00000000, lsp=1)
ConvertToYV24(chromaresample="point")
ConvertToYV12(chromaresample="lanczos4")
DupMC(log="dup.txt")
Try this. This sets the logo to automatically resize to the AVI's size.