View Single Post
Old 10th March 2023, 23:08   #694  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 989
Quote:
Originally Posted by Matt3o View Post
Code:
LWLibAVVideoSource("D:\delogo.mkv")
#InpaintDelogo(mask="D:\mask.bmp", Automask=1, aMix=2, Loc="1124,24,-52,-636", Analyze=2)
InpaintDelogo(mask="D:\mask.bmp", Loc="1124,24,-52,-636", mode="both", Analyze=1, Inflate=2, Interp=2, IntSpd=4, oTune=3, optimize2=3, dpp=-3)
Is there anything I can do to improve it or is this the best I can achieve?
Get better video source, this looks like some re-reencode.
Mode="Both" is wrong here, it's for semi-transparent logos, this logo is just transparent.
You analyzed frames at the end with no logo + fade-out animation, trim out those parts for analysis.
For settings like "IntSpd=4" leave 20px from the logo edges.


Quote:
Originally Posted by Matt3o View Post
Unfortunately on some frames, the logo is still visible. Frame 1279
Use 'stronger' settings to deal with the severe deblend artifacts:
Code:
Trim(0,6960)
InpaintDelogo(mask="D:\mask.bmp", Show=2, Loc="1114,14,-42,-626", mode="Deblend", Inflate=2, IntSpd=4, Optimize2=2, dPP=-5)
VoodooFX is offline   Reply With Quote