ios-360-videos icon indicating copy to clipboard operation
ios-360-videos copied to clipboard

Quality of the video

Open kevincador opened this issue 7 years ago • 4 comments

Hi,

We're playing locally stored videos. We tested with good quality video (found on VLC's website and on the web). Some are 400mb 4K video.

Compared to the experience on VLC on a Mac with the same videos, the quality of the rendering seems bad.

Tested on an iPhone 7 Plus and on an iPad Mini 2. It may have something to do with the @2x or @3x scale.

Thanks for your feedback.

Kevin

kevincador avatar Mar 22 '17 14:03 kevincador

Hi @kevincador,

I was having the same issue so I decided to make some changes that you can see here (in my pull request): https://github.com/NYTimes/ios-360-videos/pull/53

Let me know if you find any trouble. Hope it can be useful!

Nacho

nachonet avatar Mar 22 '17 18:03 nachonet

Wow this is perfect. A huge improvement here. Thanks a lot for this pull request. Hope it gets merged and pushed to Cocoapods soon.

kevincador avatar Mar 22 '17 19:03 kevincador

@nachonet we tested other 360 player and we found out that ios-360-videos is still rendering the video with a quality loss. This is due to the zoom level. Seems that with other 360 player, we are a bit farther from the scene. Since we have a small zoom, the quality decrease.

How would one play with the zoom level of the "camera" to improve the quality of the image?

kevincador avatar Apr 10 '17 12:04 kevincador

There are a number of ways the quality of the rendering can be improved:

  • Increasing the number of segments used to render the sphere onto which the video is mapped. If high enough it essentially gets rid of deformations
  • Altering the size of the scene (SKScene) to something more appropriate than 1280x1280
  • activating anti-aliasing on the SCNView
  • possibly activating 'jittering' on the SCNView
  • altering the field of view to make it wider

rhoudinet avatar Jun 05 '17 09:06 rhoudinet