Hello,
I'm trying to remove a transparent logo from a video, and I assumed it would be straightforward. I created a mask in Photoshop and used the InpaintLoc(Loc="100,100,-100,-100") function to fine-tune the Loc values.
I'm using Automask=0 since I'm providing my own mask.
I've been working on this for the past 4 hours, carefully reading the documentation, but I feel like I'm missing something. I'm relatively new to AviSynth and using the latest versions of AvsPmod, AviSynth, and InpaintDelogo.
I've seen other users achieve perfect results with similar logos, like the Shutterstock and Adobe watermarks, but I'm struggling with artifacts and blurriness.
Here’s my current script:
Code:FFmpegSource2("source.mp4") InpaintDelogo(mask="C:/mask.bmp", Show=0, Automask=0, Analyze=3, Loc="772,346,-770,-356", Mode="Deblend")
I’ll attach the video file as well. Any help would be greatly appreciated!
https://mega.nz/folder/Hp0XkALI#zlUWk2UjHOdgjnBQmyj70w
Thank you!
+ Reply to Thread
Results 1 to 7 of 7
-
-
I've seen other users achieve perfect results with similar logos, like the Shutterstock and Adobe watermarks, but I'm struggling with artifacts and blurriness.
clip got: short scenes, near to no motion under the logo in most scenes, some noise pattern in some scenes where the logo is.
=> This seems like a real hart case for any inpainting approach
I also threw your mask (converted to png) at ProPainter using:
Code:# Inpainting using ProPainter from vspropainter import propainter as ProPainter clip = ProPainter(clip=clip, img_mask_path="C:/Users/Selur/Desktop/InpaintDelogo/mask.png", length=50, mask_region=(460,420,740,320), sc_threshold=0.05)
Cu SelurLast edited by Selur; 21st Aug 2024 at 09:06.
users currently on my ignore list: deadrats, Stears555, marcorocchini -
Loc is incorrect, leave at least 10 pixels around logo, but that's not the main issue here. This 30 second clip doesn't have enough suitable frames to automatically build a good deblend mask. You would need to build it manually or try your luck on much longer video.
What are you doing with those stock videos?
He is doing deblend here, not inpainting.Last edited by VoodooFX; 21st Aug 2024 at 09:16.
-
He is doing deblend here, not inpainting.users currently on my ignore list: deadrats, Stears555, marcorocchini
-
-
Quick try [frame 449]:
[Attachment 81727 - Click to enlarge]
[Attachment 81728 - Click to enlarge] -
Nice
users currently on my ignore list: deadrats, Stears555, marcorocchini
Similar Threads
-
Timestamp removal help with InpaintDelogo
By theseeker2 in forum RestorationReplies: 6Last Post: 6th Mar 2024, 06:51 -
[InpaintDelogo] hard logo
By maudit in forum EditingReplies: 1Last Post: 16th Nov 2023, 05:59 -
InpaintDeLogo - logo across crop
By maudit in forum EditingReplies: 15Last Post: 9th Nov 2022, 13:36 -
[InpaintDelogo] unusual logo - DVB-T HD sample
By maudit in forum EditingReplies: 5Last Post: 12th Sep 2022, 07:24 -
Remove tv logo with InpaintDelogo
By _Donnie in forum EditingReplies: 5Last Post: 7th Jun 2022, 08:18