Quantcast
Channel: bugs, errors - openFrameworks
Viewing all articles
Browse latest Browse all 636

ofVideoPlayer crashes/freezes on RPi2 (news from Ecuador)

$
0
0

@pedruski wrote:

hello @arturo, @jmcleave @theo and all in the forum

we are working with this application, based on ofVideoPlayer, running on RPi2 in the context of an interactive installation in a museum:

https://github.com/pedruski/trmxclient

We have been using 720p videos with h264 compression at 24fps (we have also used 15fps) in an mp4 container. the movies are controlled (load, play, stop) via commands sent from PureData via OSC in function of the data received from some floor sensors and an overhead camera (their state is polled every 5 seconds). 256 MB of RAM are assigned to GPU.

the application is run simultaneously on 4 RPis via ssh from a seperate machine that also runs the patch in Pure Data that controls them all.

the application works well but often randomly crashes or freezes - with no consistent error message - is it that the RPi simply cannot cope with constantly changing media compressed in H264? or is it a problem in OF or our code ? reliability seems to be greatly improved with Photo-JPEG codec at 15fps 75% quality and GPU at 192MB.

pedro

here is the selection of error messages that we have seen in the terminal window:


(trmxClient:2818): GStreamer-WARNING **: failed to create thread: Error creating thread: Resource temporarily unavailable
(trmxClient:2818): GStreamer-WARNING **: adding flushing pad 'src_0' to running element 'multiqueue63', you need to use gst_pad_set_active(pad,TRUE) before adding it.
[warning] ofGstUtils: getDurationNanos(): couldn't query time duration
[ error ] ofGstVideoPlayer: allocate(): cannot get pipeline caps


(trmxClient:2877): GLib-GObject-CRITICAL **: g_object_ref: assertion 'object->ref_count > 0' failed
(trmxClient:2877): GStreamer-CRITICAL **: gst_element_get_base_time: assertion 'GST_IS_ELEMENT (element)' failed
(trmxClient:2877): GStreamer-CRITICAL **: gst_element_get_start_time: assertion 'GST_IS_ELEMENT (element)' failed
(trmxClient:2877): GStreamer-CRITICAL **: gst_element_change_state_func: assertion 'GST_IS_ELEMENT (element)' failed
(trmxClient:2877): GStreamer-CRITICAL **: gst_object_unref: assertion '((GObject *) object)->ref_count > 0' failed
(trmxClient:2877): GStreamer-CRITICAL **: gst_element_abort_state: assertion 'GST_IS_ELEMENT (element)' failed
*** glibc detected *** ./trmxClient: corrupted double-linked list: 0x6c14dcf8 ***


[notice ] *********+ EL Media Index ES 1
[notice ] stop
Killed
/home/pi/of_v0.8.4_linuxarmv7l/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:168: recipe for target 'run' failed
make: *** [run] Error 137


(trmxClient:2877): GLib-GObject-CRITICAL **: g_object_ref: assertion 'object->ref_count > 0' failed
(trmxClient:2877): GStreamer-CRITICAL **: gst_element_get_base_time: assertion 'GST_IS_ELEMENT (element)' failed
(trmxClient:2877): GStreamer-CRITICAL **: gst_element_get_start_time: assertion 'GST_IS_ELEMENT (element)' failed
(trmxClient:2877): GStreamer-CRITICAL **: gst_element_change_state_func: assertion 'GST_IS_ELEMENT (element)' failed
(trmxClient:2877): GStreamer-CRITICAL **: gst_object_unref: assertion '((GObject *) object)->ref_count > 0' failed
(trmxClient:2877): GStreamer-CRITICAL **: gst_element_abort_state: assertion 'GST_IS_ELEMENT (element)' failed
*** glibc detected *** ./trmxClient: corrupted double-linked list: 0x6c14dcf8 ***


[notice ] mp4
[notice ] is video
Killed
/home/pi/of_v0.8.4_linuxarmv7l/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:168: recipe for target 'run' failed
make: *** [run] Error 137


Posts: 6

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 636

Trending Articles