{"action":"created","issue":{"url":"https://api.github.com/repos/wang-bin/QtAV/issues/542","labels_url":"https://api.github.com/repos/wang-bin/QtAV/issues/542/labels{/name}","comments_url":"https://api.github.com/repos/wang-bin/QtAV/issues/542/comments","events_url":"https://api.github.com/repos/wang-bin/QtAV/issues/542/events","html_url":"https://github.com/wang-bin/QtAV/issues/542","id":114995286,"number":542,"title":"Weird black screen","user":{"login":"cloud-rocket","id":2440892,"avatar_url":"https://avatars.githubusercontent.com/u/2440892?v=3","gravatar_id":"","url":"https://api.github.com/users/cloud-rocket","html_url":"https://github.com/cloud-rocket","followers_url":"https://api.github.com/users/cloud-rocket/followers","following_url":"https://api.github.com/users/cloud-rocket/following{/other_user}","gists_url":"https://api.github.com/users/cloud-rocket/gists{/gist_id}","starred_url":"https://api.github.com/users/cloud-rocket/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloud-rocket/subscriptions","organizations_url":"https://api.github.com/users/cloud-rocket/orgs","repos_url":"https://api.github.com/users/cloud-rocket/repos","events_url":"https://api.github.com/users/cloud-rocket/events{/privacy}","received_events_url":"https://api.github.com/users/cloud-rocket/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-04T08:02:49Z","updated_at":"2015-11-04T09:27:08Z","closed_at":null,"body":"Hi,\r\n\r\nI am trying to display a UDP streaming MPEG2 video generated by ffmpeg with QT application, but getting a black screen.\r\n\r\n* The video works ok with player.exe from QtAV1.8.0-VS2013x64.exe (or with VLC)\r\n* My Qt application (based on SimplePlayer example) plays internet demo video with no problems - (http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/sl.m3u8)\r\n\r\nURL: udp://127.0.0.1:5678\r\nI am using QtAV-Qt5.5.0-VS2013x86-release-1d95f8f.7z (tried other debug builds as well)\r\nI tried WidgetRenderer/GLWidgetRenderer2/VideoOutput with the same result\r\nSimplePlayer example acts the same (is able to play mpeg2 videos, but not URLs)\r\n\r\nAny ideas?\r\nThanks\r\n\r\nqDebug log:\r\n```\r\n\"QtAV 1.8.0(Oct 30 2015, 11:46:34)\\nA media playing library base on Qt and FFmpeg.\\nDistributed under the terms of LGPLv2.1 or later.\\nShanghai University->S3 Graphics->Deepin, Shanghai, ChinaCopyright (C) 2012-2015 Wang Bin (aka. Lucas Wang) wbsecg1@gmail.com\\nDonate: http://www.qtav.org/donate.html\\nSource: https://github.com/wang-bin/QtAV\\nHome page: http://www.qtav.org\"\r\n\"Build with Qt-5.5.0\"\r\n\"Build with avutil-54.27.100\"\r\n\"Build with avcodec-56.41.100\"\r\n\"Build with avformat-56.36.100\"\r\n\"Build with avfilter-5.16.101\"\r\n\"Build with avdevice-56.4.100\"\r\n\"Build with swresample-1.2.100\"\r\n\"Build with swscale-3.1.101\"\r\nRegistered audio backends:  (\"DirectSound\", \"null\", \"OpenAL\", \"XAudio2\")\r\nAudioOutputBackend::id(\"XAudio2\")\r\n\"XAudio2_9\"\r\n\"Build with XAudio2 from Win8 or later SDK\"\r\n\"Try symbol 'XAudio2Create' from WinSDK dll\"\r\n\"xaudio2: 0x128db80090\"\r\nUnknown id next id: 1613206256, name: OpenGLWindow\r\nVideoRenderer::next(000000128B90AED0)\r\nnext id: 1613206253, name: OpenGLWidget\r\n\"OpenGL version: 3.3  hasGLSL: 1\"\r\n\"GL_VERSION: 3.3.0\"\r\n\"GL_VENDOR: NVIDIA Corporation\"\r\n\"GL_RENDERER: NVS 3100M/PCIe/SSE2\"\r\n\"GL_SHADING_LANGUAGE_VERSION: 3.30 NVIDIA via Cg compiler\"\r\nLoading  QVariant(QString, \"udp://127.0.0.1:5678\")  ...\r\n\"all closed and reseted\"\r\n\"avformat_open_input: d->format_ctx:'0x128e067780', url:'udp://127.0.0.1:5678'...\"\r\n\"avformat_open_input: url:'udp://127.0.0.1:5678' ret:0\"\r\n\"[FFmpeg:mpeg2video] Invalid frame dimensions 0x0.\"\r\n\"[FFmpeg:mpeg2video] Invalid frame dimensions 0x0.\"\r\n\"[FFmpeg:mpeg2video] Invalid frame dimensions 0x0.\"\r\n\"[FFmpeg:mpeg2video] Invalid frame dimensions 0x0.\"\r\n\"[FFmpeg:mpeg2video] Invalid frame dimensions 0x0.\"\r\n\"avfmtctx.flag: 513\"\r\n\"AVFMT_NOTIMESTAMPS: 0, AVFMT_TS_DISCONT: 512, AVFMT_NO_BYTE_SEEK:0\"\r\n\"invalid index 0 (valid is 0~0) for stream type 2.\"\r\n\"notify_interval: 500\"\r\n\"stream: 0, duration=-9223372036854775808 (-102481911520608624 ms), time_base=0.000011\"\r\n\"codec: mpeg2video(MPEG-2 video)\"\r\n\"invalid index 0 (valid is 0~0) for stream type 0.\"\r\n\"**********trying video decoder: FFmpeg...\"\r\n\"QtAV::VideoDecoderFFmpeg thread type: Slice, count: 5\"\r\n\"**************Video decoder found:0x128f031950\"\r\n\"setCapture 0x128b968130\"\r\n\"stream: 0, duration=-9223372036854775808 (-102481911520608624 ms), time_base=0.000011\"\r\n\"codec: mpeg2video(MPEG-2 video)\"\r\n\"Starting video thread...\"\r\n\"get av queue a/v thread = 0x0 0x128f0318f0\"\r\n\"AVClock started!!!!!!!!\"\r\n```"},"comment":{"url":"https://api.github.com/repos/wang-bin/QtAV/issues/comments/153654051","html_url":"https://github.com/wang-bin/QtAV/issues/542#issuecomment-153654051","issue_url":"https://api.github.com/repos/wang-bin/QtAV/issues/542","id":153654051,"user":{"login":"wang-bin","id":785206,"avatar_url":"https://avatars.githubusercontent.com/u/785206?v=3","gravatar_id":"","url":"https://api.github.com/users/wang-bin","html_url":"https://github.com/wang-bin","followers_url":"https://api.github.com/users/wang-bin/followers","following_url":"https://api.github.com/users/wang-bin/following{/other_user}","gists_url":"https://api.github.com/users/wang-bin/gists{/gist_id}","starred_url":"https://api.github.com/users/wang-bin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wang-bin/subscriptions","organizations_url":"https://api.github.com/users/wang-bin/orgs","repos_url":"https://api.github.com/users/wang-bin/repos","events_url":"https://api.github.com/users/wang-bin/events{/privacy}","received_events_url":"https://api.github.com/users/wang-bin/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T09:27:08Z","updated_at":"2015-11-04T09:27:08Z","body":"no more log?"}}