Why it's laggy when is scroll up
gofortiss opened this issue · 5 comments
With the goldengate.mp4 video file it works perfectly, but when i export my own video, it is laggy. My file is only 548Kb.
Do you have an export recommendation ?
In this case, I'd recommend exporting with keyframe distance set to 1, that will solve your upwards scroll issue. The file size will be a bit bigger but it looks like you're starting with a pretty small file.
Thank you for your fast response ! I will check and let you know if it works :)
In my case, it works perfectly!
if somebody needs a command to convert I frame only mp4(video with keyframe distance), please refer to the command below.
ffmpeg -i original.mp4 -c:v libx264 -x264-params keyint=1 original_I.mp4
In this case, I'd recommend exporting with keyframe distance set to 1, that will solve your upwards scroll issue. The file size will be a bit bigger but it looks like you're starting with a pretty small file.
Any plans to implement the ability to upload two videos (one forward, one reverse), and switch between them depending on which way the user scrolls?
I have a video with very little motion, which is why I would prefer a video with keyframes over the usual image sequence.
Any plans to implement the ability to upload two videos (one forward, one reverse), and switch between them depending on which way the user scrolls?
No plans in the immediate future, although I'm happy to help review a pull request if someone is interested in implementing it!