Hi Luis, I noticed in your log that it stated the problem is "Internal data flow error" which combined with your comment earlier that your webcam captures in h264 might be the culprit. Could you try changing your webcam capture device settings to:
capture.device.Webcam.type=CUSTOM_VIDEO_SRC capture.device.Webcam.flavor=presenter/source capture.device.Webcam.outputfile=Webcam.mpg capture.device.Webcam.src=/dev/video0 capture.device.Webcam.customProducer=v4l2src device=/dev/video0 ! queue ! decodebin ! queue The type CUSTOM_VIDEO_SRC specifies that you want to write your own gstreamer magic. The customProducer property is the actual gstreamer line that it will run when it tries to capture from your webcam. Each of the elements in the pipeline are separated with exclamation points "!". The "v4l2src device=/dev/video0" part just tells it to capture from the video 4 linux 2 device located at /dev/video0. The queues are just in case your system needs a bit of a buffer to process and decode the video. Finally the "decodebin" part is a gstreamer element that will try to determine what is coming in, attach the correct decoder and pass on raw frames for the rest of the pipeline. Please let me know if anything else is unclear. Cheers, Adam Adam McKenzie ITS, University of Saskatchewan Rm 61 Physics, 116 Science Place Saskatoon SK S7N 5E2 Canada (306) 966-8241 From: [email protected] [mailto:[email protected]] On Behalf Of Luis Galeana Sent: Wednesday, August 01, 2012 9:29 AM To: Matterhorn Users Subject: Re: [Matterhorn-users] Capture Agent pipeline Hi again, Below is my device configuration and I'm getting some internal error... The log is at the end. What do you think that could be the problem? #Create the presenter capture capture.device.Webcam.type=V4L2SRC capture.device.Webcam.flavor=presenter/source capture.device.Webcam.outputfile=Webcam.mpg capture.device.Webcam.src=/dev/video0 #Create the audio capture capture.device.test.src=hw:0 capture.device.test.outputfile=test.mp2 capture.device.test.flavor=presenter/source capture.device.test.buffer.bytes=536870912 capture.device.names=Webcam, test Log: ------------------ 21:55:41 INFO (AgentStateJob:190) - #4 - State push to org.opencastproject.capture.impl.jobs.AgentStateJob@2e647edd<mailto:org.opencastproject.capture.impl.jobs.AgentStateJob@2e647edd> to http://localhost:8080/capture-admin/agents/Galeana failed with code 405. 21:55:41 INFO (AgentConfigurationJob:121) - #4 - Capabilities push to http://localhost:8080/capture-admin/agents/Galeana/configuration failed with code 405. 21:55:44 INFO (GStreamerPipeline:430) - Successfully initialised 2 devices. 21:55:45 INFO (GStreamerPipeline:96) - Initializing devices for capture. 21:55:48 INFO (ProducerBin:121) - Sending EOS to stop v4l2src0 21:55:48 INFO (ProducerBin:121) - Sending EOS to stop alsasrc0 21:55:48 WARN (GStreamerPipeline$2:144) - v4l2src0: Internal data flow error. 21:55:51 INFO (AgentStateJob:190) - #5 - State push to org.opencastproject.capture.impl.jobs.AgentStateJob@7a7683b1<mailto:org.opencastproject.capture.impl.jobs.AgentStateJob@7a7683b1> to http://localhost:8080/capture-admin/agents/Galeana failed with code 405. 21:55:51 INFO (AgentConfigurationJob:121) - #5 - Capabilities push to http://localhost:8080/capture-admin/agents/Galeana/configuration failed with code 405. 21:55:51 INFO (AgentStateJob:190) - #5 - State push to org.opencastproject.capture.impl.jobs.AgentStateJob@7a7683b1<mailto:org.opencastproject.capture.impl.jobs.AgentStateJob@7a7683b1> to http://localhost:8080/capture-admin/recordings/Unscheduled-Galeana-1343699744653 failed with code 405. ... 21:56:48 ERROR (CaptureAgentImpl:339) - Unable to start pipeline after 5 seconds. Aborting! ------------------- P.S. I couldn't fix the push and capabilities errors. Could you elaborate a little bit on what I should do? I see that both config.properties files - the core and the capture agent - have the same url, as well as the org.opencastproject.capture.core.url. Thanks a lot!! Luis Galeana.
_______________________________________________ Matterhorn-users mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
