{"action":"created","issue":{"url":"https://api.github.com/repos/artoolkit/arunity5/issues/38","labels_url":"https://api.github.com/repos/artoolkit/arunity5/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/artoolkit/arunity5/issues/38/comments","events_url":"https://api.github.com/repos/artoolkit/arunity5/issues/38/events","html_url":"https://github.com/artoolkit/arunity5/issues/38","id":122621714,"number":38,"title":"\"Video source is stereo\" tickbox causes black screen","user":{"login":"Axelius","id":2658398,"avatar_url":"https://avatars.githubusercontent.com/u/2658398?v=3","gravatar_id":"","url":"https://api.github.com/users/Axelius","html_url":"https://github.com/Axelius","followers_url":"https://api.github.com/users/Axelius/followers","following_url":"https://api.github.com/users/Axelius/following{/other_user}","gists_url":"https://api.github.com/users/Axelius/gists{/gist_id}","starred_url":"https://api.github.com/users/Axelius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Axelius/subscriptions","organizations_url":"https://api.github.com/users/Axelius/orgs","repos_url":"https://api.github.com/users/Axelius/repos","events_url":"https://api.github.com/users/Axelius/events{/privacy}","received_events_url":"https://api.github.com/users/Axelius/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-16T22:50:40Z","updated_at":"2015-12-18T21:39:58Z","closed_at":null,"body":"Hello,\r\n\r\nwe're using ARToolkit 5.3.1 in Unity Personal 5.2.3f1 64bit to create a Video See Through HMD application. Our hardware setup consists of two USB cameras attached to an Oculus Rift DK2. Our platform is Windows 8.1 64bit for now as a prototype for experiments, but in the long run we might target Android.\r\n\r\nUnfortunately for me as soon as I check the tickbox \"video source is stereo\" of the AR Controller no video is rendered to the screen any more (in fact the textures of both video source textures are just black) and there is also no tracking (I thought maybe tracking is still active, but somehow the video is just not rendered to the texture, but this is not the case). It does not even work for the stereo demo scenes provided in the package. When disabling \"video source is stereo\" it works fine, but of course has only monocular video.\r\n\r\nI saw in [this post](https://github.com/artoolkit/artoolkit5/issues/14) of the artoolkit5 issue tracker that maybe a check in VideoSource::updateTexture in ARWrapper.dll might be causing an issue, but this check is never triggered. In my case VideoSource::updateTexture32 seems to be used anyway, but changing the equivalent line in this function also does nothing. When \"video source is stereo\" is enabled these functions seem not to be called at all.\r\n\r\nJust to make sure that ARToolkit5 can at least access both of my cameras at the same time I tried out stereo.exe and it can show video from both cameras. Stereo camera calibration also worked fine.\r\n\r\n[This post](http://artoolkit.org/community/forums/viewtopic.php?f=28&t=4621) on the ARToolkit Forum also describes the same problem.\r\n\r\n[This post](http://artoolkit.org/community/forums/viewtopic.php?f=28&t=4567) on the ARToolkit Forum also describes this behaviour. The author mentions that according to his investigations the \"PluginFunctions.arwCapture();\" method-call at the end of the UpdateAR() method seems to cause the problem. I have not yet looked into this thought myself though.\r\n\r\nCan anybody confirm if this feature is broken or am I missing something? I would really love to use stereo cameras. With several people describing the same behaviour I think this is a bug (or at least a very unintuitive configuration step is necessary...)\r\n\r\nThank you!\r\n\r\nAlex"},"comment":{"url":"https://api.github.com/repos/artoolkit/arunity5/issues/comments/165903408","html_url":"https://github.com/artoolkit/arunity5/issues/38#issuecomment-165903408","issue_url":"https://api.github.com/repos/artoolkit/arunity5/issues/38","id":165903408,"user":{"login":"wallywyyoung","id":407574,"avatar_url":"https://avatars.githubusercontent.com/u/407574?v=3","gravatar_id":"","url":"https://api.github.com/users/wallywyyoung","html_url":"https://github.com/wallywyyoung","followers_url":"https://api.github.com/users/wallywyyoung/followers","following_url":"https://api.github.com/users/wallywyyoung/following{/other_user}","gists_url":"https://api.github.com/users/wallywyyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/wallywyyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wallywyyoung/subscriptions","organizations_url":"https://api.github.com/users/wallywyyoung/orgs","repos_url":"https://api.github.com/users/wallywyyoung/repos","events_url":"https://api.github.com/users/wallywyyoung/events{/privacy}","received_events_url":"https://api.github.com/users/wallywyyoung/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T21:39:58Z","updated_at":"2015-12-18T21:39:58Z","body":"@Axelius , have you tried different devNum(s)? I wouldn't doubt it's 0-indexed. Those flags are applicable for -device=WinDS, so try prepending the stream with that, to ensure we're using the correct input pathway."}}