Hello

I think the key to the problem is:

> 2012-02-08 15:34:00  WARN (CaptureAgentImpl:771) - Unable to ingest media
> because communication with the remote service registry failed.


The Capture Agent deploys serviceregistry-stub by default, which means that
it uses the property "org.opencastproject.serviceregistry.url" to find the
available ingest service. Therefore you need to set the property to the URL
of your admin server "service registry" (normally "/services", e.g.
org.opencastproject.serviceregistry.url=http://www.mymatterhornadmin.cn:myport_possibly8080
/services).

This should do the trick.

Good luck
Rubén

2012/2/8 zengshan <[email protected]>

> **
> Hi,
> I have successfully use the "start capture " button, but if I schedule a
> capture inside the matterhorn, the status keeps saying "capturing" even
> after the scheduled time until I restart the matterhorn, meanwhile, when I
> schedule another recording, the status of the new recording, shows that
> :warning, recording may be failed to start or ingest, and the log shows:
> 2012-02-08 15:34:00  INFO (CaptureAgentImpl:749) - Ingesting recording:
> Unscheduled-zengshan_capture-1328684560526
> 2012-02-08 15:34:00  WARN (CaptureAgentImpl:771) - Unable to ingest media
> because communication with the remote service registry failed.
> org.opencastproject.serviceregistry.api.ServiceRegistryException: Unable
> to get service registrations (404)
>         at
> org.opencastproject.serviceregistry.remote.ServiceRegistryRemoteImpl.getServiceRegistrationsByLoad(ServiceRegistryRemoteImpl.java:529)
>         at
> org.opencastproject.capture.impl.CaptureAgentImpl.ingest(CaptureAgentImpl.java:761)
>         at
> org.opencastproject.capture.impl.jobs.IngestJob.retryIngest(IngestJob.java:141)
>         at
> org.opencastproject.capture.impl.jobs.IngestJob.execute(IngestJob.java:80)
>         at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
>         at
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)
> 2012-02-08 15:34:00 ERROR (IngestJob:146) - Ingestion failed with a value
> of -4
>
> 2012-02-08
>  ------------------------------
>  ZENG SHAN
> Tel,861088236837
> E-mail,[email protected]
> Computing Center
> Institute of High Energy Physics,CAS
>  ------------------------------
>  *发件人:*Waldemar Smirnow
> *发送时间:*2012-02-08 10:05
> *主题:*Re: [Matterhorn-users] start capture error
> *收件人:*Matterhorn Users
> *抄送:*
>
>   Hi Zeng Shan,
>
> there is an error occured on capture initialisation process.
>
> Do you have a line like capture.device.names=VGA in your 
> ConfigurationManager.properties file? What do your log say on starting 
> capture (like initialized 1 device!)?
>
> Greetings
> Waldemar
>
> Am Mittwoch, 08. Februar 2012 02:42 CET, "zengshan" <[email protected]
> > schrieb:
>
> > Hi,
> > When I click the start capture in the http://localhost:8080/capture
> , I get the error log, can anyone help me?
>
> > 2012-02-08 09:40:56 ERROR (GStreamerPipeline:220) - 
> > [Ljava.lang.StackTraceElement;@21195f21
>
>
> > 2012-02-08 09:40:56 ERROR (CaptureAgentImpl:354) - Capture 
> > Unscheduled-zengshan_capture-1328665256632 could not start, pipeline was 
> > null!
>
> > 2012-02-08 09:40:59  INFO (AgentStateJob:190) - #90 - State push to 
> > org.opencastproject.capture.impl.jobs.AgentStateJob@77d42e79
>  to http://202.122.32.104:8080/capture-admin/agents/zengshan_capture
>  failed with code 405.
>
> > 2012-02-08 09:40:59  INFO (AgentConfigurationJob:121) - #90 - Capabilities 
> > push to
> http://202.122.32.104:8080/capture-admin/agents/zengshan_capture/configuration
>  failed with code 405.
>
> > 2012-02-08 09:40:59  INFO (AgentStateJob:190) - #90 - State push to 
> > org.opencastproject.capture.impl.jobs.AgentStateJob@77d42e79
>  to
> http://202.122.32.104:8080/capture-admin/recordings/Unscheduled-zengshan_capture-1328665078209
>  failed with code 405.
>
> > 2012-02-08 09:40:59  INFO (AgentStateJob:190) - #90 - State push to 
> > org.opencastproject.capture.impl.jobs.AgentStateJob@77d42e79
>  to
> http://202.122.32.104:8080/capture-admin/recordings/Unscheduled-zengshan_capture-1328664730011
>  failed with code 405.
>
> > ps: my configuration of 
> > org.opencastproject.capture.impl.ConfigurationManager.properties is:
> > #Create the screen capture
> > capture.device.DEVICE_NAME.type=EPIPHAN_VGA2USB
> > capture.device.VGA.type=EPIPHAN_VGA2USB
> > capture.device.VGA.flavor=presentation/source
> > capture.device.VGA.outputfile=VGA.mpg
> > capture.device.VGA.src=/dev/video0
> >
> > #Create the presenter capture
> >
> > #Create the audio capture
> > #capture.device..src=hw:
> > #capture.device..outputfile=.mp2
> > #capture.device..flavor=presenter/source
> > #capture.device..buffer.bytes=536870912
> > #capture.device.names=
> >
> > 2012-02-08
> >
> >
> >
> > ZENG SHAN
> > Tel,861088236837
> > E-mail,[email protected]
> > Computing Center
> > Institute of High Energy Physics,CAS
>
>
>
>
> _______________________________________________
> Matterhorn-users mailing list
> [email protected]
> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
>
> _______________________________________________
> Matterhorn-users mailing list
> [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