I have requirement to use animated GIF images as background for banners and it should support responsive design.
GIF image type is supported by default in AEM as an asset. But, while creating custom renditions using DAM Update asset workflow, the animation is lost in the rendition image and the quality of image is lost. So, i explored the option of having a mp4 video loop. But, here video renditions are not generated by default. As per documentation, I have to install FFMPEG and generate renditions. But i cannot find info on how to generate custom renditions for videos and how to configure it.
Can someone suggest a proper solution to do this in AEM 6.5?
The issue is that renditions are png/jpeg files and not a gif. That is why you are losing an animation. I'm not sure what do you are expecting from FFMPEG, I don't think that it will be a solution for you.
I think that you need to create a custom component for gif. The custom component should use /content/dam/t../jcr:content/renditions/original node, where the animate gif is stored, instead of using /content/dam/.../jcr:content/renditions/cq5dam.web.1280.1280.jpeg node which is keeping a JPEG (static) image.
Yes, you are correct. For Video, renditions are not created by default in AEM. The default out-of-the-box workflow that kicks-in when any new asset is uploaded isDAM Update Asset( http://localhost:4502/cf#/etc/workflow/models/dam/update_asset.html )
One of the Step in this workflow that creates the Renditions isFFmpeg transcoding. For the video renditions to be created, ffmpeg need to be installed on the server, with ffmpeg being available in the PATH for AEM to pick it up.