Beginner Scripter Question

Hey all, first-time poster here! I’ve been scripting for my Handy on OFS (Which is an amazing platform) but anything over like twenty minutes turns the frame by frame laggy? Is there a way to fix this on my end?

I would really appreciate any pointers or tips!
Thank you so much :grinning_face_with_smiling_eyes:

1 Like

It would depend on your system and then on the video file you’re working with. Higher res and higher fps usually end up being a bigger burden on your system.

1 Like

You should I-Frame the video prior to working with it. There are some tools on here already if you search I-Frame or you can do it yourself pretty easily with ffmpeg. It bloats the video to 3-4 times the initial size but makes working with it frame to frame a million times better.

3 Likes

THIS. Super important foundational step.

Here’s a copy and paste of some tips that I gave to a user also looking to start scripting. One thing to keep in mind is there is no 100% “right” way to script, I don’t consider myself a particularly great scripter, but here is what has worked for me.

A few tips that really helped me out:

  1. ALWAYS work from i-frame’ed video files. This is basically an easier to seek version of the video file, so you can more easily move frame by frame forward and backwards without large “jumps” that are present in normal video files. This will help you script more quickly and accurately. Funexpander has an i-frame tool included:
    Fun Expander 2.5.3 - Video converter with ffmpeg to i-frames added [Updated 2025-09-17]
  2. Less points is often better. For the majority of movements, all you need is a top and bottom point. Unless it is a very long movement, or one with VERY obvious speed changes, you just need to place a point at the bottom of the motion, and another at the top. Don’t waste your time trying to EXACTLY copy movement with excessive points.
  3. Don’t let the toy stop. Even if there looks like there is a “stop” between strokes, don’t let the toy stop. It can feel really dead and weird. If there looks to be a pause at the bottom of a stroke, Ill script a very subtle movement leading to the next move. This keeps things feeling a lot more natural. As long as there is ANY contact between the dude’s wang and the female (mount, vag, etc.), don’t let the toy stop.
  4. Timing is more important than distance. Getting your movement points’ timing correct is more important than setting the travel distance correctly. Of course, you don’t want to be over/under exaggerating movements to a high degree, but you can be 10-30% off of movement distance and it won’t be really noticable. If you’re 10-30% off on timing, it is really bad. A related tip to this is to try and work from video files that are high frame rate - 48-60 fps. If you place a point 1-2 frames incorrectly, you’ll still be 2x as more accurate than if you worked from a file with a low frame rate. I use Flowframes to frame double anything that I’m going to script.

All in all - scripting isn’t very hard, you just gotta get the basics down, and from that point, it is pretty brainless work. Please let me know if you have any more questions - we always need more scripters!

1 Like

Hi guys, im interested in learning to script, i only have a mobile device though or tablet, is it possible or do i need a laptop, if this isnt a relevant post here could you guys point me into a foolproof video guide on beggining, im interested in scripting bjs ? Thanks and mods can remove this if its not the right place.