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

Cannot set atempo to float value in macOS #149

Open
gernophil opened this issue Sep 13, 2023 · 0 comments
Open

Cannot set atempo to float value in macOS #149

gernophil opened this issue Sep 13, 2023 · 0 comments

Comments

@gernophil
Copy link

Hey everyone,
if I set the ff_opts dict to the following values, it raises an error:

ff_opts = {'ss': start / 1000, 'af':'atempo=1.2', 'vn':True}
MediaPlayer(self.audio_source, ff_opts=ff_opts, callback=self.ffplay_callback)
[Parsed_atempo_0 @ 0x600001b079c0] [Eval @ 0x16b9f9ed8] Invalid chars '.2' at the end of expression '1.2'
[Parsed_atempo_0 @ 0x600001b079c0] Unable to parse option value "1.2"
[Parsed_atempo_0 @ 0x600001b079c0] Error setting option tempo to value 1.2.

Somehow it's not able to read the dot from the float correctly. Running this on Windows works. Any ideas?

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

1 participant