Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quality of the video #51

Open
kevincador opened this issue Mar 22, 2017 · 4 comments
Open

Quality of the video #51

kevincador opened this issue Mar 22, 2017 · 4 comments

Comments

@kevincador
Copy link

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

@nachonet
Copy link

Hi @kevincador,

I was having the same issue so I decided to make some changes that you can see here (in my pull request): #53

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

Nacho

@kevincador
Copy link
Author

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
Copy link
Author

@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?

@rhoudinet
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants