Ask Your Question

symon6's profile - activity

2015-07-14 09:14:36 -0600 received badge  Famous Question (source)
2014-12-08 08:38:39 -0600 received badge  Notable Question (source)
2014-09-11 12:33:08 -0600 received badge  Popular Question (source)
2014-03-08 13:35:28 -0600 asked a question AttributeError: 'module' object has no attribute 'VideoWriter_fourcc'

I am trying to capture video throught this tutorial: http://opencv-python-tutroals.readthedocs.org/en/latest/py_tutorials/py_gui/py_video_display/py_video_display.html but when I try to use the last source code I give this error message:

python record_video.py 
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
Traceback (most recent call last):
  File "record_video.py", line 7, in <module>
    fourcc = cv2.VideoWriter_fourcc()
AttributeError: 'module' object has no attribute 'VideoWriter_fourcc'

Sorry for my English :)