mitchwadair / clip-n-ship

Convert video clips to different size formats easily
MIT License
1 stars 0 forks source link

Investigate Ensuring Consistent FPS Recording #5

Open mitchwadair opened 2 years ago

mitchwadair commented 2 years ago

Being a browser-based module, ClipNShip is limited in performance by the user's computer. This means that slower PCs could have trouble with drawing/recording at a consistent framerate, especially with more complex layer setups.

I found a stackoverflow thread which outlines a way I could ensure consistent framerate when recording. This should provide a baseline for what is needed, but adaptation will be needed to support video sources. Audio could also be tricky with this method.

mitchwadair commented 2 years ago

more contextual info:

mitchwadair commented 1 year ago

We could also consider a rewrite to use the WebCodecs API, which would be a more "proper" video manipulation method. The only negative is no Firefox support as of writing this comment