This article details the steps involved to install FFMPEG (required to generate thumbnails for Videos); GhostScript and ImageMagick (required to generate thumbnails and renditions for EPS and AI files) on an AEM server.
By default AEM does not generate thumbnails and renditions for Videos, EPS and AI file types. FFMpeg is required for Videos. And GhostScript and Imagemagick are required for EPS and AI files.
Step-by-step guide
- FFMPEG
- GhostScript
- On Redhat Enterprise or on CentOS, run this command
- sudo yum install GhostScript [Tested this in RedHat Enterprise]
- To test the install, run this command
- gs -h [You will see help text about GhostScript instead of Command not found]
- On Redhat Enterprise or on CentOS, run this command
- Imagemagick
- On the folder where the file is downloaded, run this command
- sudo yum install ImageMagick [Tested this in RedHat Enterprise]
- To test the install, run this command
- convert -h [You will see help text about ImageMagick instead of Command not found]
- You can also copy and paste or drag and drop images into your instructions.
- On the folder where the file is downloaded, run this command
Test
- On AEM > Assets:
- FFMPEG Test
- Video – Upload a video file, AEM should generate thumbnails and renditions for the video.
- FFMPEG Test
- GhostScript and ImageMagick Test
- EPS and AI – Upload an “.ai” and “.eps” files and AEM should generate Thumbnails and Renditions for them.
Notes
- References from Adobe docs
- You can download the latest version from https://ghostscript.com/download/ [Version i tested was 9.21]
- You can download the latest version from https://www.imagemagick.org/script/download.php [Version i tested was 7.0.5-1]