View Full Version : Call ffmpeg filters from AviSynth+?
I would like to do something like:
FFVideoFilter("deshake=rs=1.0:rx=0:ry=0, lenscorrection=k1=0.1:k2=0.05")
However I don't find an AviSynth+ filter to use ffmpeg filters...
Any hints for me?
What I need actually is a rolling shutter correction and after that have a correction of a wide-angel rectilinear lens;
as pre-steps for deshaking.
Jamaika
19th July 2026, 07:41
You can use a deshaker
https://www.guthspot.se/video/deshaker.htm
http://avisynth.nl/index.php/Deshaker3D
http://www.avisynth.nl/users/fizick/depan/depan.html
In my case the steps' order (see above) is essential.
_Al_
19th July 2026, 19:38
It is possible to do custom ffmpeg filters using vapoursynth script though.
You load your video using ffmpeg and applying your filters, then you might proceed to use other vapoursynth filters, just above clip.set_output() line.
https://forum.videohelp.com/threads/398380-Full-Range-to-Limited-Range-Video#post2591711
Beware, if using a previewer, it works only from frame one to last frame, jumping between frames would not work, it would still continuously preview video from frame zero to last. Script performs piping of fmpeg frames to vapoursynth script one after another.
Think of it like a redneck ffmpeg source filter solution to load your video into vapoursynth with a possibility to set custom ffmpeg filers.
Also get_write_ptr(i) is changed into other syntax now I think, it is in manual what is correct now, it uses slices for video planes now.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.