{"action":"created","issue":{"url":"https://api.github.com/repos/wang-bin/QtAV/issues/358","labels_url":"https://api.github.com/repos/wang-bin/QtAV/issues/358/labels{/name}","comments_url":"https://api.github.com/repos/wang-bin/QtAV/issues/358/comments","events_url":"https://api.github.com/repos/wang-bin/QtAV/issues/358/events","html_url":"https://github.com/wang-bin/QtAV/issues/358","id":54437740,"number":358,"title":"some MJPG Streams causes player crashes after a while on Windows","user":{"login":"AlexLonardi","id":10208188,"avatar_url":"https://avatars.githubusercontent.com/u/10208188?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexLonardi","html_url":"https://github.com/AlexLonardi","followers_url":"https://api.github.com/users/AlexLonardi/followers","following_url":"https://api.github.com/users/AlexLonardi/following{/other_user}","gists_url":"https://api.github.com/users/AlexLonardi/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexLonardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexLonardi/subscriptions","organizations_url":"https://api.github.com/users/AlexLonardi/orgs","repos_url":"https://api.github.com/users/AlexLonardi/repos","events_url":"https://api.github.com/users/AlexLonardi/events{/privacy}","received_events_url":"https://api.github.com/users/AlexLonardi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-15T11:14:28Z","updated_at":"2015-01-15T16:31:13Z","closed_at":null,"body":"I've noticed that keeping opened some MJPEG streams causes a crash after a while, only in Windows environment (tested both in XP x32 and Win7 x64, every usage under Linux environment instead went fine) and the commits:\r\n- 750c3715\r\n- 8594503\r\n\r\nI can reproduce this behavior in the player example, tested with both Qt 5.2.1 and 5.3.2.\r\n\r\nTo reproduce this issue, simply load player (or QMLPlayer, or any) example with an MJPEG stream URL as parameter.\r\nAfter a while (usually <5 minutes) that the stream is playing, the player starts to allocate a lot of memory, until it crashes with a segmentation fault.\r\nOn console I get a lot of:\r\nWarning: \"[AVDemuxer] error: Immediate exit requested\"\r\n\r\nAs far as I can see from stacktrace and messages, it's indicative of an error external to the player or QtAV itself, but maybe it can be avoided with a different configuration of the underlying services used.\r\nAs I mentioned, not all streams reproduces this behavior. I can't get a rule to profile a good stream from a bad, but I think that's something related to the reply latency (and timeout). I got errors with this one:\r\n      http://webcam.hotelbibionepalace.it/mjpg/video.mjpg (beware, it loads really slowly, over 2 minutes sometimes)\r\nand others under a private network, made from different IPCams.\r\n\r\nThanks in advance for any tips about."},"comment":{"url":"https://api.github.com/repos/wang-bin/QtAV/issues/comments/70113953","html_url":"https://github.com/wang-bin/QtAV/issues/358#issuecomment-70113953","issue_url":"https://api.github.com/repos/wang-bin/QtAV/issues/358","id":70113953,"user":{"login":"AlexLonardi","id":10208188,"avatar_url":"https://avatars.githubusercontent.com/u/10208188?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexLonardi","html_url":"https://github.com/AlexLonardi","followers_url":"https://api.github.com/users/AlexLonardi/followers","following_url":"https://api.github.com/users/AlexLonardi/following{/other_user}","gists_url":"https://api.github.com/users/AlexLonardi/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexLonardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexLonardi/subscriptions","organizations_url":"https://api.github.com/users/AlexLonardi/orgs","repos_url":"https://api.github.com/users/AlexLonardi/repos","events_url":"https://api.github.com/users/AlexLonardi/events{/privacy}","received_events_url":"https://api.github.com/users/AlexLonardi/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T16:31:13Z","updated_at":"2015-01-15T16:31:13Z","body":"I've found some other mjpeg stream URLs for testing:\r\nhttp://rax1.bsn.net/mjpg/video.mjpg?streamprofile=Balanced\r\nhttp://wmccpinetop.axiscam.net/mjpg/video.mjpg\r\nhttp://212.162.177.75/mjpg/video.mjpg\r\nhttp://plazacam.studentaffairs.duke.edu/mjpg/video.mjpg\r\nhttp://trackfield.webcam.oregonstate.edu/mjpg/video.mjpg\r\nhttp://50.73.56.89/mjpg/video.mjpg\r\nhttp://construction.sfhs.com/mjpg/video.mjpg\r\nhttp://208.42.203.54:8588/mjpg/video.mjpg"}}