Hi all,

I'm running into inspection errors on the core when trying to use a mock
capture agent.  I selected the first workflow "Encode, Analyze and
Distribute" and I haven't made any changes to the workflow settings.  I'm
just trying to get all the way through the process before I try anything
else.

Thanks!

Shane

I ran the capture agent with the following mock settings...

# Default the names of the mock devices
capture.device.names=MOCK_SCREEN,MOCK_PRESENTER,MOCK_MICROPHONE

#Create the screen capture
capture.device.MOCK_SCREEN.src=${M2_REPO}/org/opencastproject/samples/screen/1.0/screen-1.0.mpg
capture.device.MOCK_SCREEN.outputfile=screen_out.mpg
capture.device.MOCK_SCREEN.flavor=presentation/source
capture.device.MOCK_SCREEN.codec=ffenc_mpeg2video
capture.device.MOCK_SCREEN.codec.bitrate=1024
capture.device.MOCK_SCREEN.codec.container=mpegtsmux
capture.device.MOCK_SCREEN.buffer.size=200
capture.device.MOCK_SCREEN.buffer.bytes=10485760
capture.device.MOCK_SCREEN.buffer.time=1000000000


#Create the presenter capture
capture.device.MOCK_PRESENTER.src=${M2_REPO}/org/opencastproject/samples/camera/1.0/camera-1.0.mpg
capture.device.MOCK_PRESENTER.outputfile=camera_out.mpg
capture.device.MOCK_PRESENTER.flavor=presenter/source
capture.device.MOCK_PRESENTER.codec=ffenc_mpeg2video
capture.device.MOCK_PRESENTER.codec.bitrate=1024
capture.device.MOCK_PRESENTER.codec.container=mpegtsmux
capture.device.MOCK_PRESENTER.buffer.size=200
capture.device.MOCK_PRESENTER.buffer.bytes=10485760
capture.device.MOCK_PRESENTER.buffer.time=1000000000

#Create the audio capture
capture.device.MOCK_MICROPHONE.src=${M2_REPO}/org/opencastproject/samples/audio/1.0/audio-1.0.mp3
capture.device.MOCK_MICROPHONE.outputfile=audio_out.mp3
capture.device.MOCK_MICROPHONE.flavor=presentation/source
capture.device.MOCK_MICROPHONE.codec=twolame
capture.device.MOCK_MICROPHONE.codec.bitrate=192
capture.device.MOCK_MICROPHONE.codec.container=mpegtsmux
capture.device.MOCK_MICROPHONE.buffer.size=200
capture.device.MOCK_MICROPHONE.buffer.bytes=10485760
capture.device.MOCK_MICROPHONE.buffer.time=1000000000


After the core ingests it I'm getting an exception during the inspection of
the audio file that the file can't be enriched.



2012-12-17 12:58:28  WARN (MediaInspectionServiceImpl:430) - Error
enriching track
http://10.x.x.x:8080/files/mediapackage/530/track-3/audio_out.mp3
org.opencastproject.inspection.api.MediaInspectionException:
org.opencastproject.inspection.impl.api.MediaAnalyzerException: Error while
running media analyzer mediainfo
    at
org.opencastproject.inspection.impl.MediaInspectionServiceImpl.getFileMetadata(MediaInspectionServiceImpl.java:576)
    at
org.opencastproject.inspection.impl.MediaInspectionServiceImpl.enrichTrack(MediaInspectionServiceImpl.java:350)
    at
org.opencastproject.inspection.impl.MediaInspectionServiceImpl.enrich(MediaInspectionServiceImpl.java:308)
    at
org.opencastproject.inspection.impl.MediaInspectionServiceImpl.process(MediaInspectionServiceImpl.java:157)
    at
org.opencastproject.job.api.AbstractJobProducer$JobRunner.call(AbstractJobProducer.java:184)
    at
org.opencastproject.job.api.AbstractJobProducer$JobRunner.call(AbstractJobProducer.java:156)
    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)
Caused by: org.opencastproject.inspection.impl.api.MediaAnalyzerException:
Error while running media analyzer mediainfo
    at
org.opencastproject.inspection.impl.api.util.CmdlineMediaAnalyzerSupport.analyze(CmdlineMediaAnalyzerSupport.java:97)
    at
org.opencastproject.inspection.impl.MediaInspectionServiceImpl.getFileMetadata(MediaInspectionServiceImpl.java:574)
    ... 10 more
Caused by: org.opencastproject.util.ProcessExcecutorException
    at
org.opencastproject.util.ProcessExecutor.execute(ProcessExecutor.java:110)
    at
org.opencastproject.inspection.impl.api.util.CmdlineMediaAnalyzerSupport.analyze(CmdlineMediaAnalyzerSupport.java:95)
    ... 11 more
Caused by: java.io.IOException: Cannot run program "mediainfo":
java.io.IOException: error=2, No such file or directory
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)
    at
org.opencastproject.util.ProcessExecutor.execute(ProcessExecutor.java:85)
    ... 12 more
Caused by: java.io.IOException: java.io.IOException: error=2, No such file
or directory
    at java.lang.UNIXProcess.<init>(UNIXProcess.java:164)
    at java.lang.ProcessImpl.start(ProcessImpl.java:81)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:468)
    ... 13 more
2012-12-17 12:58:28 ERROR (WorkflowOperationWorker:159) - Workflow
operation 'inspect' failed
org.opencastproject.workflow.api.WorkflowOperationException: Track
http://10.x.x.x:8080/files/mediapackage/530/track-3/audio_out.mp3 could not
be inspected
    at
org.opencastproject.workflow.handler.InspectWorkflowOperationHandler.start(InspectWorkflowOperationHandler.java:134)
    at
org.opencastproject.workflow.impl.WorkflowOperationWorker.start(WorkflowOperationWorker.java:217)
    at
org.opencastproject.workflow.impl.WorkflowOperationWorker.execute(WorkflowOperationWorker.java:139)
    at
org.opencastproject.workflow.impl.WorkflowServiceImpl.runWorkflowOperation(WorkflowServiceImpl.java:710)
    at
org.opencastproject.workflow.impl.WorkflowServiceImpl.process(WorkflowServiceImpl.java:1528)
    at
org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:1833)
    at
org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:1806)
    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)
2012-12-17 12:58:28  INFO (WorkflowServiceImpl:772) - Workflow state for
Workflow {530} was changed to 'PAUSED' from the outside
_______________________________________________
Matterhorn-users mailing list
Matterhorn-users@opencastproject.org
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

Reply via email to