Skip to content

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