{"action":"created","issue":{"url":"https://api.github.com/repos/Windsander/Android-UltimateGPUImage/issues/10","repository_url":"https://api.github.com/repos/Windsander/Android-UltimateGPUImage","labels_url":"https://api.github.com/repos/Windsander/Android-UltimateGPUImage/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/Windsander/Android-UltimateGPUImage/issues/10/comments","events_url":"https://api.github.com/repos/Windsander/Android-UltimateGPUImage/issues/10/events","html_url":"https://github.com/Windsander/Android-UltimateGPUImage/issues/10","id":229533456,"number":10,"title":"some thought of couldn't play video bug.","user":{"login":"Windsander","id":15092117,"avatar_url":"https://avatars1.githubusercontent.com/u/15092117?v=3","gravatar_id":"","url":"https://api.github.com/users/Windsander","html_url":"https://github.com/Windsander","followers_url":"https://api.github.com/users/Windsander/followers","following_url":"https://api.github.com/users/Windsander/following{/other_user}","gists_url":"https://api.github.com/users/Windsander/gists{/gist_id}","starred_url":"https://api.github.com/users/Windsander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Windsander/subscriptions","organizations_url":"https://api.github.com/users/Windsander/orgs","repos_url":"https://api.github.com/users/Windsander/repos","events_url":"https://api.github.com/users/Windsander/events{/privacy}","received_events_url":"https://api.github.com/users/Windsander/received_events","type":"User","site_admin":false},"labels":[{"id":549658252,"url":"https://api.github.com/repos/Windsander/Android-UltimateGPUImage/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":{"login":"Windsander","id":15092117,"avatar_url":"https://avatars1.githubusercontent.com/u/15092117?v=3","gravatar_id":"","url":"https://api.github.com/users/Windsander","html_url":"https://github.com/Windsander","followers_url":"https://api.github.com/users/Windsander/followers","following_url":"https://api.github.com/users/Windsander/following{/other_user}","gists_url":"https://api.github.com/users/Windsander/gists{/gist_id}","starred_url":"https://api.github.com/users/Windsander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Windsander/subscriptions","organizations_url":"https://api.github.com/users/Windsander/orgs","repos_url":"https://api.github.com/users/Windsander/repos","events_url":"https://api.github.com/users/Windsander/events{/privacy}","received_events_url":"https://api.github.com/users/Windsander/received_events","type":"User","site_admin":false},"assignees":[{"login":"Windsander","id":15092117,"avatar_url":"https://avatars1.githubusercontent.com/u/15092117?v=3","gravatar_id":"","url":"https://api.github.com/users/Windsander","html_url":"https://github.com/Windsander","followers_url":"https://api.github.com/users/Windsander/followers","following_url":"https://api.github.com/users/Windsander/following{/other_user}","gists_url":"https://api.github.com/users/Windsander/gists{/gist_id}","starred_url":"https://api.github.com/users/Windsander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Windsander/subscriptions","organizations_url":"https://api.github.com/users/Windsander/orgs","repos_url":"https://api.github.com/users/Windsander/repos","events_url":"https://api.github.com/users/Windsander/events{/privacy}","received_events_url":"https://api.github.com/users/Windsander/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Windsander/Android-UltimateGPUImage/milestones/1","html_url":"https://github.com/Windsander/Android-UltimateGPUImage/milestone/1","labels_url":"https://api.github.com/repos/Windsander/Android-UltimateGPUImage/milestones/1/labels","id":2473623,"number":1,"title":"v1.0.1 dev ","description":"-1. add pure image operate\r\n-2. add more implement to deal with user who want to self config init-params.\r\n-3. other staff","creator":{"login":"Windsander","id":15092117,"avatar_url":"https://avatars1.githubusercontent.com/u/15092117?v=3","gravatar_id":"","url":"https://api.github.com/users/Windsander","html_url":"https://github.com/Windsander","followers_url":"https://api.github.com/users/Windsander/followers","following_url":"https://api.github.com/users/Windsander/following{/other_user}","gists_url":"https://api.github.com/users/Windsander/gists{/gist_id}","starred_url":"https://api.github.com/users/Windsander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Windsander/subscriptions","organizations_url":"https://api.github.com/users/Windsander/orgs","repos_url":"https://api.github.com/users/Windsander/repos","events_url":"https://api.github.com/users/Windsander/events{/privacy}","received_events_url":"https://api.github.com/users/Windsander/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":3,"state":"open","created_at":"2017-04-22T06:08:10Z","updated_at":"2017-05-18T02:07:34Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2017-05-18T01:52:29Z","updated_at":"2017-06-06T07:57:46Z","closed_at":null,"body":"Thx to YeYuanYuan's support. I think I have some clue of this problem.\r\nOur project use MediaCodec as the engine code. For this, if it is working, it should come out with the fallowing log information.\r\n`D/ACodec: dataspace changed to 0x10c10000 (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) (R:2(Limited), S:1(BT709), T:3(SMPTE_170M)`\r\nSo the encoder could receive the status of buffer at initialization phase.\r\n`encoderStatus == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED `\r\nthat means the color pixel of the current frame is changed by filter you set.\r\nBut the problem is , when we start to use filter, every pixels operate relay to the OnFrameAvailable function which should be used in engine's locked render thread. And That WILL Cause a dead lock. The Render thread no longer been able to notify each other at the start of recording initialization. Since the OnframeAvailable function has been stuck, the buffer could not be updated. As the result, the MeidaCodec never get the INFO_OUTPUT_FORMAT_CHANGED status.\r\n\r\nI think maybe I should check the frameAvailable() or frameAvailableSoon()  is keeping update when recording start."},"comment":{"url":"https://api.github.com/repos/Windsander/Android-UltimateGPUImage/issues/comments/306411173","html_url":"https://github.com/Windsander/Android-UltimateGPUImage/issues/10#issuecomment-306411173","issue_url":"https://api.github.com/repos/Windsander/Android-UltimateGPUImage/issues/10","id":306411173,"user":{"login":"Windsander","id":15092117,"avatar_url":"https://avatars1.githubusercontent.com/u/15092117?v=3","gravatar_id":"","url":"https://api.github.com/users/Windsander","html_url":"https://github.com/Windsander","followers_url":"https://api.github.com/users/Windsander/followers","following_url":"https://api.github.com/users/Windsander/following{/other_user}","gists_url":"https://api.github.com/users/Windsander/gists{/gist_id}","starred_url":"https://api.github.com/users/Windsander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Windsander/subscriptions","organizations_url":"https://api.github.com/users/Windsander/orgs","repos_url":"https://api.github.com/users/Windsander/repos","events_url":"https://api.github.com/users/Windsander/events{/privacy}","received_events_url":"https://api.github.com/users/Windsander/received_events","type":"User","site_admin":false},"created_at":"2017-06-06T07:57:46Z","updated_at":"2017-06-06T07:57:46Z","body":"this month will be a hard time. I'm working at a new project which is requested by PM, so this project will be slow down. But ur guys sound't be worried about this, because I will NEVER give it up. And it's also a good time to let me think this project structure, and make it better.\r\nThe problem remain is my video handler thread couldn't get my  input frame, which cause black screen  problem, in recording.\r\nif u have any ideas, please let me know. The branch is [https://github.com/Windsander/Android-UltimateGPUImage/tree/feature/willow_enchance_%26_bugfix](willow_enchance_&_bugfix)"}}
{"actor":{"display_login":"Windsander"}}