Expand my Community achievements bar.

SOLVED

.mov videos are not playing in AEM

Avatar

Level 1

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.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @Parveen1 

 

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).

asutosh_jena_0-1619493681988.png

 

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.

 

asutosh_jena_1-1619493951134.png

 

Playing:

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

 

Hope this helps!

Thanks!

View solution in original post

3 Replies

Avatar

Community Advisor

@Parveen1,

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?

 

 

Avatar

Correct answer by
Community Advisor

Hi @Parveen1 

 

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).

asutosh_jena_0-1619493681988.png

 

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.

 

asutosh_jena_1-1619493951134.png

 

Playing:

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

 

Hope this helps!

Thanks!

Avatar

Community Advisor

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.... 

 

Hope this helps.

 

Veena ✌