{ "id": "61913", "key": "TIMOB-1281", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-05-01T22:47:24.000+0000", "created": "2011-04-15T02:48:26.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [], "versions": [ { "id": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-07T21:33:05.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": "{html}

A customer reported this:
\r\nhttp://developer.appcelerator.com/helpdesk/view/27631

\r\n

Basically, Apple's Quicktime will auto rotate a video so that it\r\nwill view 'in a correct orientation' even when the video was taken\r\nin landscape. Non quicktime video viewers do not do this so they\r\nwill not show 'correctly'.

\r\n

These Apple forum posts talk about this:
\r\n\r\nhttp://lists.apple.com/archives/quicktime-api/2009/Jan/msg00148.html

\r\n

\r\nhttp://lists.apple.com/archives/quicktime-api/2009/Jan/msg00149.html

\r\n

This customer is asking that we detect the orientation and flip\r\nit to be correct.

\r\n

iPhone OS 4

{html}", "attachment": [], "flagged": false, "summary": "iOS: Detecting Video Orientation", "creator": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "125243", "author": { "name": "davidg(ateyejot)", "key": "davidg(ateyejot)", "displayName": "davidg (at eyejot)", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

This bit of Python does the trick:

\n

http://github.com/danielgtaylor/qtrotate

{html}", "updateAuthor": { "name": "davidg(ateyejot)", "key": "davidg(ateyejot)", "displayName": "davidg (at eyejot)", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:48:27.000+0000", "updated": "2011-04-15T02:48:27.000+0000" }, { "id": "418531", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Resolving ticket as Invalid as there is hardly any information whatsoever and this was created in April 2011 with no response since that time.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-05-01T22:47:24.000+0000", "updated": "2017-05-01T22:47:24.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }