DronePan icon indicating copy to clipboard operation
DronePan copied to clipboard

Fill video preview screen

Open chrissearle opened this issue 8 years ago • 3 comments

Testing of this with osmo on phone - it fills the video view as best it can (without clipping) - but for others it seems not to.

I suddenly had a thought - I wonder if the cases where it doesn't fill the screen are when the video feed is at a lower total size than the pixel count on screen?

So - it scales/fills for iPhone - but not on a nice big iPad - there it shows what it thinks is "100%" ?

Need to test.

chrissearle avatar Apr 22 '16 10:04 chrissearle

Comment from a DJI issue:

The stream size is 720p. That's the upper bound for our products currently.

chrissearle avatar Apr 24 '16 18:04 chrissearle

Might be worth updating to the latest https://github.com/dji-sdk/Mobile-SDK-iOS/tree/master/Sample%20Code/VideoPreviewer/VideoPreviewer too

chrissearle avatar Apr 24 '16 18:04 chrissearle

As far as I can tell - our code does fill the view with the video stream. But - in some cases (non 16x9 or something) - the video stream comes with built in letterboxing on the sides.

Not a lot we can do to fix that :(

chrissearle avatar May 07 '16 17:05 chrissearle