{"action":"created","issue":{"url":"https://api.github.com/repos/bytedeco/javacv/issues/163","repository_url":"https://api.github.com/repos/bytedeco/javacv","labels_url":"https://api.github.com/repos/bytedeco/javacv/issues/163/labels{/name}","comments_url":"https://api.github.com/repos/bytedeco/javacv/issues/163/comments","events_url":"https://api.github.com/repos/bytedeco/javacv/issues/163/events","html_url":"https://github.com/bytedeco/javacv/issues/163","id":89265324,"number":163,"title":"Refactor examples etc. to use android camera2","user":{"login":"lfdversluis","id":3618917,"avatar_url":"https://avatars.githubusercontent.com/u/3618917?v=3","gravatar_id":"","url":"https://api.github.com/users/lfdversluis","html_url":"https://github.com/lfdversluis","followers_url":"https://api.github.com/users/lfdversluis/followers","following_url":"https://api.github.com/users/lfdversluis/following{/other_user}","gists_url":"https://api.github.com/users/lfdversluis/gists{/gist_id}","starred_url":"https://api.github.com/users/lfdversluis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lfdversluis/subscriptions","organizations_url":"https://api.github.com/users/lfdversluis/orgs","repos_url":"https://api.github.com/users/lfdversluis/repos","events_url":"https://api.github.com/users/lfdversluis/events{/privacy}","received_events_url":"https://api.github.com/users/lfdversluis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bytedeco/javacv/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/bytedeco/javacv/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-06-18T11:18:02Z","updated_at":"2016-03-13T20:01:41Z","closed_at":null,"body":"hardware.camera is deprecated. \r\nThe examples should be updated to use camera2.\r\n\r\nIf I find some time I will take a look at it."},"comment":{"url":"https://api.github.com/repos/bytedeco/javacv/issues/comments/196042597","html_url":"https://github.com/bytedeco/javacv/issues/163#issuecomment-196042597","issue_url":"https://api.github.com/repos/bytedeco/javacv/issues/163","id":196042597,"user":{"login":"lfdversluis","id":3618917,"avatar_url":"https://avatars.githubusercontent.com/u/3618917?v=3","gravatar_id":"","url":"https://api.github.com/users/lfdversluis","html_url":"https://github.com/lfdversluis","followers_url":"https://api.github.com/users/lfdversluis/followers","following_url":"https://api.github.com/users/lfdversluis/following{/other_user}","gists_url":"https://api.github.com/users/lfdversluis/gists{/gist_id}","starred_url":"https://api.github.com/users/lfdversluis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lfdversluis/subscriptions","organizations_url":"https://api.github.com/users/lfdversluis/orgs","repos_url":"https://api.github.com/users/lfdversluis/repos","events_url":"https://api.github.com/users/lfdversluis/events{/privacy}","received_events_url":"https://api.github.com/users/lfdversluis/received_events","type":"User","site_admin":false},"created_at":"2016-03-13T20:01:41Z","updated_at":"2016-03-13T20:01:41Z","body":"@kmlx Thanks for your response. If I initialize the ImageReader like this ` mImageReader = ImageReader.newInstance(DISPLAY_WIDTH, DISPLAY_HEIGHT, PixelFormat.RGBA_8888, 2);` and my Frame like `yuvImage = new Frame(DISPLAY_WIDTH, DISPLAY_HEIGHT, Frame.DEPTH_UBYTE, 4);` then I do get the buffer overflow exception. Interesting that it works for you. \r\nTo be clear, I am targeting the record example."}}