Advertisement
junh1024

Basic Video Editing

Mar 1st, 2016
496
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. FFmpegSource2("Clannad2b-3.92m.mkv")
  2. v=last
  3. a=wavsource("snowfield.wav")
  4. AE=audiodub(v,a).lanczos4resize(1068,480).ResampleAudio(48000)
  5. # AE
  6.  
  7. out1=AE.trim(0,110)
  8. out2=AE.trim(10656,10863)
  9.  
  10. macski_v=FFCI("MacSki.mkv").changefps(30)
  11. macski_v=macski_v.crop(62,0,-64,0).trim(38,435).amplifyDB(3).amplifyDB(-9)
  12. macski_i=imagesource("Macski-Side-480p.png").converttoyv12.trim(0, macski_v.FrameCount()+10)
  13. macski_o=stackhorizontal(macski_v,macski_i).ResampleAudio(48000)
  14.  
  15. v2=DGDecode_mpeg2source("NHKKoi.d2v", cpu=0)
  16. a2=ffaudiosource("NHKKoi Ta0 48K 16bit 2ch.flac")
  17. NHK_v=audiodub(v2,a2).crop( 2, 0, -2, 0).tfm().tdecimate()
  18. NHK_v=dissolve(trim(NHK_v,250,424),trim(NHK_v,1924,2103),24).lanczos4resize(852,480)
  19. NHK_v=NHK_v.crop(62,0,-62,0).ConvertFPS(30).amplifyDB(3)
  20. NHK_i=imagesource("Sources\CK10 Poster 37644 JPS.jpg").lanczos4resize(340,480)
  21. NHK_i=NHK_i.converttoyv12.trim(0, NHK_v.FrameCount()+10)
  22. NHK_o=stackhorizontal(NHK_v,NHK_i)
  23.  
  24. out1++macski_o++NHK_o++out2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement