Well, there's good news and bad news. The good news, thanks to my own lack of knowledge, I was using the wrong packages for gstreamer. Thus, it wasn't finding them when I tried to install it. Alas, after installing gstreamer, I was able to construct the pipeline with the following command:
gst-launch v4l2src device=/dev/video0 num-buffers=1 ! videoscale ! video/x-raw-yuv, width=640,height=480 ! jpegenc ! filesink location=test.jpg When I run this, I get the following error log: root@beaglebone:~/boneCV# gst-launch v4l2src device=/dev/video0 num-buffers=1 ! videoscale ! video/x-raw-yuv, width=640,height=480 ! jpegenc ! filesink location=test.jpg Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not get parameters on device '/dev/video0' Additional debug info: v4l2src_calls.c(235): gst_v4l2src_set_capture (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: system error: Inappropriate ioctl for device Setting pipeline to PLAYING ... New clock: GstSystemClock Got EOS from element "pipeline0". Execution ended after 140674416 ns. Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... root@beaglebone:~/boneCV# There is a test.jpg image created, but it is all black, as if the camera image is not read. This is being done with the 3.1 mp camera cape from circuitco. It's possible that I've got something wrong in my gstreamer pipeline, as I'm not an expert on it, but it does seem like there may be something with the driver. I'm going to try the same exact procedure with a USB camera to check my pipeline and go from there. Thanks again for your help. Walt On Wednesday, January 22, 2014 7:29:08 PM UTC-6, RobertCNelson wrote: > > On Wed, Jan 22, 2014 at 7:18 PM, Walter Schilling > <[email protected]<javascript:>> > wrote: > > Robert: > > > > So far great work. It's overall working very well. > > > > That being said, I have a pair of questions: > > Which camera cape? Is this the Radium or the 3.1MP cape? ( in only > have the 3.1MP ) > > > #1 I'm trying to use the camera cape with the board, and I get the > following > > error message when I try to read from it using openCV: VIDIOC_REQBUFS: > > Cannot allocate memory. I believe this has something to do with the dd > for > > the camera, but I'm not sure if it is something that requires mods to > the dd > > or just a change in configuration. > > Not really sure, I've gone so far as cat /dev/video0 on the 3.1 just > to make sure it works.. Has anyone else in the beagleboard group tried > opencv? > > > > #2 I'm assuming this is by design, but when i try to read from the > camera > > using gstreamer, I get a package not found error. It seems as if > gstreamer > > isn't in this package, yet I aloso run into problems when I try to do an > > apt-get in that it can not be located. This may very well be by design > and > > I just haven't overcome the issues. > > Here's all the gstreamer options: > > http://packages.debian.org/search?keywords=gstreamer&searchon=names&suite=stable§ion=all > > > make sure to refresh via: > > apt-get update ; apt-get install xyz > > Let me know what you need to make it work.. > > Regards, > > -- > Robert Nelson > http://www.rcn-ee.com/ > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
