spydroid-ipcamera icon indicating copy to clipboard operation
spydroid-ipcamera copied to clipboard

Video is rotated

Open avaranovich opened this issue 11 years ago • 9 comments

The video streamed form 7'' or 8'' tablets (where both back and front cameras are in the reversed landscape mode) is flipped. Actually if I open the test mp4 file used to get SDP -- the video is also flipped in the player.

avaranovich avatar Dec 14 '13 18:12 avaranovich

I also faced the same problem... its in landscape mode when camera opened... On 15-Dec-2013 12:22 AM, "Andrei Varanovich" [email protected] wrote:

The video streamed form 7'' or 8'' tablets (where both back and front cameras are in the reversed landscape mode) is flipped. Actually if I open the test mp4 file used to get SDP -- the video is also flipped in the player.

— Reply to this email directly or view it on GitHubhttps://github.com/fyhertz/spydroid-ipcamera/issues/4 .

harikumarsec avatar Dec 15 '13 01:12 harikumarsec

I think this is due to the fact, that camera is mounted already reversed. Basically, it's in the "reverse landscape", not landscape mode. setOrientationHint does not help here, because Android doesn't actually rotate the video. Seems like manual rotation is required.

avaranovich avatar Dec 15 '13 10:12 avaranovich

Manual rotation worked for me... On 15-Dec-2013 3:47 PM, "Andrei Varanovich" [email protected] wrote:

I think this is due to the fact, that camera is mounted already reversed. Basically, it's in the "reverse landscape", not landscape mode. setOrientationHint does not help here, because Android doesn't actually rotate the video. Seems like manual rotation is required.

— Reply to this email directly or view it on GitHubhttps://github.com/fyhertz/spydroid-ipcamera/issues/4#issuecomment-30601634 .

harikumarsec avatar Dec 15 '13 10:12 harikumarsec

@harikumarsec how did you do the rotation?

avaranovich avatar Dec 15 '13 14:12 avaranovich

Lol...I kept the device horizontally for capturing video... On 15-Dec-2013 8:26 PM, "Andrei Varanovich" [email protected] wrote:

@harikumarsec https://github.com/harikumarsec how did you do the rotation?

— Reply to this email directly or view it on GitHubhttps://github.com/fyhertz/spydroid-ipcamera/issues/4#issuecomment-30608853 .

harikumarsec avatar Dec 15 '13 14:12 harikumarsec

I thought you solved it by programmatically rotating the video. Unfortunately I can't rotate the device because of the stand.

avaranovich avatar Dec 15 '13 17:12 avaranovich

I confirm that I have rotated video too. LG GT540 CM10.1 spydroid 9.1

AreYouLoco avatar Jul 21 '14 10:07 AreYouLoco

How On Jul 21, 2014 3:30 PM, "AreYouLoco?" [email protected] wrote:

I confirm that I have rotated video too. LG GT540 CM10.1 spydroid 9.1

— Reply to this email directly or view it on GitHub https://github.com/fyhertz/spydroid-ipcamera/issues/4#issuecomment-49588876 .

harikumarsec avatar Jul 21 '14 10:07 harikumarsec

@harikumarsec How what?

I haven't solved that better than you:

Lol...I kept the device horizontally for capturing video...

AreYouLoco avatar Jul 26 '14 13:07 AreYouLoco