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

Video playback speed it very slow #462

Open
ovitus opened this issue Jan 14, 2025 · 2 comments
Open

Video playback speed it very slow #462

ovitus opened this issue Jan 14, 2025 · 2 comments

Comments

@ovitus
Copy link

ovitus commented Jan 14, 2025

Add a description

I'm on NixOS, using the latest Gem version compiled from master. I have ffmpeg as the film loading plugin for pix_film.

I'm trying to follow this tutorial:
https://www.youtube.com/watch?v=WgxwkAsNjYws

Playback speed is very slow though. Any idea why that is or how I could fix it?

@umlaeute
Copy link
Owner

[pix_film] will advance one frame in each render cycle.
so if you are running ´[gemwin]` at 20fps (which is the default for historical reasons), and your footage is recorded at 120fps, itwill be played back at 1/6th of the original speed.

so you need to adjust the playback speed (auto actually takes a relative speed, not just a boolean)

@ovitus
Copy link
Author

ovitus commented Jan 15, 2025

[pix_film] says it loaded the file at 60fps. I'm not sure it's just frame rate that's the issue, there are also allot of visual distortions and artifacts. The video plays smooth with ffplay. I'm not sure how to adjust playback speed as you mention. Could you provide an example patch? Is there any other video plugin I could try with Gem? Or maybe it's something with my setup?

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

2 participants