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

WOH select-tracks does not work with audio-only input

    Details

    • Severity:
      Incorrectly Functioning With Workaround
    • Steps to reproduce:
      Hide
      Steps to reproduce:
      1. Create a simple test workflow only containing WOH inspect followed by WOH select-tracks
      2. Upload an audio-only file
       
       Actual Results:
      WOH select-tracks will fails because it insist of at least one video stream as input
       
       Expected Results:
      WOH select-tracks should also work with audio-only input so that Adopter can configure Opencast to work with audio-only
       
       Workaround (if any):
      Use WOH analyse-tracks to get information about available video streams, then execute WOH select-streams conditionally (if at least one video stream is available) or WOH tag (if no video stream is available).

      Exception:
      2019-02-28 13:47:56,757 | ERROR | (WorkflowOperationWorker:180) - Workflow operation 'operation:'select-tracks', position:0, state:'FAILED'' failed
      java.lang.IllegalStateException: couldn't find a stream with non-hidden video
      at org.opencastproject.workflow.handler.composer.SelectStreamsWorkflowOperationHandler.lambda$muxSingleVideoTrack$6(SelectStreamsWorkflowOperationHandler.java:358) ~[?:?]
      at java.util.Optional.orElseThrow(Optional.java:290) ~[?:?]
      at org.opencastproject.workflow.handler.composer.SelectStreamsWorkflowOperationHandler.muxSingleVideoTrack(SelectStreamsWorkflowOperationHandler.java:358) ~[?:?]
      at org.opencastproject.workflow.handler.composer.SelectStreamsWorkflowOperationHandler.doStart(SelectStreamsWorkflowOperationHandler.java:324) ~[?:?]
      at org.opencastproject.workflow.handler.composer.SelectStreamsWorkflowOperationHandler.start(SelectStreamsWorkflowOperationHandler.java:227) ~[?:?]
      at org.opencastproject.workflow.impl.WorkflowOperationWorker.start(WorkflowOperationWorker.java:233) ~[198:opencast-workflow-service-impl:7.0.0.SNAPSHOT]
      at org.opencastproject.workflow.impl.WorkflowOperationWorker.execute(WorkflowOperationWorker.java:155) [198:opencast-workflow-service-impl:7.0.0.SNAPSHOT]
      at org.opencastproject.workflow.impl.WorkflowServiceImpl.runWorkflowOperation(WorkflowServiceImpl.java:857) [198:opencast-workflow-service-impl:7.0.0.SNAPSHOT]
      at org.opencastproject.workflow.impl.WorkflowServiceImpl.process(WorkflowServiceImpl.java:1890) [198:opencast-workflow-service-impl:7.0.0.SNAPSHOT]
      at org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:2318) [198:opencast-workflow-service-impl:7.0.0.SNAPSHOT]
      at org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:2284) [198:opencast-workflow-service-impl:7.0.0.SNAPSHOT]
      at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
      Show
      Steps to reproduce: 1. Create a simple test workflow only containing WOH inspect followed by WOH select-tracks 2. Upload an audio-only file    Actual Results: WOH select-tracks will fails because it insist of at least one video stream as input    Expected Results: WOH select-tracks should also work with audio-only input so that Adopter can configure Opencast to work with audio-only    Workaround (if any): Use WOH analyse-tracks to get information about available video streams, then execute WOH select-streams conditionally (if at least one video stream is available) or WOH tag (if no video stream is available). Exception: 2019-02-28 13:47:56,757 | ERROR | (WorkflowOperationWorker:180) - Workflow operation 'operation:'select-tracks', position:0, state:'FAILED'' failed java.lang.IllegalStateException: couldn't find a stream with non-hidden video at org.opencastproject.workflow.handler.composer.SelectStreamsWorkflowOperationHandler.lambda$muxSingleVideoTrack$6(SelectStreamsWorkflowOperationHandler.java:358) ~[?:?] at java.util.Optional.orElseThrow(Optional.java:290) ~[?:?] at org.opencastproject.workflow.handler.composer.SelectStreamsWorkflowOperationHandler.muxSingleVideoTrack(SelectStreamsWorkflowOperationHandler.java:358) ~[?:?] at org.opencastproject.workflow.handler.composer.SelectStreamsWorkflowOperationHandler.doStart(SelectStreamsWorkflowOperationHandler.java:324) ~[?:?] at org.opencastproject.workflow.handler.composer.SelectStreamsWorkflowOperationHandler.start(SelectStreamsWorkflowOperationHandler.java:227) ~[?:?] at org.opencastproject.workflow.impl.WorkflowOperationWorker.start(WorkflowOperationWorker.java:233) ~[198:opencast-workflow-service-impl:7.0.0.SNAPSHOT] at org.opencastproject.workflow.impl.WorkflowOperationWorker.execute(WorkflowOperationWorker.java:155) [198:opencast-workflow-service-impl:7.0.0.SNAPSHOT] at org.opencastproject.workflow.impl.WorkflowServiceImpl.runWorkflowOperation(WorkflowServiceImpl.java:857) [198:opencast-workflow-service-impl:7.0.0.SNAPSHOT] at org.opencastproject.workflow.impl.WorkflowServiceImpl.process(WorkflowServiceImpl.java:1890) [198:opencast-workflow-service-impl:7.0.0.SNAPSHOT] at org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:2318) [198:opencast-workflow-service-impl:7.0.0.SNAPSHOT] at org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:2284) [198:opencast-workflow-service-impl:7.0.0.SNAPSHOT] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]

      TestRail: Results

        Attachments

          Activity

            People

            • Assignee:
              staubesv Sven Stauber
              Reporter:
              staubesv Sven Stauber
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                TestRail: Cases