Guest User

Untitled

a guest
Oct 21st, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. #Int this case we are gonna to encode K-ON EP 7 with source BD 1080p and AFX source 720p
  2.  
  3. #Call BD Source with FFVideoSource, and resize it
  4.  
  5. FFVideoSource("F:\RAW\[Zero-Raws] K-On!! - Vol.03 (BD 1920x1080 x264 AAC)\EP7\[Zero-Raws] K-On!! - 07 (BD 1920x1080 x264 AAC).mp4")
  6. LanczosResize(1280,720)
  7.  
  8. #Cut off OP and ED with AVS Video Cutter, because we working with Ordered Chapter
  9.  
  10. __film = last
  11. __t0 = __film.trim(0, 983)
  12. __t1 = __film.trim(3137, 31874)
  13. __t2 = __film.trim(34043, 34758)
  14. __t0 ++ __t1 ++ __t2
  15.  
  16. #before we next to afx section, we have to create a variable called "Video"
  17.  
  18. video = __t0 ++ __t1 ++ __t2
  19.  
  20. #Stop, this is the end of default configuration from meGUI
  21.  
  22. #=====Go to the next part=======#
  23.  
  24. #Call the AFX
  25.  
  26. ts1 = AviSource("F:\RAW\[Zero-Raws] K-On!! - Vol.03 (BD 1920x1080 x264 AAC)\EP7\v1.avi")
  27. ts2 = AviSource("F:\RAW\[Zero-Raws] K-On!! - Vol.03 (BD 1920x1080 x264 AAC)\EP7\v2.avi")
  28. ts3 = AviSource("F:\RAW\[Zero-Raws] K-On!! - Vol.03 (BD 1920x1080 x264 AAC)\EP7\v3.avi")
  29.  
  30. #and then we create a alphabet variable, depending how many afx/typeset that you create.
  31.  
  32. a = video.trim(0,4082)
  33. v1 = video.trim(4083,4118).overlay(ts1,0,0,ts1.ShowALpha)
  34. b = video.trim(4119,14574)
  35. v2 = video.trim(14575,14615).overlay(ts2,0,0,ts2.ShowALpha)
  36. c = video.trim(14616,18039)
  37. v3 = video.trim(18040,18087).overlay(ts3,0,0,ts3.ShowALpha)
  38. d = video.trim(18088,0)
  39.  
  40. #Join all alphabet variable with the overlay
  41.  
  42. final = a+v1+b+v2+c+v3+d
  43.  
  44. #Return to final variable
  45.  
  46. return final
  47.  
  48. #Done
Add Comment
Please, Sign In to add comment