{"action":"opened","issue":{"url":"https://api.github.com/repos/mshabunin/test2/issues/385","labels_url":"https://api.github.com/repos/mshabunin/test2/issues/385/labels{/name}","comments_url":"https://api.github.com/repos/mshabunin/test2/issues/385/comments","events_url":"https://api.github.com/repos/mshabunin/test2/issues/385/events","html_url":"https://github.com/mshabunin/test2/issues/385","id":91298799,"number":385,"title":"Streaming over RTSP","user":{"login":"mshabunin","id":3304494,"avatar_url":"https://avatars.githubusercontent.com/u/3304494?v=3","gravatar_id":"","url":"https://api.github.com/users/mshabunin","html_url":"https://github.com/mshabunin","followers_url":"https://api.github.com/users/mshabunin/followers","following_url":"https://api.github.com/users/mshabunin/following{/other_user}","gists_url":"https://api.github.com/users/mshabunin/gists{/gist_id}","starred_url":"https://api.github.com/users/mshabunin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mshabunin/subscriptions","organizations_url":"https://api.github.com/users/mshabunin/orgs","repos_url":"https://api.github.com/users/mshabunin/repos","events_url":"https://api.github.com/users/mshabunin/events{/privacy}","received_events_url":"https://api.github.com/users/mshabunin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mshabunin/test2/labels/Affected-2.4.0_-_2.4.7","name":"Affected-2.4.0_-_2.4.7","color":"ededed"},{"url":"https://api.github.com/repos/mshabunin/test2/labels/auto-transferred","name":"auto-transferred","color":"ededed"},{"url":"https://api.github.com/repos/mshabunin/test2/labels/Category-highgui-camera","name":"Category-highgui-camera","color":"ededed"},{"url":"https://api.github.com/repos/mshabunin/test2/labels/Priority-Normal","name":"Priority-Normal","color":"ededed"},{"url":"https://api.github.com/repos/mshabunin/test2/labels/Status-Incomplete","name":"Status-Incomplete","color":"ededed"},{"url":"https://api.github.com/repos/mshabunin/test2/labels/Target-Next_Hackathon","name":"Target-Next_Hackathon","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-26T16:55:53Z","updated_at":"2015-06-26T16:55:53Z","closed_at":null,"body":"Converted from http://code.opencv.org/issues/3494\r\n```\n|| by Matheus Castro Rocha on 2014-01-22 02:49:00\n|| Status: Incomplete\n|| Priority: Normal\n|| Affected: 2.4.0 - 2.4.7\n|| Target: Next Hackathon\n|| Category: highgui-camera\n\nStreaming over RTSP\n===========\nHello guys !\n\nI have been trying to access an IP Camera through RTSP in Visual Studio\n2012. Here is my code:\n\nVideoCapture cap(\"rtsp://IP_ADRRESS/play1.sdp/?tcp\");\n\nif (!cap.isOpened()) {  \n cout return -1;  \n}  \ndouble dWidth = cap.get(CV_CAP_PROP_FRAME_WIDTH); double dHeight =\ncap.get(CV_CAP_PROP_FRAME_HEIGHT); cout\n\nnamedWindow(\"MyVideo\",CV_WINDOW_AUTOSIZE);\n\nwhile (1) {  \n Mat frame;\n\n    bool bSuccess = cap.read(frame); \n    {        cout << \"esc key is pressed by user\" << endl;        break;    }}\n\n    if (!bSuccess) \n    {         cout << \"Cannot read a frame from video file\" << endl;         break;    }\n\n    imshow(\"MyVideo\", frame);\n\n    if (waitKey(30) == 27)\n\nWhen I run it in debug mode, it works just fine, but when I run it in\nrealese , it doesn't work. Any ideas ?  \nI was able to access the camera using only ffmpeg.\n\nif i didn't post any useful informantion, let me know !\n\nThanks a lot !\n\n\nHistory\n=======\n|| by Andrew Senin on 2014-01-23 17:52:00\nMatheus, thank you for posting this issue!\n\nCould you please let us know what version of OpenCV you use? If it is\nnot the latest - please try with the latest. Also, please describe how\nit does not work (crash or no image etc.).\n\nSince our resources now are limited it would be greatly appreciated if\nyou could try to debug this issue locally and send as a fixing push\nrequest. You can find all details here:\nhttp://code.opencv.org/projects/opencv/wiki/How_to_contribute\n\nThank you\n-   Target version set to Next Hackathon\n-   Priority changed from High to Normal\n-   Status changed from New to Incomplete\n-   Assignee set to Matheus Castro Rocha\n-   Category set to highgui-camera\n-   Difficulty changed from Hard to Easy\n```"}}