openFrameworks-RaspberryPi / openFrameworks

This repo has migrated into the openFramworks core! Please go to http://github.com/openFrameworks/openFrameworks for the latest!
http://github.com/openFrameworks/openFrameworks
Other
104 stars 11 forks source link

ofGstUtils no element v4l2src #122

Closed lucasvickers closed 11 years ago

lucasvickers commented 11 years ago

I've just started doing r-pi dev so this very well could be a user error. Using a Logitech HD Pro Webcam C920 and the videoGrabberExample project I am unable to view video on the r-pi. The exact same setup and works on my OS X Laptop.

Cam: Logitech HD Pro Webcam C920 Res: 480 x 270 Allocating RBG video Texture

r-pi trace: [verbose] ofGstUtils: gstreamer inited [notice] Probing devices with udev... [notice] Found device 046d:082d, getting capabilities... [notice] Detected v4l2 device: HD Pro Webcam C920 [notice] Driver: uvcvideo, version: 198155 [notice] Capabilities: 0x04000001 [error] ofGstUtils: error getting device data: no element "v4l2src" [notice] ofGstUtils: selected device: HD Pro Webcam C920 Segmentation fault

I tried to pull further debug information out but was unable. I also did some research into v4l2 settings on unix via ofxV4L2Settings but I don't really know what to configure.

Any help is appreciated.

jvcleave commented 11 years ago

Have you ran the install_codecs.shscript? It is in the folder openFrameworks/scripts/linux/debian_armv6l

If so, can you run sudo apt-get install gstreamer0.10-plugins-good and see if that helps?

danzeeeman commented 11 years ago

you should also install libv4l-dev libjpeg8-dev if you don't have those already.

lucasvickers commented 11 years ago

The codecs were installed, sudo apt-get install gstreamer0.10-plugins-good did the trick.

Does it make sense to start a Troubleshooting section in the WIKI where we can document this?

thanks

danzeeeman commented 11 years ago

It should be on the install dependencies script. I'll add it. On Feb 1, 2013 11:13 AM, "Lucas Vickers" notifications@github.com wrote:

The codecs were installed, sudo apt-get install gstreamer0.10-plugins-good did the trick.

Does it make sense to start a Troubleshooting section in the WIKI where we can document this?

thanks

— Reply to this email directly or view it on GitHubhttps://github.com/openFrameworks-RaspberryPi/openFrameworks/issues/122#issuecomment-13000814.

arturoc commented 11 years ago

yes, please if you find any packages that need to be installed and are not in the install_dependencies script, add them there or report it as an issue so someone can add them

kalwalt commented 11 years ago

@danthemellowman @arturoc i can confirm that gstreamer0.10-plugins-good is still missed in install_dependencies script , need to add it .

bakercp commented 11 years ago

hi @lucasvickers can you give us a status update on this? @kalwalt can you test and update as well?

kalwalt commented 11 years ago

i will do another test with a new sd-card and a fresh install. This will take a bit of time, of course.

arturoc commented 11 years ago

here's a list of needed packages if someone wants to modify the scripts:

http://forum.openframeworks.cc/index.php?topic=12161.new;topicseen#new

jvcleave commented 11 years ago

SD card just went bad so I will be going through the process - @kalwalt I can check it

kalwalt commented 11 years ago

Sorry, haven't yet had time to do a check... but i will do maybe tomorrow.