Right, it looks like the user running Matterhorn can not execute
mediainfo. That's usually due to one of three things:
1) Path: the user running Matterhorn does not have the mediainfo binary
on their path.
2) Permissions: the user running Matterhorn can't execute mediainfo
3) Installation: the 3rd party tools were not installed
Are any of these true for your installation?
Josh
On Mon, May 9, 2011 at 11:37 AM, Adam Hochman <[email protected]
<mailto:[email protected]>> wrote:
Hi Sean,
If you call mediainfo directly against a video, does it work?
~Adam
On 5/9/11 10:46 AM, Sean Hennessee wrote:
I have a brand new install of Matterhorn 1.1.0 on Redhat 5,
server only, no capture agents other than the default demo. When
I upload a test video via the admin web page, I get an error at
"inspecting the media package" after uploading. I have tried
uplaoding mpeg and quicktime videos with the same errors.
Matterhorn is running as a service as the user 'matterhorn'. The
/opt/matterhorn tree is owned by matterhorn and all writeable.
The install says everything built successfully.
Does it look like I configured something wrong, or is this a
possible bug?
Here are the errors I am getting:
----------------------------
From Recordings screen:
----------------------------
Failed
org.opencastproject.workflow.api.WorkflowOperationException:
Track
http://matterhorn2.es.uci.edu:8080/files/mediapackage/b113a0e6-2a0b-4ff0-87ea-0eed1b6fc4d7/bcb58e58-0a5c-4c1b-ac89-6292332d1a6d/sample_300kbit.mov
could not be inspected
----------------------------
From Log:
----------------------------
2011-05-09 10:18:05 WARN (MediaInspectionServiceImpl:400) -
Error enriching track
http://matterhorn2.es.uci.edu:8080/files/mediapackage/b113a0e6-2a0b-4ff0-87ea-0eed1b6fc4d7/bcb58e58-0a5c-4c1b-ac89-6292332d1a6d/sample_300kbit.mov
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:546)
at
org.opencastproject.inspection.impl.MediaInspectionServiceImpl.enrichTrack(MediaInspectionServiceImpl.java:328)
at
org.opencastproject.inspection.impl.MediaInspectionServiceImpl.enrich(MediaInspectionServiceImpl.java:286)
at
org.opencastproject.inspection.impl.MediaInspectionServiceImpl.process(MediaInspectionServiceImpl.java:135)
at
org.opencastproject.job.api.AbstractJobProducer$JobRunner.call(AbstractJobProducer.java:147)
at
org.opencastproject.job.api.AbstractJobProducer$JobRunner.call(AbstractJobProducer.java:124)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at
java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
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:72)
at
org.opencastproject.inspection.impl.MediaInspectionServiceImpl.getFileMetadata(MediaInspectionServiceImpl.java:544)
... 10 more
Caused by: org.opencastproject.util.ProcessExcecutorException
at
org.opencastproject.util.ProcessExecutor.execute(ProcessExecutor.java:102)
at
org.opencastproject.inspection.impl.api.util.CmdlineMediaAnalyzerSupport.analyze(CmdlineMediaAnalyzerSupport.java:70)
... 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:460)
at
org.opencastproject.util.ProcessExecutor.execute(ProcessExecutor.java:77)
... 12 more
Caused by: java.io.IOException: java.io.IOException: error=2, No
such file or directory
at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at
java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
... 13 more
2011-05-09 10:18:05 ERROR (WorkflowOperationWorker:158) -
Workflow operation 'inspect' failed
org.opencastproject.workflow.api.WorkflowOperationException:
Track
http://matterhorn2.es.uci.edu:8080/files/mediapackage/b113a0e6-2a0b-4ff0-87ea-0eed1b6fc4d7/bcb58e58-0a5c-4c1b-ac89-6292332d1a6d/sample_300kbit.mov
could not be inspected
at
org.opencastproject.workflow.handler.InspectWorkflowOperationHandler.start(InspectWorkflowOperationHandler.java:135)
at
org.opencastproject.workflow.impl.WorkflowOperationWorker.start(WorkflowOperationWorker.java:216)
at
org.opencastproject.workflow.impl.WorkflowOperationWorker.execute(WorkflowOperationWorker.java:138)
at
org.opencastproject.workflow.impl.WorkflowServiceImpl.runWorkflowOperation(WorkflowServiceImpl.java:646)
at
org.opencastproject.workflow.impl.WorkflowServiceImpl.process(WorkflowServiceImpl.java:1345)
at
org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:1594)
at
org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:1572)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at
java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
2011-05-09 10:18:10 INFO (ZipWorkflowOperationHandler:164) -
Archiving mediapackage b113a0e6-2a0b-4ff0-87ea-0eed1b6fc4d7 in
workflow Workflow {119}
2011-05-09 10:18:10 INFO (ZipWorkflowOperationHandler:182) -
Adding zipped mediapackage b113a0e6-2a0b-4ff0-87ea-0eed1b6fc4d7
to the failed.zips archive
2011-05-09 10:18:10 INFO (ZipWorkflowOperationHandler:196) -
Zipped mediapackage b113a0e6-2a0b-4ff0-87ea-0eed1b6fc4d7 moved
to the failed.zips archive
Peace,
Sean