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

How to specify the global "-nostdin" option? #425

Closed
abingham opened this issue Jan 15, 2025 · 2 comments · Fixed by #426
Closed

How to specify the global "-nostdin" option? #425

abingham opened this issue Jan 15, 2025 · 2 comments · Fixed by #426
Assignees
Labels
Type: Feature New Feature

Comments

@abingham
Copy link
Contributor

I'm trying to pass "-nostdin" to my ffmpeg command, but I can't see how to do it with this package.

I've tried using the GlobalRunnable like this:

stream = ffmpeg.output(...)
stream.global_args(stdin=False)
stream.run()

But this doesn't seem to do anything. And I can't find any place in the typed-ffmpeg code that seems to be trying to set "-nostdin".

So is there a way to do this?

This seems to be related to #338.

@lucemia
Copy link
Contributor

lucemia commented Jan 15, 2025

thanks for your report, I have released a new version 2.5.0 resolve this issue

@abingham
Copy link
Contributor Author

Thanks, this works perfectly!

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

Successfully merging a pull request may close this issue.

2 participants