May 8, 2020
Estimated Post Reading Time ~

How to Install FFMPEG, GhostScript and ImageMagick on AEM Server

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.

2. 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]
3. 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.

Test
1. On AEM > Assets:
FFMPEG Test
Video – Upload a video file, AEM should generate thumbnails and renditions for the video.

2. GhostScript and ImageMagick Test
EPS and AI – Upload a “.ai” and “.eps” files and AEM should generate Thumbnails and Renditions for them.

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]


Source: https://techinpieces.com/how-to-install-ffmpeg-ghostscript-and-imagemagick-on-aem-server/


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.