Hi Andreas, I am using 1.1 but your method don't seems to work. My configuration: capture.device.camera.type=CUSTOM_VIDEO_SRC capture.device.camera.customProducer=v4l2src device=/dev/video1 ! videorate ! video/x-raw-rgb ! ffmpegcolorspace capture.device.camera.src=/dev/video1 capture.device.camera.flavor=presenter/source capture.device.camera.outputfile=camera.mpg capture.device.camera.codec=ffenc_mpeg2video capture.device.camera.codec.bitrate=2048000 capture.device.camera.codec.container=mpegtsmux capture.device.camera.framerate=15
My error: (unknown:10621): GStreamer-CRITICAL **: Trying to dispose element videorate0, but it is in PLAYING instead of the NULL state. You need to explicitly set elements to the NULL state before dropping the final reference, to allow them to clean up. This problem may also be caused by a refcounting bug in the application or some element. (unknown:10621): GStreamer-CRITICAL **: Trying to dispose element v4l2src0, but it is in PLAYING instead of the NULL state. You need to explicitly set elements to the NULL state before dropping the final reference, to allow them to clean up. This problem may also be caused by a refcounting bug in the application or some element. GThread-ERROR **: file /build/buildd/glib2.0-2.24.1/gthread/gthread-posix.c: line 171 (g_mutex_free_posix_impl): error 'Device or resource busy' during 'pthread_mutex_destroy ((pthread_mutex_t *) mutex)' aborting... There is crash whenever I start my capture. Regards, Eric 2011/6/2 <[email protected]> > HI Eric, > > depending on whether you use Capture Agent Matterhorn 1.0 or 1.1 you should > be able to get the card working as follows: > > Matterhorn 1.0: adopt the changes in PipelineFactory.java as pointed out in > > http://opencast.3480289.n2.nabble.com/Matterhorn-users-Problem-with-customPr > > oducer-in-capture-impl-configurationmanager-properties-td5970958.html#a60085 > 07 > ... and reinstall the capture agent with install.sh without downloading the > fresh source (which would override the changes). > > Matterhorn 1.1: Add the following lines to your > org.opencastproject.capture.impl.ConfigurationManager.properties > (located somewhere in ./matterhorn/felix/config/services/ ) > > capture.device.Camera.type=CUSTOM_VIDEO_SRC > capture.device.Camera.customProducer=v4l2src device=/dev/camera ! videorate > ! video/x-raw-rgb ! ffmpegcolorspace > > And restart matterhorn. > > I had the same problem, and above things work here. > > Greetings, Andreas > > > Shek Eric schrieb am Thu, 2 Jun 2011 betreff "Re: [Matterhorn-users]...": > > Date: Thu, 2 Jun 2011 15:54:58 +0800 >> From: Shek Eric <[email protected]> >> Reply-To: Matterhorn Users <[email protected]> >> To: [email protected], >> Matterhorn Users <[email protected]> >> Subject: Re: [Matterhorn-users] Problem with bluecherry provideo capture >> card >> >> >> Hi, >> >> It seems that I am facing the same problem as >> http://opencast.jira.com/browse/MH-5404. After I have changed the video >> format to ntsc, some part of the capture are still green. >> According to the discussion int he link above, they mentioned that they >> have >> modify pipelineFactory.java. Does anyone any ideas on the modification? >> >> Regards, >> Eric >> >> 2011/6/2 Shek Eric <[email protected]> >> >> Hi Adam, >>> >>> I have tried to change the config to NTSC. The capture is not green >>> again. >>> However, it is still not normal. Attached the screenshot of the capture. >>> >>> Reagrds, >>> Eric >>> >>> >>> 2011/6/2 Adam Mckenzie <[email protected]> >>> >>> Hi Eric, >>>> >>>> v4l2ctl is actually a command line utility and you can install it on >>>> ubuntu with a quick apt-get install but it should have been installed >>>> with >>>> the capture agent :) >>>> >>>> Cheers, >>>> Adam >>>> >>>> On Wed, Jun 1, 2011 at 10:32 PM, Shek Eric <[email protected] >>>> >wrote: >>>> >>>> Hi Greg, >>>>> >>>>> I wonder where should I put the above lines. Is it in anyone of the >>>>> config files? >>>>> >>>>> Regards, >>>>> Eric >>>>> >>>>> >>>>> >>>>> 2011/6/2 Greg Logan <[email protected]> >>>>> >>>>> On 2011-06-01 10:11 PM, Shek Eric wrote: >>>>>> >>>>>>> Hi all, >>>>>>> >>>>>>> I have now installed a bluecherry provideo capture card and I can >>>>>>> test >>>>>>> it with "gst-launch v4l2src device=/dev/video0 ! xvimagesink". >>>>>>> >>>>>> However, >>>>>> >>>>>>> the capture that I have got is all green. Does anyone have any idea >>>>>>> on >>>>>>> this problem? >>>>>>> >>>>>> >>>>>> Hi Eric, >>>>>> >>>>>> The default video standard for those cards seems to be PAL. Switching >>>>>> it to NTSC may help, depending on your input device. Try >>>>>> >>>>>> v4l2ctl -s 0 -d /dev/video0 >>>>>> >>>>>> Also please make sure that the input device is plugged into the 0th >>>>>> input port on the card (if applicable). >>>>>> >>>>>> G >>>>>> >>>>>> Best Regards, >>>>>>> Eric Shek >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> 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 >>>>>> >>>>>> >>>>>> >>>>> >>>>> -- >>>>> Best Regards, >>>>> Eric Shek >>>>> >>>>> >>>>> _______________________________________________ >>>>> Matterhorn-users mailing list >>>>> [email protected] >>>>> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users >>>>> >>>>> >>>>> >>>> >>>> -- >>>> Adam McKenzie >>>> MSc Student >>>> ARIES Laboratory, University of Saskatchewan >>>> >>>> Web: http://aries.usask.ca/aiwiki/Adam_McKenzie >>>> Mail: Advanced Research in Intelligent Educational Systems Laboratory >>>> Department of Computer Science >>>> University of Saskatchewan >>>> 176 Thorvaldson Building >>>> 110 Science Place >>>> Saskatoon, SK >>>> S7N 5C9 >>>> >>>> _______________________________________________ >>>> Matterhorn-users mailing list >>>> [email protected] >>>> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users >>>> >>>> >>>> >>> >>> -- >>> Best Regards, >>> Eric Shek >>> >>> >>> >> >> -- >> Best Regards, >> Eric Shek >> >> > ----------------------- > [email protected] > 01/58801 DW 41523 > mobil: 0664/60 588 4523 > TU Wien > DVR-Nummer: 0005886 > ----------------------- > > _______________________________________________ > Matterhorn-users mailing list > [email protected] > http://lists.opencastproject.org/mailman/listinfo/matterhorn-users > -- Best Regards, Eric Shek
_______________________________________________ Matterhorn-users mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
