fyhertz / spydroid-ipcamera

A powerful and funny android app. that streams the camera and microphone of your phone to your browser or to VLC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Video is rotated

avaranovich opened this issue · 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.

I also faced the same problem... its in landscape mode when camera
opened...
On 15-Dec-2013 12:22 AM, "Andrei Varanovich" notifications@github.com
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//issues/4
.

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.

Manual rotation worked for me...
On 15-Dec-2013 3:47 PM, "Andrei Varanovich" notifications@github.com
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//issues/4#issuecomment-30601634
.

@harikumarsec how did you do the rotation?

Lol...I kept the device horizontally for capturing video...
On 15-Dec-2013 8:26 PM, "Andrei Varanovich" notifications@github.com
wrote:

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


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

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

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

How
On Jul 21, 2014 3:30 PM, "AreYouLoco?" notifications@github.com 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
#4 (comment)
.

@harikumarsec How what?

I haven't solved that better than you:

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