Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-28311

Add a 'chainId' attribute to VideoConversion contribution

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Convert

      Description

      Currently VideoConversion can only specify a converter trough its converter attribute:

      <extension point="videoConversions" target="org.nuxeo.ecm.platform.video.service.VideoService">
      
          <videoConversion converter="convertToMP4" height="480" name="MP4 480p" rendition="true"/>
          <videoConversion converter="convertToWebM" height="480" name="WebM 480p" rendition="true"/>
          <videoConversion converter="convertToOgg" height="480" name="Ogg 480p" rendition="true"/>
      
      </extension>
      

      This could be restraining when the converter needs to execute a different command depending e.g. on the mime type of the video file to convert. E.g. Addtional parameters need to be provided to the command for AVI video file in order to be properly converted.

      A chainId attribute would allow such flexibility as an *automation chain or scripting can provide logical expressions to choose different converters to execute. PictureConversion contribution provides such a parameter.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: