OFS - drift after saving

Hi all,

I recently made a script which was working fine until now.

For some reason, every time I open the script with OFS, it appears to have entirely drifted by about 30ms.


(the white line is set to where the script point should be and the red point is where it ends up after exporting. Note, not even at a frame point)

I’ve tried fixing it, then saving. Same result once I open it again, as if I hadn’t fixed anything.

I’m pretty new to this, this was my first script. Any clue as to why this would be happening?

I think you need to export the active script. It’s in the file menu.

That’s what I do.
I tried both quick export and the regular without success. The “save project” gives the same result.

edit: what’s really weird is the points drift to positions I cannot reach by scrolling with the arrow keys.

Had the same question on a similar behavior, but I’m assuming the issue here is the same.

So yeah that’s just how OFS internally saves the funscript, if it is something else causing the behavior i have no idea what is causing it, to this day i can’t solve it so i kind of just live with the result at this point :rofl:

It could also be because of the native FPS of the video itself if that is happening horizontally and not vertically, in my case, the error is more on the vertical shift, not a horizontal one, so converting the video to I-frames might help or solve the issue, maybe, I’m not entirely sure but you can try.

You can use this to convert videos to i-frame:

Thanks. This looks like it could be it.

I noticed that the source video has some weird framerate (something like 23.98fps).

Maybe I need to convert my next video to a rounded 30 or 60fps and see if that helps at all.

Thanks for the clues and links though.

No worries, happy to help! :people_hugging:

SOLVED!

Thanks to OverTheEdge,

I converted the video to 60fps, adjusted the script and exported it again. Seems to be working fine now.