Platform: Ubuntu Linux
AEM Version: 6.5
FFmpeg version:
If I upload a video (mp4) with Dynamic Media off, FFmpeg transcoding will fail
Here are the failure details under Workflow > Failures:
com.adobe.granite.workflow.WorkflowException: Process execution resulted in an error
at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:201)
at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:260)
at org.apache.sling.event.impl.jobs.JobConsumerManager$JobConsumerWrapper.process(JobConsumerManager.java:502)
at org.apache.sling.event.impl.jobs.queues.JobQueueImpl.startJob(JobQueueImpl.java:293)
at org.apache.sling.event.impl.jobs.queues.JobQueueImpl.access$100(JobQueueImpl.java:60)
at org.apache.sling.event.impl.jobs.queues.JobQueueImpl$1.run(JobQueueImpl.java:229)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.adobe.granite.workflow.WorkflowException: Failed to execute process
at com.day.cq.workflow.compatibility.CQWorkflowProcessRunner.execute(CQWorkflowProcessRunner.java:108)
at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:191)
... 8 more
Caused by: java.lang.NullPointerException
at com.day.cq.dam.handler.ffmpeg.FFMpegWrapper.addResizeArguments(FFMpegWrapper.java:621)
at com.day.cq.dam.handler.ffmpeg.FFMpegWrapper.transcode(FFMpegWrapper.java:553)
at com.day.cq.dam.handler.ffmpeg.FFMpegWrapper.transcode(FFMpegWrapper.java:544)
at com.day.cq.dam.video.FFMpegTranscodeProcess.processVideo(FFMpegTranscodeProcess.java:123)
at com.day.cq.dam.video.AbstractFFMpegProcess.execute(AbstractFFMpegProcess.java:104)
at com.day.cq.workflow.compatibility.CQWorkflowProcessRunner.execute(CQWorkflowProcessRunner.java:93)
... 9 more
When Dynamic Media is on, (.mp4 or .mov) that'll fail too.
com.adobe.granite.workflow.WorkflowException: --The DMGateway configuration for video proxy is missing the registrationID, or the encoding serviceURL, or both. Please correct the configuration, then retry the workflow.--
at com.day.cq.workflow.compatibility.CQWorkflowExtProcessProxy.execute(CQWorkflowExtProcessProxy.java:68)
at com.adobe.granite.workflow.core.util.WEPProxyHolder.execute(WEPProxyHolder.java:42)
at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:274)
at org.apache.sling.event.impl.jobs.JobConsumerManager$JobConsumerWrapper.process(JobConsumerManager.java:502)
at org.apache.sling.event.impl.jobs.queues.JobQueueImpl.startJob(JobQueueImpl.java:293)
at org.apache.sling.event.impl.jobs.queues.JobQueueImpl.access$100(JobQueueImpl.java:60)
at org.apache.sling.event.impl.jobs.queues.JobQueueImpl$1.run(JobQueueImpl.java:229)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Why does this happen out of the box, and how can I prevent it from happening?
Hi,
Welcome to Adobe Community.
As per the error message for video processing (with Dynamic Media), you need to configure Dynamic Media settings (registration Id and Video Service url)
In regards to error message for video processing (without Dynamic Media), please share more information :
Is this happening with all the videos?
Are you testing this with AEM 6.5.9 or a different version?
Does video processing ever worked with FFmpeg on this AEM Author?
Have you tested with admin user?
Thanks,
Vikram Gaur
edit: duplicate
How do I "configure Dynamic Media settings (registration Id and Video Service url)"?
On my local AEM instance, I've never had to configure these things. I just set it up, turn it on, and it works out of the box.
> Is this happening with all the videos?
Yes.
> Are you testing this with AEM 6.5.9 or a different version?
6.5.0
>Does video processing ever worked with FFmpeg on this AEM Author?
No.
>Have you tested with admin user?
Yes.
Hi,
Please check the Welcome email from Adobe (when Dynamic Media was provisioned, your administrator must have got it).
In case you don't have access to it, please contact your Account Manager.
Do you have a possibility to test this video upload issue (FFMpeg error) with AEM 6.5.9? (installing Service Pack 9)
Thanks,
Vikram Gaur
Hi , i am also getting the same issue in AEM 6.5.10 as well. Did u resolve the issue?