.mov videos are not playing in AEM | Community
Skip to main content
thiszparveen
Level 2
April 26, 2021
Solved

.mov videos are not playing in AEM

  • April 26, 2021
  • 3 replies
  • 2673 views

Hi,

I am using AEM as a cloud Service. .mov video are not playing on opening the video, where as .mp4 videos are playing properly nd annotations on the videos are also working.

in the thumbnail video, i can see .mov video is playing, when it is opened, it is not working( showing up loading icon forever.)

Same is reproducible in local AEM SDK as well as AEM 6.5 version. Could you please help!

Thanks in advance.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Asutosh_Jena_

Hi @thiszparveen 

 

You are getting this error because com.day.cq.dam.handler.ffmpeg.FFMpegWrapper Cannot run program "ffmpeg"

When a video is uploaded to AEM DAM, the DAM Update Asset workflow kicks in.

For these to work, ffmpeg needs to be downloaded and installed (AEM does NOT come packaged with it).

 

You need to download and install ffmpeg on the machine where AEM is running and set the environment variable (Windows), or Mac as runnable.

 

Once you complete the above steps, try to upload a new video with .MOV format and you will see in the logs that the processing will be success and you will see a "Processing ..." symbol on top of the video and the video thumbnail also will be shown. After 3-4 min (depends on the video size to complete the processing), you can play the video and it will start playing. If there is any error in processing, you will not be able to see the thumbnail like currently you are getting. Please see the example of working instance below.

 

 

Playing:

https://www.screencast.com/t/aCSu4zzN5nLa

 

Hope this helps!

Thanks!

3 replies

BrianKasingli
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
April 26, 2021

@thiszparveen,

There may be many reasons why you are experiencing this error. Can you provide us with some logs while debugging your AEM development environment?

1. Can you take a look at your browser's console and see if there are any errors in the console?

2. Can you analyse the error.log to find any error logs that may be unexpected?

3. Can you analyse your <custom>.log file to find any error logs that may be unexpected?

 

 

Asutosh_Jena_
Community Advisor
Asutosh_Jena_Community AdvisorAccepted solution
Community Advisor
April 27, 2021

Hi @thiszparveen 

 

You are getting this error because com.day.cq.dam.handler.ffmpeg.FFMpegWrapper Cannot run program "ffmpeg"

When a video is uploaded to AEM DAM, the DAM Update Asset workflow kicks in.

For these to work, ffmpeg needs to be downloaded and installed (AEM does NOT come packaged with it).

 

You need to download and install ffmpeg on the machine where AEM is running and set the environment variable (Windows), or Mac as runnable.

 

Once you complete the above steps, try to upload a new video with .MOV format and you will see in the logs that the processing will be success and you will see a "Processing ..." symbol on top of the video and the video thumbnail also will be shown. After 3-4 min (depends on the video size to complete the processing), you can play the video and it will start playing. If there is any error in processing, you will not be able to see the thumbnail like currently you are getting. Please see the example of working instance below.

 

 

Playing:

https://www.screencast.com/t/aCSu4zzN5nLa

 

Hope this helps!

Thanks!

VeenaVikraman
Community Advisor
Community Advisor
April 27, 2021

My general understanding of the Video assets in AEM is 

 

  • It supports only .mp4 videos OOTB
  • For additional video format support you need to install ffmpeg ( as @asutosh_jena_ mentioned) 

For additional reference :- https://experienceleague.adobe.com/docs/experience-manager-64/assets/managing/managing-video-assets.html?lang=en 

 

Hope this helps.

 

Veena ✌