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

Remove extra quotes and spaces from custom args #648

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

redzic
Copy link
Collaborator

@redzic redzic commented Jul 7, 2022

Currently, some unexpected behavior can happen if the user is not careful to properly pass the arguments to av1an. This allows everything to work properly even if extra quotes are added to --video-params (and other similar options).

@redzic
Copy link
Collaborator Author

redzic commented Jul 7, 2022

Actually there is an extreme edge case where the user might pass --vmaf-model-path="<path wrapped in quotes>" or something like that as the last argument and this would actually cause that to break. Preceding quotes and spaces should always be removed though.

@redzic redzic marked this pull request as draft July 7, 2022 20:51
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

Successfully merging this pull request may close these issues.

None yet

1 participant