The following warnings occurred:
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(287) : eval()'d code PHP 8.3.12-nmm1 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/printthread.php(287) : eval()'d code 2 errorHandler->error_callback
/printthread.php 287 eval
/printthread.php 117 printthread_multipage



Selur's Little Message Board
Wondering what others think VapourSynth is missing,.. - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Talk, Talk, Talk (https://forum.selur.net/forum-5.html)
+--- Forum: A/V Talk (https://forum.selur.net/forum-6.html)
+--- Thread: Wondering what others think VapourSynth is missing,.. (/thread-2879.html)

Pages: 1 2


RE: Wondering what others think VapourSynth is missing,.. - Miranda - 18.09.2023

A pity, thank you for the update.


RE: Wondering what others think VapourSynth is missing,.. - idbirch - 16.07.2024

Just in case anyone in the future hits this thread, like I did, looking for how exactly you get InpaintDelogo working in Hybrid, here's how I managed it:
  • Create your .bmp mask in Photoshop or whatever image editing tool you prefer. Mask should be a black background with the area you want to remove in white
  • Use AVSPMod to work out the coordinates/offsets of area for removal. This script will show a yellow shaded area which you need to get to cover your logo with about 14 pixels extra each side of the logo:
LoadCPlugin("C:\Program Files\Hybrid\64bit\Avisynth\avisynthPlugins\AVSInpaint.dll")
DirectShowSource("C:\VideoFiles\TestVideo.vob", audio=false)
InpaintLoc(Loc="612,424,-48,-64")
  • You can then test the removal in AVSPMod with this script:
DirectShowSource("C:\VideoFiles\TestVideo.vob", audio=false)
Loc="612,424,-48,-64"
InpaintDelogo(mask="C:\VideoFiles\DelogoMask.bmp", Loc=Loc, Mode="Inpaint", Turbo=0)
  • If happy with the results, time to encode with Hybrid. Make sure to set [Config] -> [Internals] -> Avisynth Type: 64-bit
  • In [Filtering] -> [AviSynth] -> [Custom] add the following code to and "Insert Before" Crop:
LoadCPlugin("C:\Program Files\Hybrid\64bit\Avisynth\avisynthPlugins\AVSInpaint.dll")
Import("C:\Program Files\Hybrid\64bit\Avisynth\avisynthPlugins\InpaintDelogo.avsi")
LoadPlugin("C:\Program Files\Hybrid\64bit\Avisynth\avisynthPlugins\masktools2.dll")
LoadPlugin("C:\Program Files\Hybrid\64bit\Avisynth\avisynthPlugins\grunt.dll")
LoadPlugin("C:\Program Files\Hybrid\64bit\Avisynth\avisynthPlugins\ClipBlend_x64.dll")
LoadPlugin("C:\Program Files\Hybrid\64bit\Avisynth\avisynthPlugins\FrameSel_x64.dll")
LoadPlugin("C:\Program Files\Hybrid\64bit\Avisynth\avisynthPlugins\RT_Stats_x64.dll")
LoadPlugin("C:\Program Files\Hybrid\64bit\Avisynth\avisynthPlugins\TDeint.dll")
LoadPlugin("C:\Program Files\Hybrid\64bit\Avisynth\avisynthPlugins\TIVTC.dll")
LoadPlugin("C:\Program Files\Hybrid\64bit\Avisynth\avisynthPlugins\vsTEdgeMask.dll")
LoadPlugin("C:\Program Files\Hybrid\64bit\Avisynth\avisynthPlugins\tcolormask.dll")
LoadPlugin("C:\Program Files\Hybrid\64bit\Avisynth\avisynthPlugins\ImageSeq.dll")
LoadPlugin("C:\Program Files\Hybrid\64bit\Avisynth\avisynthPlugins\neo-fft3d.dll")

Loc="628,456,-58,-56"
InpaintDelogo(mask=" C:\VideoFiles\DelogoMask.bmp ", Loc=Loc, Mode="Inpaint", Turbo=0)

Hints and tips on how to optimize/improve this workflow gratefully received!


RE: Wondering what others think VapourSynth is missing,.. - Selur - 16.07.2024

Instead of DirectShowSource better use other source filters, DirectShowSource is the worst, when it comes to frame accuracy, since those DirectShow is now meant to be strictly frame accurate.
Also, ProPainter in Vapoursynth works fine for me. Smile