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

Add codec and bitrate to watermark command line

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 9.10-HF01
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Convert, DAM

      Description

      Current implementation relies on FFMPEG default behaviour. By default fmpeg2 codec will be used to perform watermarking. That can lead to quality regression on some formats. For instance DNX HD is a high quality format and requires dnxhd codec to lossless processing.

      Command line contribution should be changed to include codec and bitrate

      <command name="videoWatermarkWithPicture" enabled="true">
                  <commandLine>ffmpeg</commandLine>
                  <parameterString>-y -i #{sourceFilePath} -i #{pictureFilePath} -c:v #{codec} -filter_complex #{filterComplex} -b:v #{bitrate} #{outFilePath}
                  </parameterString>
                  <installationDirective>You need to install ffmpeg.</installationDirective>
              </command>
      

      Changing that behaviour will require changes on the packages that perform custom watermarking

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: