VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. Member
    Join Date
    Jun 2022
    Location
    Germany
    Search Comp PM
    Dear specialists,

    I would like to edit a video and copy a small area inside a frame to another area. For every frame.
    How could this be done effectively with avisynth?

    Example picture attached
    Image
    [Attachment 86917 - Click to enlarge]

    The marked area below the red logo should cover the logo completely in every frame.
    20 seconds example movie attached also

    Scripting help very appreciated...
    Thanks.
    Image Attached Files
    Quote Quote  
  2. Use Crop() to make a copy of the blue area. Then Overlay() that clip over the logo.
    Code:
    patch = Crop(x, y, width, height)
    Overlay(last, patch, x=?, y=?)
    Quote Quote  
  3. Member
    Join Date
    Jun 2022
    Location
    Germany
    Search Comp PM
    Ha, so easy. Thanks a lot.
    Worked for me
    Code:
    patch = Crop(84, 108, 92, 62)
    Overlay(last, patch, x=84, y=46)
    Quote Quote  
  4. Yes, inpainting works very well when the area around the logo is flatly colored.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!