Hi folks,

There's a patch for http://opencast.jira.com/browse/MH-9351, which is
great because we now have captions support back.  The captioning works
as expected if you use the hold state, but it does not work if you use
the upload tool.  Instead you see an error about being unable to inspect
the media:

12:25:47  WARN (MediaInspectionServiceImpl:496) - Error enriching track
http://localhost:8080/files/mediapackage/22b06398-bc7e-48fd-8aa3-2059095f4e82/d0594957-95ed-4bf7-8650-0cf5a12a65d9/captions_1_.xml
org.opencastproject.inspection.api.MediaInspectionException: File at
http://localhost:8080/files/mediapackage/22b06398-bc7e-48fd-8aa3-2059095f4e82/d0594957-95ed-4bf7-8650-0cf5a12a65d9/captions_1_.xml
does not seem to be a/v media
        at
org.opencastproject.inspection.impl.MediaInspectionServiceImpl.enrichTrack(MediaInspectionServiceImpl.java:420)
        at
org.opencastproject.inspection.impl.MediaInspectionServiceImpl.enrich(MediaInspectionServiceImpl.java:374)
        at
org.opencastproject.inspection.impl.MediaInspectionServiceImpl.process(MediaInspectionServiceImpl.java:178)
        at
org.opencastproject.job.api.AbstractJobProducer$JobRunner.call(AbstractJobProducer.java:192)
        at
org.opencastproject.job.api.AbstractJobProducer$JobRunner.call(AbstractJobProducer.java:157)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)
12:25:47  INFO (ServiceRegistryJpaImpl:1867) - State set to WARNING for
current service org.opencastproject.inspection on host http://localhost:8080
12:25:52 ERROR (WorkflowOperationWorker:163) - Workflow operation
'inspect' failed
org.opencastproject.workflow.api.WorkflowOperationException: Track
http://localhost:8080/files/mediapackage/22b06398-bc7e-48fd-8aa3-2059095f4e82/d0594957-95ed-4bf7-8650-0cf5a12a65d9/captions_1_.xml
could not be inspected
        at
org.opencastproject.workflow.handler.InspectWorkflowOperationHandler.start(InspectWorkflowOperationHandler.java:136)
        at
org.opencastproject.workflow.impl.WorkflowOperationWorker.start(WorkflowOperationWorker.java:220)
        at
org.opencastproject.workflow.impl.WorkflowOperationWorker.execute(WorkflowOperationWorker.java:141)
        at
org.opencastproject.workflow.impl.WorkflowServiceImpl.runWorkflowOperation(WorkflowServiceImpl.java:758)
        at
org.opencastproject.workflow.impl.WorkflowServiceImpl.process(WorkflowServiceImpl.java:1652)
        at
org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:2031)
        at
org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:1997)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)

The other fun case is where you add the captions as above, and also
check the caption hold checkbox.  Which set of captions takes priority?
 In my mind we should remove the caption file from the multi-file upload
(the broken part) and be done with it rather than taking additional time
to fix it, and then trying to handle potentially multiple sets of
captions.  Thoughts?

G



Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to