Skip to content

prevent empty vfilter#115

Merged
rien merged 0 commit intorien:mainfrom
knarrff:prevent_empty_vfilter
Jan 5, 2026
Merged

prevent empty vfilter#115
rien merged 0 commit intorien:mainfrom
knarrff:prevent_empty_vfilter

Conversation

@knarrff
Copy link
Copy Markdown
Contributor

@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.

@rien rien merged commit da39aa7 into rien:main Jan 5, 2026
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.

2 participants