GithubHelp home page GithubHelp logo

hanton / fisheye Goto Github PK

View Code? Open in Web Editor NEW
2.1K 2.1K 429.0 150.83 MB

Open Source iOS 360 Degree Panorama Video Player. (HTY360Player is renamed to Fisheye)

License: MIT License

Objective-C 0.40% GLSL 3.43% Swift 76.42% C 19.76%
360video ios objective-c opengl swift

fisheye's People

Contributors

hanton avatar markwarriors avatar monkeywithacupcake avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fisheye's Issues

Multiple Demo in the menu ?

Hi, amazing player - Thanks a lot to make that open source !

One question, Id like to be able to play multiple demo. How is this possible to add another play demo 2 button for example ? which we launch another video :) ?

Any way to make it compatible in portrait mode aswell ?

Thanks a lot !! you rock :)

How to get a front and back of a 360 video?

Hey Hanton! Your library is very nice. I just love to use it. I am also working on 360 degree videos where your player works great.

However, I need to render an equirectangular video format in a normal 2D field of view, and need to extract front and back part from equirectangular 360 video.

For example:

I am developing a video player that has 3 options to select.

  1. Front Mode
  2. Back Mode
  3. 360 Mode

Here, "360 Mode" is what your library serves perfectly. However, I also need to know how to separate front and back parts from an equirectangular video.

I need to split the equirectangular video on the edge and provide a front and back view.

So my question is,

In order to do above, what sort of transformation operations are required to be performed on input video (equirectangular format), so that I can get the cropped normal field of view?

Any help would be much appreciated, Brother. Thanks.

Prevent vertical rotation

Hello Guys! Thanks for the wonderful library.

I am using this library to play "Stereoscopic 360 Video" that is "Side by Side Stitched" and I don't want vertical rotation like normal "Monoscopic video". How do I prevent vertical rotation?

Please help me guys! Thanks.

'Could not load NIB in bundle ... .app (loaded) with name 'HTY360PlayerVC'

Hello I have a question about integration with CocoaPods, I am getting the fatal error listed in the title every time I try to present the player.

func testHTY360Player() {

        guard let hty360Player = HTY360PlayerVC(nibName: "HTY360PlayerVC", bundle: nil, url: url)
                else { return }
        present(hty360Player, animated: true, completion: nil)

    }

Additionally I have tried to get the bundle this way. Unfortunately that gets an empty bundleURL, so you never get to the bundle.

let podBundle = Bundle(for: HTY360PlayerVC.classForCoder())
if  let bundleURL = podBundle.url(forResource: "HTY360Player", withExtension: "bundle"),
    let bundle = Bundle(url: bundleURL) {
        // ... never gets to here
}

Thank you for your consideration in advance with regards to this matter, I really appreciate it.

Best,
Henry

GreenScreen shows up instead of Video image

Sometimes the audio would load perfectly but the videooutput might get a green screen instead of the right image. And it took me forever to find out where goes wrong. If somebody had the same issue , please help me.

Motion and Touch Gesture Together

Hello,

I checked your code. Overall looks good. But i need to see same as facebook 360 video. Both iphone motion and finger gestures apply together. How can i do it? Can you help me?

Thanks

Start video at an other view

Hi everyone!
When I start video I see the sky! How I can change it programmatically before video start?
Thx a lot!

Memory warning before crash

Hi, great work! It's ok but some seconds after video starts, app crash with memory wornings!

Log:
HTY360Player[1802:660394] Received memory warning.
Message from debugger: Terminated due to memory issue

Bug in Portrait

Fantastic Player, congrats.

One issue I have notice is when playing the video in portrait mode, if the user move a bit around, ( In portrait) it's like pushing the video back to the original position....

Is there any fix for this ?

Thanks a lot for your time !!

是否支持分屏播放?

您好,我看了您的demo,很厉害,想请问一下能否支持双屏播放?或者给我一些建议我自己实现,谢谢!

How to play local video like demo?

Hello,
I want to play a local 360 video downloaded from Youtube as demo,
but it seems that the player will treat it only as a normal video instead of 360 video, i.e. it doesn't support video panning by moving the phone anymore.

How can I play local video like demo?

Question about initial perspective

Hello, I am trying this player with a movie, and it seems to work well with one exception: the video starts with the "view" 180 degrees from where I'd like it to be. I have to turn around in order to see the main object of the movie. Is there a parameter to control this? Thanks!

Can we have a Tiny Planet view ( Stereographic )

the way I seem is at esGenSphere, where the pixel vertices holding place..

But I don't know how to change it, or how it happens, or whats algorithm behinds that.

Thanks for helping & let me know & learn. please..

Cardboard Support?

Does this library support Google Cardboard for displaying video in the left / right eye mode?

Portrait support

This is really an amazing library and I thought about using it to mimic Facebooks NewsFeed with 360 videos playing automatically in a scroll view. But I couldn't get it to work in Portrait since the translations of pan and gyroscope just didn't translate well to the camera movement. Do you have any hints? Do do I have to rotate the matrix?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.