{ "id": "163534", "key": "TIMOB-23962", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2016-09-29T19:16:40.000+0000", "created": "2016-09-28T22:25:17.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "camera", "showcamera", "video", "videocapture" ], "versions": [ { "id": "18253", "name": "Release 5.5.0", "archived": false, "released": true, "releaseDate": "2016-09-13" } ], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-03-29T22:08:39.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "When capturing video using showCamera() both the generated video and the preview video are extremely blurred (low quality).\r\n\r\nI have tried to use all videoQuality options available on docs (Ti.Media.QUALITY_HIGH, Ti.Media.QUALITY_MEDIUM, Ti.Media.QUALITY_LOW, Ti.Media.QUALITY_640x480, Ti.Media.QUALITY_IFRAME_960x540, Ti.Media.QUALITY_IFRAME_1280x720)\r\n\r\nWhen compared to photo quality both on preview as in the captured frames, the video always seem very blurry and low quality independently of the videoQuality setting.\r\n\r\nThis is far more perceivable on iPhone 6S Plus when compared to iPhone 5S and iPhone 6 but the video on those devices have lower quality when compared between video captured from the ti app against video captured directly from the camera app.\r\n\r\nI have also tried to manually focus (tap focus) to different areas on the screen and it didn't solve the problem.\r\n\r\nAll attached previews where taken with videoQuality: Ti.Media.QUALITY_HIGH but the problem persists on all videoQuality options as mentioned above.\r\n", "attachment": [ { "id": "60430", "filename": "test_camera.zip", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-05T13:52:18.000+0000", "size": 29063, "mimeType": "application/zip" } ], "flagged": false, "summary": "iOS - Blurry Video Capture and Preview", "creator": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "subtasks": [], "reporter": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "environment": "Titanium SDK 5.5.0.GA\r\niPhone 6S Plus (also tested on iPhone 6 and iPhone 5S)\r\niOS 10\r\nXCode 8", "closedSprints": [ { "id": 733, "state": "closed", "name": "2016 Sprint 21 SDK", "startDate": "2016-10-08T00:53:00.000Z", "endDate": "2016-10-22T00:53:00.000Z", "completeDate": "2016-10-24T03:58:08.547Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "397582", "author": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "*Ti App - Photo Mode*: !https://www.dropbox.com/s/i5hdaeayih4qkeu/PHOTO-CAPTURE-TI_APP-IPHONE6SPLUS.PNG?dl=1!\r\n\r\n*Ti App - Video Mode 1*: !https://www.dropbox.com/s/15006dk3lidjahs/VIDEO-CAPTURE-TI_APP-IPHONE6SPLUS.PNG?dl=1!\r\n\r\n*Ti App - Video Mode 2*: !https://www.dropbox.com/s/0y4qqylhuedct2x/VIDEO-CAPTURE-TI_APP-IPHONE6SPLUS-2.PNG?dl=1!\r\n\r\n*Stock/Native iOS Camera App - Video Mode*: !https://www.dropbox.com/s/x6l7f5wpknpapi1/VIDEO-CAPTURE-IOS_CAMERA_APP-IPHONE6SPLUS.PNG?dl=1!\r\n\r\n*Video Captured*: [https://www.dropbox.com/s/acx4s1fvgaj3jgi/VIDEO-CAPTURE-TI_APP-IPHONE6SPLUS.MOV?dl=0]", "updateAuthor": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2016-09-28T22:38:30.000+0000", "updated": "2016-09-28T22:38:30.000+0000" }, { "id": "397609", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Can you check if the 6.0.0 build changes something? {{Ti.Media.QUALITY_IFRAME_960x540, Ti.Media.QUALITY_IFRAME_1280x720}} are only available in Titanium SDK 6.0.0 and later, and I also remember that I recently fixed something regarding the video-quality as well. Thx!\r\n\r\n*EDIT*: See [this commit|https://github.com/appcelerator/titanium_mobile/blame/6_0_X/iphone/Classes/MediaModule.m#L1586].", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-09-29T07:09:11.000+0000", "updated": "2016-09-29T17:20:56.000+0000" }, { "id": "397666", "author": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "Hi @Hans,\r\n\r\nI have tested again using iPhone 6S Plus on 6.0.0.v20160929101355 and it seems fixed on 6.0.X branch!\r\n\r\nBoth Ti.Media.QUALITY_HIGH as Ti.Media.QUALITY_IFRAME_XXXXXXXX options have perfect previews and are recording HQ video properly!\r\n\r\nThanks.", "updateAuthor": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2016-09-29T19:15:55.000+0000", "updated": "2016-09-29T19:15:55.000+0000" }, { "id": "397668", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Happy to hear, thank you [~ygbr]! For the records, the duplicate ticket is TIMOB-23847.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-09-29T19:16:40.000+0000", "updated": "2016-09-29T19:17:46.000+0000" }, { "id": "398116", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "One side-note for all people seeing this ticket. It's actual a native behavior, see the attached project \"test_camera.zip\" that produces the same output.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-05T13:52:05.000+0000", "updated": "2016-10-05T13:52:05.000+0000" }, { "id": "398118", "author": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "Hi @Hans,\r\n\r\nI think that in the case you have attached the capture quality is blurry because you have explicitly set the video quality to Low in [picker setVideoQuality:UIImagePickerControllerQualityTypeLow];\r\n\r\nHigher qualities seem ok to me. The default is UIImagePickerControllerQualityTypeMedium according to Apple docs.", "updateAuthor": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2016-10-05T14:07:09.000+0000", "updated": "2016-10-05T14:07:09.000+0000" }, { "id": "398126", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hey gotcha. The comment was more meant for the issues one of our Slack users noticed on iOS 10. But since the camera-quality-issue is fixed now anyway, we're fine.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-05T15:27:47.000+0000", "updated": "2016-10-05T15:27:47.000+0000" }, { "id": "416283", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate, please refer to TIMOB-23847.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-29T22:08:39.000+0000", "updated": "2017-03-29T22:08:39.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }