2018-12-14 12:11:48 -0600 | received badge | ● Notable Question (source) |
2016-12-15 04:56:33 -0600 | received badge | ● Student (source) |
2016-02-11 02:08:21 -0600 | received badge | ● Popular Question (source) |
2013-08-07 12:47:21 -0600 | received badge | ● Supporter (source) |
2013-08-07 02:45:42 -0600 | received badge | ● Editor (source) |
2013-08-07 02:44:23 -0600 | asked a question | Opening video using Python - cannot play video I am trying to do some simple video processing using OpenCV and Python (v2.7.3, running under FC18 64bit) but it looks like I am stuck at the very beginning... opening the video I am using this very simple code: This results in: The file exists, it is readable and works perfectly under various video players. GStreamer seems to be properly installed (packages gstreamer, gstreamer-plugins-*, gstreamer-python) and up-to-date If I convert the file into ogg and try to open it with the same code I get a different error Any idea how to resolve this problem? EDIT: after some Googling and looking at the cap_gstreamer.cpp file I finally realised I was misinterpreting the error. OpenCV finds GStreamer allright, but it seems it cannot create a GstBin object. The error comes from a call to gst_parse_bin_from_description. Anyone has any idea of why that is and what can I do about it? |