Class FFMpegTranscodeProcess

  • All Implemented Interfaces:
    WorkflowProcess

    @Service
    @Properties(@Property(name="process.label",value="Transcode Video",propertyPrivate=true))
    public class FFMpegTranscodeProcess
    extends AbstractFFMpegProcess
    Workflow process that calls FFMPEG on the command line to create thumbnails of the image. You can specify the dimension of the thumbnails to be created

    For example, using the following workflow step arguments:

        [140x100],[48x48]
     

    Will create thumbnails of size 140x100 and 48x48 with a black letterbox/pillarbox

    This will only happen for assets having a video-based mime-type, others are ignored.

    • Constructor Detail

      • FFMpegTranscodeProcess

        public FFMpegTranscodeProcess()
    • Method Detail

      • getThumbnailConfigs

        public java.lang.String[] getThumbnailConfigs​(MetaDataMap metaData)
        Reads the thumbnail configurations from the given meta data.
        Parameters:
        metaData - configuration metadata
        Returns:
        String[] of thumbnail configurations.
      • getVideoProfiles

        public java.lang.String[] getVideoProfiles​(MetaDataMap metaData)
      • buildArguments

        public java.lang.String[] buildArguments​(MetaDataMap metaData)