{"action":"opened","issue":{"url":"https://api.github.com/repos/waveform80/picamera/issues/218","labels_url":"https://api.github.com/repos/waveform80/picamera/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/waveform80/picamera/issues/218/comments","events_url":"https://api.github.com/repos/waveform80/picamera/issues/218/events","html_url":"https://github.com/waveform80/picamera/issues/218","id":77566494,"number":218,"title":"Stereo mode error","user":{"login":"guyver2","id":576461,"avatar_url":"https://avatars.githubusercontent.com/u/576461?v=3","gravatar_id":"","url":"https://api.github.com/users/guyver2","html_url":"https://github.com/guyver2","followers_url":"https://api.github.com/users/guyver2/followers","following_url":"https://api.github.com/users/guyver2/following{/other_user}","gists_url":"https://api.github.com/users/guyver2/gists{/gist_id}","starred_url":"https://api.github.com/users/guyver2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guyver2/subscriptions","organizations_url":"https://api.github.com/users/guyver2/orgs","repos_url":"https://api.github.com/users/guyver2/repos","events_url":"https://api.github.com/users/guyver2/events{/privacy}","received_events_url":"https://api.github.com/users/guyver2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-18T08:46:43Z","updated_at":"2015-05-18T08:46:43Z","closed_at":null,"body":"Stereo mode doesn't work on the compute module with two cameras.\r\n\r\nThis minimal piece of code fails :\r\n     \r\n     import picamera\r\n     import sys\r\n     import traceback\r\n    \r\n     try :\r\n        camera = picamera.PiCamera(stereo_mode='side-by-side')\r\n        camera.start_preview()\r\n        # Camera warm-up time\r\n        time.sleep(2)\r\n        camera.capture('foo.jpg')\r\n    except Exception as e:\r\n        print \"Error:\"\r\n        print \"############\"\r\n        print e\r\n        print \"############\"\r\n        traceback.print_exc(file=sys.stdout)\r\n\r\nIt gives the following output :\r\n\r\n    pi@computePI ~/stream $ python test_stereo.py\r\n    Error:\r\n    ############\r\n    Unable to set stereoscopic mode on output 0: Argument is invalid\r\n    ############\r\n    Traceback (most recent call last):\r\n      File \"test_stereo.py\", line 7, in <module>\r\n        picamera.PiCamera(stereo_mode='side-by-side')\r\n      File \"/usr/lib/python2.7/dist-packages/picamera/camera.py\", line 419, in __init__\r\n        self.STEREO_MODES[stereo_mode], stereo_decimate)\r\n      File \"/usr/lib/python2.7/dist-packages/picamera/camera.py\", line 525, in _init_camera\r\n        prefix=\"Unable to set stereoscopic mode on output %d\" % p)\r\n      File \"/usr/lib/python2.7/dist-packages/picamera/exc.py\", line 133, in mmal_check\r\n        raise PiCameraMMALError(status, prefix)\r\n\r\n\r\n\r\nHere are some information on my system :\r\n\r\n    pi@compute ~ $ uname -a \r\n    Linux compute 3.18.13+ #784 PREEMPT Sat May 9 15:49:42 BST 2015 armv6l GNU/Linux\r\n\r\n    pi@compute ~ $ vcgencmd version\r\n    May 13 2015 14:58:12 \r\n    Copyright (c) 2012 Broadcom\r\n    version 8e0e0dbfe92be77d6355082451280d32f5bf0ff3 (clean) (release)\r\n\r\n\r\nAlso, the latest version of raspistill/raspivid do provide a working support for stereo through the -3d option\r\n"}}