Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why it's laggy when is scroll up #36

Open
gofortiss opened this issue Feb 11, 2023 · 5 comments
Open

Why it's laggy when is scroll up #36

gofortiss opened this issue Feb 11, 2023 · 5 comments

Comments

@gofortiss
Copy link

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 ?

@dkaoster
Copy link
Owner

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.

@gofortiss
Copy link
Author

Thank you for your fast response ! I will check and let you know if it works :)

@ryuken73
Copy link

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

@KalebKloppe
Copy link
Contributor

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.

@dkaoster
Copy link
Owner

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants