Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Please note, that to fix aspect ratio in youtube, add these tags:(without the #)
- #yt:aspect=4:3
- #or
- #yt:aspect=16:9
- a = AVISource("movie.avi")
- b = a.PointResize(a.width * 8, a.height * 8)
- d = ImageSource(file="logo1080pgb.png", start=0, end=119, fps=a.FrameRate).ConvertToRGB24()
- Subtitle( \
- game + "\n" + ( \
- (branch == "") ? "" : branch + "\n" \
- ) + "Played by " + author + "\nPlaying time: " + \
- time + "\nRerecord count: " + rerecords, y=(ypos * multi), \
- align=position, first_frame=subff, last_frame=(subff + sublength), \
- size=subsize * multi, text_color=$15FFFFFF, halo_color=$00000000, lsp=1 \
- )
- e = BlankClip(d, audio_rate=44100, channels=2)
- f = AudioDub(d, e).Lanczos4Resize(b.width, b.height).AssumeFPS(a.FrameRateNumerator, a.FrameRateDenominator)
- last = f + b
- ChangeFPS(30)
- ConvertToYV24(chromaresample="point")
- ConvertToYV12(chromaresample="point")
- return last
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement