[email protected] Sent by: [email protected] 09/23/2011 07:06 AM Please respond to [email protected]
To [email protected] cc Subject Matterhorn-users Digest, Vol 14, Issue 54 I had the same error before the 3rd party apps installed. Getting those to install correctly fixed it for me. Sorry I can't be more help. On Fri, Sep 23, 2011 at 9:54 AM, stefan braun <[email protected]>wrote: > Thanks, 3rd party tools are now installed. But there is still a failure > with the media inspection: > > Cannot run program "mediainfo": Media inspection failed. > > I'm running matterhorn v.1.2 as root, mediainfo is installed, all 3rd > party tools also successful installed. But even now, there is an error. > > The same with v.1.1: everything worked fine two days ago, but > unfortunately today the media inspection fails. perhaps it was the > update vo cendOS ... ?! > > Do you have any ideas why v.1.2 sill wont work? I'm still getting the error after installing the third party tools as well. Unfortunately, running... sudo /etc/init.d/matterhorn start ...doesn't fix the problem for me. It looks like I have mediainfo installed: watkinsp@ubuntu:/opt/matterhorn/1.2.0/docs/scripts/3rd_party$ mediainfo --Version MediaInfo Command line, MediaInfoLib - v0.7.35 Here's the location: watkinsp@ubuntu:/opt/matterhorn/1.2.0/docs/scripts/3rd_party$ whereis mediainfo mediainfo: /usr/local/bin/mediainfo This is my log: . . . :28:10 INFO (UserAndSeriesLoader:164) - Adding sample admins, usernames and passwords are admin1/admin1... admin10/admin10 08:28:10 INFO (UserAndSeriesLoader$Loader:148) - Finished loading sample series and users 08:28:11 WARN (AgentImpl:224) - Null friendly name list for agent demo_capture_agent. Capabilities filtering aborted. 08:28:11 WARN (AgentImpl:224) - Null friendly name list for agent demo_capture_agent. Capabilities filtering aborted. 08:28:11 WARN (AgentImpl:224) - Null friendly name list for agent demo_capture_agent. Capabilities filtering aborted. 08:28:11 WARN (AgentImpl:224) - Null friendly name list for agent demo_capture_agent. Capabilities filtering aborted. 08:29:19 INFO (IngestRestService:647) - New upload job created: b64e2974-e466-4b66-ada1-a4bb3abeb7b5 08:29:19 INFO (IngestRestService:647) - New upload job created: e05b60bf-066c-458f-a4aa-ae8ea68f89f8 08:29:19 INFO (IngestRestService:647) - New upload job created: 10566bd7-5991-41a7-87da-53c8ae320c8f 08:29:19 INFO (IngestRestService:647) - New upload job created: e40658d0-c92e-4bb9-a502-469b5e092132 08:29:46 INFO (IngestServiceImpl:813) - Adding element of type Catalog to mediapackage bdde7afa-321e-4aac-8138-3fce59d08e9f 08:29:46 INFO (IngestServiceImpl:813) - Adding element of type Catalog to mediapackage bdde7afa-321e-4aac-8138-3fce59d08e9f 08:29:52 INFO (IngestServiceImpl:813) - Adding element of type Track to mediapackage bdde7afa-321e-4aac-8138-3fce59d08e9f 08:30:02 INFO (InspectWorkflowOperationHandler:128) - Inspecting track '15bac138-caef-46d8-8665-43e4c121bc71' of bdde7afa-321e-4aac-8138-3fce59d08e9f 08:30:07 WARN (MediaInspectionServiceImpl:421) - Error enriching track http://ubuntu:8080/files/mediapackage/bdde7afa-321e-4aac-8138-3fce59d08e9f/15bac138-caef-46d8-8665-43e4c121bc71/metau_presenter.mp4 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:567) at org.opencastproject.inspection.impl.MediaInspectionServiceImpl.enrichTrack(MediaInspectionServiceImpl.java:341) at org.opencastproject.inspection.impl.MediaInspectionServiceImpl.enrich(MediaInspectionServiceImpl.java:299) at org.opencastproject.inspection.impl.MediaInspectionServiceImpl.process(MediaInspectionServiceImpl.java:148) 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:72) at org.opencastproject.inspection.impl.MediaInspectionServiceImpl.getFileMetadata(MediaInspectionServiceImpl.java:565) ... 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=12, Cannot allocate memory at java.lang.ProcessBuilder.start(ProcessBuilder.java:475) at org.opencastproject.util.ProcessExecutor.execute(ProcessExecutor.java:77) ... 12 more Caused by: java.io.IOException: java.io.IOException: error=12, Cannot allocate memory 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 08:30:08 ERROR (WorkflowOperationWorker:158) - Workflow operation 'inspect' failed org.opencastproject.workflow.api.WorkflowOperationException: Track http://ubuntu:8080/files/mediapackage/bdde7afa-321e-4aac-8138-3fce59d08e9f/15bac138-caef-46d8-8665-43e4c121bc71/metau_presenter.mp4 could not be inspected at org.opencastproject.workflow.handler.InspectWorkflowOperationHandler.start(InspectWorkflowOperationHandler.java:134) 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:704) at org.opencastproject.workflow.impl.WorkflowServiceImpl.process(WorkflowServiceImpl.java:1412) at org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:1717) at org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:1690) 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) 08:30:17 INFO (ZipWorkflowOperationHandler:158) - Archiving mediapackage bdde7afa-321e-4aac-8138-3fce59d08e9f in workflow Workflow {28} 08:30:17 ERROR (WorkflowOperationWorker:156) - Workflow operation 'null' failed java.io.IOException: Cannot run program "ln": java.io.IOException: error=12, Cannot allocate memory at java.lang.ProcessBuilder.start(ProcessBuilder.java:475) at org.opencastproject.util.FileSupport.createLinkFileProcess(FileSupport.java:523) at org.opencastproject.util.FileSupport.link(FileSupport.java:433) at org.opencastproject.workflow.handler.ZipWorkflowOperationHandler.zip(ZipWorkflowOperationHandler.java:252) at org.opencastproject.workflow.handler.ZipWorkflowOperationHandler.start(ZipWorkflowOperationHandler.java:166) 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:704) at org.opencastproject.workflow.impl.WorkflowServiceImpl.process(WorkflowServiceImpl.java:1412) at org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:1717) at org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:1690) 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: java.io.IOException: java.io.IOException: error=12, Cannot allocate memory at java.lang.UNIXProcess.<init>(UNIXProcess.java:164) at java.lang.ProcessImpl.start(ProcessImpl.java:81) at java.lang.ProcessBuilder.start(ProcessBuilder.java:468) ... 15 more Any ideas? Thanks, Peter _______________________________________________ Matterhorn-users mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
