On 11-10-19 02:26 AM, [email protected] wrote: > > Hi Greg, > Thank you for your response. Since we are unable to post our responses to the > User list , I am sending this mail to you. An update to our earlier post. We > are experiencing capture failures even when schedule a capture with 2 sources > (Camera/Audio/No VGA), when we setup long captures of around 90 mts, we end > up with shutting_down error at the end of he capture > > We would like your inputs on the following, We are trying to POST a capture > through the REST service POST /startCapture . Even if we select two sources , > we end up capturing all three. I think we are having an issue with the > Key-value pairs, we are not able to figure out from the reference javadoc. > Can u help us with the correct Key-value pairs format? We are using the one > shown below.. > <?xml version="1.0" encoding="UTF-8" standalone="no"?> > <!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd"> > <properties> > <comment>Capabilities for the agent Captureagent1</comment> > <entry key="capture.device.Camera.src">/dev/camera</entry> > <entry key="capture.device.Camera.outputfile">Camera.mpg</entry> > <entry key="capture.device.Camera.type">CUSTOM_VIDEO_SRC</entry> > <entry key="capture.device.Camera.flavor">presenter/source</entry> > <entry key="capture.device.Audio.outputfile">Audio.mp2</entry> > <entry key="capture.device.Camera.buffer.bytes">536870912</entry> > <entry key="capture.device.Camera.customProducer">v4l2src device=/dev/camera > ! queue ! videorate ! video/x-raw-rgb ! ffmpegcolorspace ! queue</entry> > <entry key="capture.device.Audio.flavor">presenter/source</entry> > <entry key="capture.device.timezone">Asia/Kolkata</entry> > <entry key="capture.device.Audio.src">hw:0</entry> > <entry key="capture.device.timezone.offset">330</entry> > <entry key="capture.device.Audio.buffer.bytes">536870912</entry> > </properties> > When we tried as per our earlier post, we had # commented the laptop config > and removed vga from the capture.device.names camera,audio,vga from the > org.opencastproject.capture.impl.ConfigurationManager.properties
The properties posted to the startCapture endpoint are overlaid onto the system's default properties. Your settings above will override any system defaults, but things which aren't listed in your properties will remain the same. This means that unless you override the capture.device.names key you will use the default inputs. If you only want to capture from a subset of the normal inputs then all you need to send is the capture.device.names key with the appropriate input names. Also, the format you're sending is incorrect. That enpoint is expecting plaintext, exactly as displayed in the capture UI. G > Our earlier post on this and your response: > > http://opencast.3480289.n2.nabble.com/Matterhorn-users-Ad-hoc-captures-fails-when-selecting-only-2-sources-tt6900636.html > > Regards > > Ramki
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Matterhorn-users mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
