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

error opencvExample #132

Closed ramosdavid closed 11 years ago

ramosdavid commented 11 years ago

hi all, i have tried the "raspberrypi_hello_world" and the others examples from this page: https://github.com/openFrameworks-RaspberryPi/openFrameworks/wiki/Raspberry-Pi-Getting-Started but when i type "make run" with the opencvExample i get this error: ... [ofAppEGLWindow:notice] setupKeyboard() : keyboard device name = USB Keyboard [ofAppEGLWindow::setupPeripherals:notice] Native event setup complete. [ofAppEGLWindow::setupOpenGL:notice] Peripheral setup complete. [ofAppEGLWindow::runAppViaInfiniteLoop:notice] Entering infinite loop.

(opencvExample:7316): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed

(opencvExample:7316): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed

(opencvExample:7316): GStreamer-CRITICAL **: gst_element_set_state: assertion `GST_IS_ELEMENT (element)' failed [error] GStreamer: unable to set pipeline to ready

(opencvExample:7316): GStreamer-CRITICAL **: gst_element_query_duration: assertion `GST_IS_ELEMENT (element)' failed [warning] GStreamer: cannot query time duration

\ (opencvExample:7316): WARNING **: gstvideo: failed to get caps of pad app_sink:sink [error] GStreamer: cannot query width and height

(opencvExample:7316): GStreamer-CRITICAL **: gst_element_query_position: assertion `GST_IS_ELEMENT (element)' failed [ofAppEGLWindow::runAppViaInfiniteLoop:notice] ofNotifySetup() complete. [warning] ofGstVideoUtils not loaded [warning] ofGstVideoUtils not loaded ...

anyone could help me? thanks

danzeeeman commented 11 years ago

Hmm im going to double check that the gstreamer stuff is in the install dependences script On Feb 20, 2013 12:17 PM, "ramosdavid" notifications@github.com wrote:

hi all, i have tried the "raspberrypi_hello_world" and the others examples from this page: https://github.com/openFrameworks-RaspberryPi/openFrameworks/wiki/Raspberry-Pi-Getting-Started but when i type "make run" with the opencvExample i get this error: ... [ofAppEGLWindow:notice] setupKeyboard() : keyboard device name = USB Keyboard [ofAppEGLWindow::setupPeripherals:notice] Native event setup complete. [ofAppEGLWindow::setupOpenGL:notice] Peripheral setup complete. [ofAppEGLWindow::runAppViaInfiniteLoop:notice] Entering infinite loop.

(opencvExample:7316): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed

(opencvExample:7316): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed

(opencvExample:7316): GStreamer-CRITICAL **: gst_element_set_state: assertion `GST_IS_ELEMENT (element)' failed [error] GStreamer: unable to set pipeline to ready

(opencvExample:7316): GStreamer-CRITICAL **: gst_element_query_duration: assertion `GST_IS_ELEMENT (element)' failed [warning] GStreamer: cannot query time duration

\ (opencvExample:7316): WARNING **: gstvideo: failed to get caps of pad app_sink:sink [error] GStreamer: cannot query width and height

(opencvExample:7316): GStreamer-CRITICAL **: gst_element_query_position: assertion `GST_IS_ELEMENT (element)' failed [ofAppEGLWindow::runAppViaInfiniteLoop:notice] ofNotifySetup() complete. [warning] ofGstVideoUtils not loaded [warning] ofGstVideoUtils not loaded ...

anyone could help me? thanks

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

ramosdavid commented 11 years ago

hi, i've found that someone has installed this packages in the rpi:

sudo apt-get install alsa-base alsa-tools alsa-utils gstreamer0.10-alsa gstreamer0.10-ffmpeg gstreamer0.10-fluendo-mp3 gstreamer0.10-plugins-base libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libgstreamer0.10-dev gstreamer0.10-plugins-good gstreamer0.10-tools libupnp-dev automake cvs

i don't know what are, but when i have installed and tried opencv, videograbber and videoplayer examples, all run.

bakercp commented 11 years ago

hi @ramosdavid can you give an update on this?

danzeeeman commented 11 years ago

I updated the dep installation script and added the above packages.