Hi Carolyn,

we have the "ImageMagick Video Thumbnail" succesfully working on our production server (https://hdl.handle.net/11705/SISTEDES/SEMINARIOS).

We're running Debian 12, and ImageMagick 6.9.11-60.

Regarding your problem with video Thumbnails, I think it's related to this issue discussed long ago: https://groups.google.com/g/dspace-tech/c/Pz5zGJjAS1w?pli=1

I think it's because you're using an old version of ImageMagick which expects that MP4 files are specified as "MPEG" rather than as "VIDEO" when explicitly setting the video file format (exactly, here: https://github.com/DSpace/DSpace/blob/2205bb18b1786b71d6cef876e67566d35c04bb49/dspace-api/src/main/java/org/dspace/app/mediafilter/ImageMagickVideoThumbnailFilter.java#L66). That's my guess from inspecting the code.

Here's the commit when the developers of ImageMagick introduced this breaking change (https://github.com/ImageMagick/ImageMagick6/commit/4872c693299802cfe6677742867098f64440d9aa). It was around version 6.9.11-31.

I have planned to send a PR to make that part of the code configurable, but didn't have the time.

Regarding your issue with PDF files, is a configuration issue of ImageMagick. See https://wiki.lyrasis.org/display/DSDOC7x/ImageMagick+Media+Filters#ImageMagickMediaFilters-%22convert.im6:notauthorized%22errors

Best regards,

Abel


El 28/10/2025 a las 21:39, Carolyn Sullivan escribió:
Hello all,

Wondering if anyone has managed to produce thumbnails of mp4 files yet.  If so, how did you do it?  I have the most current versions of ImageMagick, Ghostscript and ffmpeg on my server (6.9.10-23, 9.50, and 4.2.7-0ubuntu0.1, respectively).  I'm running DSpace 7.6.2.  I added filter.plugins = ImageMagick Video Thumbnail  to my local.cfg.dev file.  However, running sudo -u tomcat /var/dspace/bin/dspace filter-media -i [collection handle] -v, it gives NO output for video files, not even an error... and for pdfs, it's telling me:

 org.im4java.core.CommandException: convert-im6.q16: attempt to perform an operation not allowed by the security policy `PDF' @ error/constitute.c/IsCoderAuthorized/413

which seems to be possibly a separate problem.

Anyone see this before or have any idea as to the cause?

Thanks,
Carolyn.

--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/dspace-tech/9cfd2f43-09e9-46d6-993c-6cd343d2ec33n%40googlegroups.com <https://groups.google.com/d/msgid/dspace-tech/9cfd2f43-09e9-46d6-993c-6cd343d2ec33n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
Abel Gómez Llana, PhD

[email protected]
https://abel.gomez.llana.me

--
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/dspace-tech/01a8070d-884c-419b-8c45-4667a5db0427%40gmail.com.

Reply via email to