https://github.com/blaze077/Vapoursynth-RemapFrames
Ported from the
Avisynth version.
Most of the code is implemented in a different way - I purposely didn't look at the Avisynth code in the beginning and went with just the description of the plugin so as to not subconsciously use the same code. Of course, I cross-checked with the Avisynth code afterwards.
Not sure how I would return a string to Python via C++. I did Google a little and found some useful articles/tutorials so I should be able to add the two string functions soon. One of them (rfs_merge) is pretty pointless anyways.