Skip to content

Instantly share code, notes, and snippets.

@abankowski
Created September 13, 2016 07:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abankowski/72fae350207fe0acd960dd29d5aed143 to your computer and use it in GitHub Desktop.
Save abankowski/72fae350207fe0acd960dd29d5aed143 to your computer and use it in GitHub Desktop.
opencv-gstreamer
odroid@odroid:~/projects/cam-1$ ./DisplayImage
** (DisplayImage:28124): CRITICAL **: gst_vaapi_video_context_get_display: assertion 'GST_IS_CONTEXT (context)' failed
(DisplayImage:28124): GStreamer-CRITICAL **: gst_context_get_context_type: assertion 'GST_IS_CONTEXT (context)' failed
(DisplayImage:28124): GStreamer-CRITICAL **: gst_mini_object_ref: assertion 'mini_object != NULL' failed
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/arm-linux-gnueabihf/dri/armsoc_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/arm-linux-gnueabihf/dri/armsoc_drv_video.so
libva info: va_openDriver() returns -1
** (DisplayImage:28124): CRITICAL **: gst_vaapi_video_context_get_display: assertion 'GST_IS_CONTEXT (context)' failed
(DisplayImage:28124): GStreamer-CRITICAL **: gst_context_get_context_type: assertion 'GST_IS_CONTEXT (context)' failed
(DisplayImage:28124): GStreamer-CRITICAL **: gst_mini_object_ref: assertion 'mini_object != NULL' failed
GStreamer Plugin: Embedded video playback halted; module vaapidecode reported: Could not initialize supporting library.
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/arm-linux-gnueabihf/dri/armsoc_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/arm-linux-gnueabihf/dri/armsoc_drv_video.so
libva info: va_openDriver() returns -1
(DisplayImage:28124): GStreamer-CRITICAL **: gst_mini_object_unref: assertion 'mini_object != NULL' failed
(DisplayImage:28124): GStreamer-CRITICAL **: gst_mini_object_unref: assertion 'mini_object != NULL' failed
(DisplayImage:28124): GStreamer-CRITICAL **:
Trying to dispose element appsink0, but it is in READY 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.
(DisplayImage:28124): GStreamer-CRITICAL **:
Trying to dispose element autovideoconvert0, but it is in READY 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.
(DisplayImage:28124): GStreamer-CRITICAL **:
Trying to dispose element typefind, but it is in PAUSED 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.
(DisplayImage:28124): GStreamer-CRITICAL **:
Trying to dispose element decodebin0, but it is in READY 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.
(DisplayImage:28124): GStreamer-CRITICAL **:
Trying to dispose element manager, but it is in PLAYING (locked) 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.
(DisplayImage:28124): GStreamer-CRITICAL **:
Trying to dispose element source, 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.
(DisplayImage:28124): GStreamer-CRITICAL **:
Trying to dispose element uridecodebin0, but it is in PAUSED 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.
(DisplayImage:28124): GStreamer-CRITICAL **: gst_element_set_state: assertion 'GST_IS_ELEMENT (element)' failed
(DisplayImage:28124): GStreamer-CRITICAL **: gst_bin_remove: assertion 'GST_IS_ELEMENT (element)' failed
(DisplayImage:28124): GStreamer-CRITICAL **:
Trying to dispose element pipeline0, but it is in PAUSED 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.
OpenCV Error: Unspecified error (GStreamer: unable to start pipeline
) in cvCaptureFromCAM_GStreamer, file /home/odroid/opencv-2.4.13/modules/highgui/src/cap_gstreamer.cpp, line 816
terminate called after throwing an instance of 'cv::Exception'
what(): /home/odroid/opencv-2.4.13/modules/highgui/src/cap_gstreamer.cpp:816: error: (-2) GStreamer: unable to start pipeline
in function cvCaptureFromCAM_GStreamer
Aborted
odroid@odroid:~/projects/cam-1$ apt-cache serach armsoc
E: Invalid operation serach
odroid@odroid:~/projects/cam-1$ apt-cache search armsoc
xserver-xorg-video-armsoc - X.Org X server -- ARM SoC display driver (transitional package)
xserver-xorg-video-armsoc-exynos - X.Org X server -- ARM SoC display driver for Exynos DRM
xserver-xorg-video-armsoc-exynos-dbg - X.Org X server -- ARM SoC display driver (debug symbols)
xserver-xorg-video-armsoc-pl111 - X.Org X server -- ARM SoC display driver for pl111 DRM
xserver-xorg-video-armsoc-pl111-dbg - X.Org X server -- ARM SoC display driver (debug symbols)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment