Skip to content

prevent empty vfilter #115

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

knarrff
Copy link

@knarrff knarrff commented Apr 19, 2025

The current code adds a trailing comma in case no extra video filters are defined. At least with my version of ffmpeg (5.1.6-0+deb12u1) this does not work and leads to:

No such filter: ''

Which is: ffmpeg interprets the (empty) part after the comma as filter and does not have such a filter.

The patch only adds the comma if the extra filters are defined and are not empty.

The current code adds a trailing comma in case no extra video filters
are defined. At least with my version of ffmpeg (5.1.6-0+deb12u1) this
does not work and leads to:

No such filter: ''

Which is: ffmpeg interprets the (empty) part after the comma as filter
and does not have such a filter.

The patch only adds the comma if the extra filters are defined and are
not empty.
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.

1 participant