Advertisement
pisipisi

Avisynth Logo Removal with another video

Jul 11th, 2015
1,518
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #video with logo
  2. logolu=dss2("D:\logo\One Piece 700 HD Hi10P RAW [9424C181].mp4").changefps(24000,1001)
  3.  
  4. #video that doesnt include logo or something else. you may need trim, resize, fps change and color enhancement filters on this stage.
  5. temiz=dss2("D:\logo\[HorribleSubs] One Piece - 700 [720p].mkv").trim(360,0).spline36resize(1280,720,4,0,-4,0)
  6.  
  7. temizalan=temiz.crop(1158,40,-72,-624)  #area that doesnt include logo
  8.  
  9. overlay(logolu, temizalan, x=1158, y=40)  #x and y for location
  10.  
  11.  
  12.  
  13. #script of demo
  14. logolu=dss2("D:\logo\One Piece 700 HD Hi10P RAW [9424C181].mp4").changefps(24000,1001)
  15. temiz=dss2("D:\logo\[HorribleSubs] One Piece - 700 [720p].mkv").trim(360,0).spline36resize(1280,720,4,0,-4,0)
  16. temizalan=temiz.crop(1158,40,-72,-624)
  17.  
  18. overlay(logolu, temizalan, x=1158, y=40)
  19.  
  20. logoluC=logolu.crop(1086,0,0,-586).Subtitle("with the logo", align=8, size=16)
  21. FiltreliDK=overlay(logolu, temizalan.tweak(cont=0.85), x=1158, y=40).crop(1086,0,0,-586).Subtitle("filtered, low contrast", align=8, size=16)
  22. TamFiltreli=last.crop(1086,0,0,-586).Subtitle("filtered", align=8, size=16)
  23.  
  24. StackHorizontal(logoluC, FiltreliDK, TamFiltreli)
  25. trim(1263,1448)
  26. addborders(132,172,134,174)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement