On 11-09-09 01:22 PM, Shane Phelan wrote: > I have Matterhorn 1.1 installed and I'm trying to create a capture > agent. I installed the 1.1 capture agent and am trying to do an ad-hoc > capture from the <capture agent ip>/capture/index.html. During the > capture I see an Agent State of capturing and when finished there is a > link to Unscheduled-shane-blah although it's not the sample mpg > specified in the capture configuration.
capture.device.names=MOCK_SCREEN,MOCK_PRESENTER,MOCK_MICROPHONE is the
line that controls which devices are captured from. The MOCK_* devices
just copy the file from the .src property to the .outputfile property.
> A couple of issues when I look at wireshark I'm getting 401 from
> matterhorn trying to access the capture-admin/agents/{agent} endpoint.
> I get a 405 on some occasions for the same endpoint. In Matterhorn
> core I don't see any capture agents I assume because they are added
> through the endpoint. I looked at the configuration options for capture
> and I don't see anywhere to specify credentials.
The core and CA versions must match. If you see a 405 then chances are
they don't match. The credentials are stored in the config.properties
file ($FELIX_HOME/conf/config.properties), and must (obviously!) match
between the core and the CA.
G
>
> Any help will be appreciated
>
> Thanks,
>
> Shane
>
> Here is my configuration settings:
> capture.agent.capabilities.remote.polling.interval=10
> capture.agent.name <http://capture.agent.name>=shane
> capture.agent.state.remote.endpoint.url=http://<server
> ip>:8080/capture-admin/agents
> capture.agent.state.remote.polling.interval=10
> capture.cleaner.interval=3600
> capture.cleaner.maxarchivaldays=30
> capture.cleaner.mindiskspace=536870912
> capture.confidence.debug=false
> capture.confidence.enable=false
> capture.confidence.video.location=/opt/matterhorn/volatile/
> capture.config.cache.url=/opt/matterhorn/cache/capture.properties
> capture.config.remote.endpoint.url=
> capture.config.remote.polling.interval=600
> capture.device.names=MOCK_SCREEN,MOCK_PRESENTER,MOCKMICROPHONE
> capture.device.MOCK_SCREEN.src=/home/shane/.m2/repository/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
> capture.device.MOCK_PRESENTER.src=/home/shane/.m2/repository/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
> capture.device.MOCK_MICROPHONE.src=/home/shane/.m2/repository/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
> capture.error.emails=
> capture.error.messagebody="Capture agent was not running, and was just
> started."
> capture.error.smtp.password=
> capture.error.smtp.user=
> capture.error.smtp=
> capture.error.subject="%hostname capture agent started at %date"
> capture.filesystem.cache.capture.url=/opt/matterhorn/cache/captures/
> capture.filesystem.cache.url=/opt/matterhorn/cache
> capture.filesystem.volatile.url=/opt/matterhorn/volatile
> capture.ingest.pause.time=3600
> capture.ingest.retry.hard.limit=false
> capture.ingest.retry.interval=300
> capture.ingest.retry.limit=5
> capture.max.length=300
> capture.recording.shutdown.timeout=60
> capture.recording.state.remote.endpoint.url=http://<server
> ip>:8080/capture-admin/recordings
> capture.schedule.cache.url=/opt/matterhorn/cache/schedule.ics
> capture.schedule.event.buffertime=1
> capture.schedule.event.drop=false
> capture.schedule.remote.endpoint.url=http://<server
> ip>:8080/scheduler/shane/calendar
> capture.schedule.remote.polling.interval=5
> org.opencastproject.capture.core.url=http://<server ip>:8080
> org.opencastproject.server.url=http://<agent ip>
> service.pid=org.opencastproject.capture.impl.ConfigurationManager
>
>
>
> _______________________________________________
> Matterhorn-users mailing list
> [email protected]
> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Matterhorn-users mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
