{"action":"opened","issue":{"url":"https://api.github.com/repos/tzwenn/pyh264decode/issues/2","labels_url":"https://api.github.com/repos/tzwenn/pyh264decode/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/tzwenn/pyh264decode/issues/2/comments","events_url":"https://api.github.com/repos/tzwenn/pyh264decode/issues/2/events","html_url":"https://github.com/tzwenn/pyh264decode/issues/2","id":63223019,"number":2,"title":"Specify returned pixel format.","user":{"login":"NickWaterton","id":11572327,"avatar_url":"https://avatars.githubusercontent.com/u/11572327?v=3","gravatar_id":"","url":"https://api.github.com/users/NickWaterton","html_url":"https://github.com/NickWaterton","followers_url":"https://api.github.com/users/NickWaterton/followers","following_url":"https://api.github.com/users/NickWaterton/following{/other_user}","gists_url":"https://api.github.com/users/NickWaterton/gists{/gist_id}","starred_url":"https://api.github.com/users/NickWaterton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NickWaterton/subscriptions","organizations_url":"https://api.github.com/users/NickWaterton/orgs","repos_url":"https://api.github.com/users/NickWaterton/repos","events_url":"https://api.github.com/users/NickWaterton/events{/privacy}","received_events_url":"https://api.github.com/users/NickWaterton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-20T12:54:34Z","updated_at":"2015-03-20T12:54:34Z","closed_at":null,"body":"I have no issue with the default pixel format YUV420p, but should you not be able to specify this explicitly? if libavcodec or x264 changes the default pixel format, you wouldn't know what had happened. At least the returned pixel type should be specified as a property, so that it can be used in further processing.\r\n\r\nGreat module by the way, using it to read from my Foscam HD cameras.\r\n\r\nFYI I am feeding it h264 annex-b (not avcc) and it decodes fine."}}