Unknown encoder 'webp' error from filter-media video thumbnail generation

8 views
Skip to first unread message

alex buckley

unread,
Sep 17, 2025, 12:19:05 AM (10 days ago) Sep 17
to DSpace Developers
Hi DSpace community,

We have a partner library running DSpace 7.6.3 on a RedHat server.

Now the backend DSpace server has ImageMagick installed, and we are able to successfully manually test ImageMagick webp conversion.

However, when we manually run the filter-media script on an item the video thumbnail generation fails with  org.im4java.core.CommandException: Unknown encoder 'webp' - see below output:

---

[dspace]# bin/dspace filter-media -v -i '10292/19016'
The script has started
The following MediaFilters are enabled:
Full Filter Name: org.dspace.app.mediafilter.ImageMagickVideoThumbnailFilter
org.dspace.app.mediafilter.ImageMagickVideoThumbnailFilter
PROCESSING: bitstream XXX (item: 10292/19016)
File: Black and Pink Minimalist Welcome To My Channel YouTube Video (1).mp4.jpg
IM Thumbnail Param: -auto-orient VIDEO:/tmp/imthumb8300761135230282362.tmp[100] -thumbnail 257x350 /tmp/imthumb8300761135230282362.tmp.jpg
ERROR filtering, skipping bitstream:
Item Handle: 10292/19016 Bundle Name: ORIGINAL File Size: 460491 Checksum: XXX (MD5) Asset Store: 0 Internal ID: XXX
org.im4java.core.CommandException: Unknown encoder 'webp'
Caused by: org.im4java.core.CommandException Unknown encoder 'webp'
The script has completed
[dspace]#

---


Has anyone else in the DSpace community encountered this error before and if so how did you approach fixing it?

Thanks,
Alex
Reply all
Reply to author
Forward
0 new messages