Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. a = AVISource("movie.avi")
  2. b = a.ChangeFPS(30)
  3. c = b.PointResize(b.width * 6, b.height * 6)
  4.  
  5. d = ImageSource(file="logoHD.png", start=0, end=59, fps=c.FrameRate).ConvertToRGB24()
  6. e = BlankClip(d, audio_rate=a.AudioRate, channels=a.AudioChannels)
  7. f = AudioDub(d, e).Lanczos4Resize(c.width, c.height).AssumeFPS(c.FrameRateNumerator, c.FrameRateDenominator)
  8.  
  9. last = f + c
  10. ConvertToYV24(chromaresample="point", matrix="PC.601")
  11. ConvertToYV12(chromaresample="point", matrix="PC.601")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement