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

Encode ffmpeg options command doesn't work with parentheses ( ), maybe other characters as well #616

Open
Masterjun3 opened this issue Jul 24, 2024 · 0 comments

Comments

@Masterjun3
Copy link

In the encode configuration, if I enter -vf scale=floor(iw/2):floor(ih/2) and try to encode something, I get the following error message (and no encode is generated):

sh: 1: Syntax error: "(" unexpected

It is possible to work around this by escaping the characters with \, so -vf scale=floor\(iw/2\):floor\(ih/2\).
Maybe there are more characters where it doesn't work, so it would be nice to know which symbols exactly we have to escape. Or maybe it could be done automatically.

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