Hi Shane,

We have been seeing a similar problem:
https://opencast.jira.com/browse/MH-9350

It isn't every capture but I have had greater success duplicating it with a 
system not running a database (no postgres or MySQL setup) under high load. Do 
you have something like this in your logs?
2012-12-17 13:52:50 INFO (WorkflowServiceImpl:772) - Workflow state for 
Workflow {6550} was changed to 'PAUSED' from the outside

Cheers,
Adam

 Adam McKenzie
    Programmer Analyst
    Applications, Information and Communications Technology
    Ph: (306) 966-8241

    [Description: Description: Description: Description: 
cid:[email protected]] <http://www.usask.ca/>
________________________________
From: [email protected] 
[[email protected]] on behalf of Shane Phelan 
[[email protected]]
Sent: Wednesday, December 19, 2012 9:16 AM
To: Matterhorn Users
Subject: Re: [Matterhorn-users] Mock Capture Agent Failing inspect


Here is what it says state == PAUSED

image of the operations tab:
https://docs.google.com/open?id=0B9IFNygXLNBkUnZMeGVZZnJNNWM

Thanks,

Shane


On Tue, Dec 18, 2012 at 7:00 PM, Greg Logan 
<[email protected]<mailto:[email protected]>> wrote:
On 12-12-18 01:53 PM, Shane Phelan wrote:
> Thanks Ruben I had missed that step on my core.
>
> Now I'm stuck at the following.
>
> 2012-12-18 08:56:35  INFO (InspectWorkflowOperationHandler:128) -
> Inspecting track 'track-1' of a97b6407-f1c5-4a22-9c36-4e2db7f32ea3
> 2012-12-18 08:56:41  INFO (MediaInspectionServiceImpl:426) -
> Successfully inspected track
> http://10.8.23.122:8080/files/mediapackage/562/track-1/screen_out.mpg
> 2012-12-18 08:56:45  INFO (WorkflowServiceImpl:772) - Workflow state for
> Workflow {562} was changed to 'PAUSED' from the outside

This doesn't look like it's holding for trim to me.  When it does that
there's a message that says "Holding for user trim" or something very
similar.  Also, when it goes into the trim hold state the admin UI has a
link to do the actual trimming.  What does the admin UI say in your case?

G

> I was looking at the workflow and it appears there is a pause for
> trimming, but I don't see anywhere to unpause it?
>
> Thanks for the help,
>
> Shane
>
>
> On Mon, Dec 17, 2012 at 2:45 PM, Rubén Pérez 
> <[email protected]<mailto:[email protected]>
> <mailto:[email protected]<mailto:[email protected]>>> wrote:
>
>     Seems like you have not installed the required system command
>     "mediainfo". Have you installed the "third party tools" on your
>     system? Those are required in "all-in-one" installation and in the
>     worker machines in distributed installations. You can find the
>     installer scripts in $SOURCE_ROOT/docs/scripts/3rd_party.
>
>     Best regards,
>
>     Rubén Pérez
>     TELTEK Video Research
>     www.teltek.es<http://www.teltek.es> <http://www.teltek.es>
>
>
>
>     2012/12/17 Shane Phelan <[email protected]<mailto:[email protected]> 
> <mailto:[email protected]<mailto:[email protected]>>>
>
>         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
>         
> [email protected]<mailto:[email protected]>
>         
> <mailto:[email protected]<mailto:[email protected]>>
>         http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
>
>
>
>     _______________________________________________
>     Matterhorn-users mailing list
>     
> [email protected]<mailto:[email protected]>
>     
> <mailto:[email protected]<mailto:[email protected]>>
>     http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
>
>
>
>
> _______________________________________________
> Matterhorn-users mailing list
> [email protected]<mailto:[email protected]>
> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
>



_______________________________________________
Matterhorn-users mailing list
[email protected]<mailto:[email protected]>
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users


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

Reply via email to