Nuxeo Add-Ons

Alternative Command Parameters for ProRes Codec Users

This page is scheduled for review and update. Check back soon for updated content!

The Nuxeo Platform automatically converts the new Video files ingested in the system to produce mp4 and webM videos. The mp4 file will be used to display the playback.

From our experience and our customers feedback, the mp4 conversion used by default does not suit all video format given as an input, in particular video encoded with ProRes codec. In this case, the playback is not displayed in the browser. Therefore you need to override the default ffmpeg-tomp4 command with the following code:

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.video.convert.commandline.override">

  <require>org.nuxeo.ecm.platform.video.convert.commandline</require>

  <extension target="org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent"
    point="command">

    <command enabled="true" name="ffmpeg-tomp4">
      <commandLine>ffmpeg</commandLine>
      <parameterString> -i #{inFilePath} -acodec aac -strict -2 -pix_fmt yuv420p -vcodec libx264 -r 29.97 -v 0 #{outFilePath}</parameterString>
      <winParameterString> -i #{inFilePath} -acodec aac -strict -2 -pix_fmt yuv420p -vcodec libx264 -r 29.97 -v 0 #{outFilePath}</winParameterString>
      <installationDirective>You need to install ffmpeg from http://ffmpeg.org (apt-get install ffmpeg)
      </installationDirective>
    </command>

  </extension>

</component>


a month ago manonlumeau Remove updated review date
3 years ago Solen Guitter 4
3 years ago Solen Guitter 2
3 years ago Solen Guitter 3
3 years ago Thierry Martins 1
History: Created by Thierry Martins

We'd love to hear your thoughts!

All fields required