mat2gstreamer icon indicating copy to clipboard operation
mat2gstreamer copied to clipboard

Error Gstreamer

Open AshleyRoth opened this issue 6 years ago • 0 comments

Capture camera with 29.97 fps, 1280x720 px Hello Faced a problem at startup, I attach an error log. Could not help solve this problem please? Opencv tried version 3.3.0 and 3.4.0, the error remains. Opencv compiled with gstreamer support (version 1.8.3):

(mat2gstreamer-master:18103): GLib-GObject-WARNING **: invalid cast from 'GstAppSrc' to 'GstBin'

(mat2gstreamer-master:18103): GStreamer-CRITICAL **: gst_bin_iterate_sources: assertion 'GST_IS_BIN (bin)' failed

(mat2gstreamer-master:18103): GStreamer-CRITICAL **: gst_iterator_next: assertion 'it != NULL' failed

(mat2gstreamer-master:18103): GStreamer-CRITICAL **: gst_iterator_free: assertion 'it != NULL' failed OpenCV Error: Unspecified error (GStreamer: cannot find appsrc in manual pipeline ) in CvVideoWriter_GStreamer::open, file /home/rpeople/opencv-3.4.0/modules/videoio/src/cap_gstreamer.cpp, line 1506 VIDEOIO(cvCreateVideoWriter_GStreamer (filename, fourcc, fps, frameSize, is_color)): raised OpenCV exception:

/home/rpeople/opencv-3.4.0/modules/videoio/src/cap_gstreamer.cpp:1506: error: (-2) GStreamer: cannot find appsrc in manual pipeline in function CvVideoWriter_GStreamer::open

Can't create gstreamer writer. Do you have the correct version installed? Print out OpenCV build information

AshleyRoth avatar Feb 04 '19 10:02 AshleyRoth