could not open video file
Hello, I have using opencv 2.4.13 and 3.1. I have tried to open video file, but got some errors as below: (app:7400): GLib-GObject-CRITICAL **: g_object_set: assertion 'G_IS_OBJECT (object)' failed
Regards, Kishan Patel.
that's from gstreamer, and it means, some nessecary plugin is not installed.
Okay, so how can we identify that which plugin is require to install?
Hello berak, i have installed some libraries(gstreamer0.10-plugins-base, gstreamer0.10-plugins-good) and could not install(gstreamer0.10-plugins-bad-multiverse, gstreamer0.10-plugins-ugly-multiverse). Then i got error as below:
GStreamer Plugin: Embedded video playback halted; module typefind reported: Could not determine type of stream. OpenCV Error: Unspecified error (GStreamer: unable to start pipeline ) in cvCaptureFromCAM_GStreamer, file /home/kishan/Opencv/opencv-2.4.13/modules/highgui/src/cap_gstreamer.cpp, line 816 terminate called after throwing an instance of 'cv::Exception' what(): /home/kishan/Opencv/opencv-2.4.13/modules/highgui/src/cap_gstreamer.cpp:816: error: (-2) GStreamer: unable to start pipeline in function cvCaptureFromCAM_GStreamer
Aborted (core dumped)
sorry, i have no idea.
Actually, i have used gstreamer and convert sample video-file into BGR format using VPE and VIDEOCONVERT. This converted video-file can open by "VOOYA" software but it did not open by OpenCV application.