Uploaded image for project: 'Opencast'
  1. MH-10576

Composite workflow operation requires watermark layout

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects versions: 1.5.2, 1.6.1
    • Fix versions: None
    • Labels:
      None
    • Severity:
      Incorrectly Functioning With Workaround
    • Steps to reproduce:
      Hide
      The docs state that the watermark layout is optional

      layout-{name}

      Json , ";" , Json , [ ";" , Json ]

      Define semi-colon separated JSON layouts (lower video, upper video, optional watermark) to provide by name.


      Steps to reproduce:
      1. Create a workflow that uses composite but doesn't specify any watermark, the layout should therefore have only two horizontalCoverage json objects.

      eg:

          <operation
              id="composite"
              fail-on-error="true"
              exception-handler-workflow="error"
              description="Composite">
              <configurations>
                  <configuration key="source-flavor-upper">presentation/trimmed</configuration>
                  <configuration key="source-flavor-lower">presenter/trimmed</configuration>
                  <configuration key="encoding-profile">composite</configuration>
                  <configuration key="target-tags">engage-download,rss,atom</configuration>
                  <configuration key="target-flavor">composite/delivery</configuration>
                  <configuration key="output-resolution">1900x720</configuration>
                  <configuration key="output-background">black</configuration>
                  <configuration key="layout">5050</configuration>
                  <configuration key="layout-5050">
                      {"horizontalCoverage":0.5,"anchorOffset":{"referring":{"left":0.0,"top":0.0},"offset":{"y":0,"x":0},"reference":{"left":0.0,"top":0.0}}};
                      {"horizontalCoverage":0.5,"anchorOffset":{"referring":{"left":0.0,"top":0.0},"offset":{"y":0,"x":0},"reference":{"left":0.5,"top":0.0}}};
                  </configuration>
              </configurations>
          </operation>

       
       Actual Results:
       
      Fails as there is no layout for the watermark.
       
       Expected Results:
       
       
       Workaround (if any):

      specify the extra layout even though it's not used
       





      Show
      The docs state that the watermark layout is optional layout-{name} Json , ";" , Json , [ ";" , Json ] Define semi-colon separated JSON layouts (lower video, upper video, optional watermark) to provide by name. Steps to reproduce: 1. Create a workflow that uses composite but doesn't specify any watermark, the layout should therefore have only two horizontalCoverage json objects. eg:     <operation         id="composite"         fail-on-error="true"         exception-handler-workflow="error"         description="Composite">         <configurations>             <configuration key="source-flavor-upper">presentation/trimmed</configuration>             <configuration key="source-flavor-lower">presenter/trimmed</configuration>             <configuration key="encoding-profile">composite</configuration>             <configuration key="target-tags">engage-download,rss,atom</configuration>             <configuration key="target-flavor">composite/delivery</configuration>             <configuration key="output-resolution">1900x720</configuration>             <configuration key="output-background">black</configuration>             <configuration key="layout">5050</configuration>             <configuration key="layout-5050">                 {"horizontalCoverage":0.5,"anchorOffset":{"referring":{"left":0.0,"top":0.0},"offset":{"y":0,"x":0},"reference":{"left":0.0,"top":0.0}}};                 {"horizontalCoverage":0.5,"anchorOffset":{"referring":{"left":0.0,"top":0.0},"offset":{"y":0,"x":0},"reference":{"left":0.5,"top":0.0}}};             </configuration>         </configurations>     </operation>    Actual Results:   Fails as there is no layout for the watermark.    Expected Results:      Workaround (if any): specify the extra layout even though it's not used  
    • Tags (folksonomy):

      TestRail: Results

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              james.perrin James Perrin
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                TestRail: Cases