Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I know that problem is in OpenCV appsink, but is there a solution?

I've tried:

videoCapture.set(CV_CAP_GSTREAMER_QUEUE_LENGTH, queue_length);

but I get error message:

(VideoProcessorTest:3673): Gtk-WARNING **: Locale not supported by C library.
    Using the fallback 'C' locale.
GStreamer Plugin: Embedded video playback halted; module matroskademux1 reported: Internal data stream error.
OpenCV Error: Unspecified error (GStreamer: unable to start pipeline
) in icvStartPipeline, file /home/jirka/pipeline2/VideoProcessor/node_modules/nel-opencv/opencv-3.2.0/modules/videoio/src/cap_gstreamer.cpp, line 407
terminate called after throwing an instance of 'cv::Exception'
  what():  /home/jirka/pipeline2/VideoProcessor/node_modules/nel-opencv/opencv-3.2.0/modules/videoio/src/cap_gstreamer.cpp:407: error: (-2) GStreamer: unable to start pipeline
 in function icvStartPipeline

I know that problem is in OpenCV appsink, but is there a solution?

I've tried:

videoCapture.set(CV_CAP_GSTREAMER_QUEUE_LENGTH, queue_length);

but I get error message:

(VideoProcessorTest:3673): Gtk-WARNING **: Locale not supported by C library.
    Using the fallback 'C' locale.
GStreamer Plugin: Embedded video playback halted; module matroskademux1 reported: Internal data stream error.
OpenCV Error: Unspecified error (GStreamer: unable to start pipeline
) in icvStartPipeline, file /home/jirka/pipeline2/VideoProcessor/node_modules/nel-opencv/opencv-3.2.0/modules/videoio/src/cap_gstreamer.cpp, /home/test/opencv-3.2.0/modules/videoio/src/cap_gstreamer.cpp, line 407
terminate called after throwing an instance of 'cv::Exception'
  what():  /home/jirka/pipeline2/VideoProcessor/node_modules/nel-opencv/opencv-3.2.0/modules/videoio/src/cap_gstreamer.cpp:407: /home/test/opencv-3.2.0/modules/videoio/src/cap_gstreamer.cpp:407: error: (-2) GStreamer: unable to start pipeline
 in function icvStartPipeline