GithubHelp home page GithubHelp logo

gsabran / dddkit Goto Github PK

View Code? Open in Web Editor NEW
129.0 129.0 15.0 87.6 MB

360 video player for iOS written in swift - a subset of SceneKit that works

License: MIT License

Ruby 2.38% Swift 97.62%
360-video 3d-rendering cocoapods ios scenekit swift

dddkit's People

Contributors

gsabran avatar team-pie 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

dddkit's Issues

Looping a 360 degree video

Unable to loop a 360 degree video......I mean whenever the video gets completed, it should start again

Crash in retrievePixelBufferToDraw() func in DDDVideoTexture.swift

Hi,
First of all your library is too good. i found an issue while running it on ipad mini and iphone 6 of version 12.4.1 and 12.4.4 and also in lesser version it produce crash there in retrievePixelBufferToDraw() func i didn't recognise why am i getting these crash every time. please help me out with these. line no. 195 in DDDVideoTexture.swift.

Thanx,
Akhil

Installation Section

Hey, your library is really interesting.

The only problem I found was the README.md, which lacks an Installation Section
I created this iOS Open source Readme Template so you can take a look on how to easily create an Installation Section
If you want, I can help you to organize the lib.

What are your thoughts? ๐Ÿ˜„

FairPlay Streaming

First of all, congratulations for the amazing work!

Is it possible to play FairPlay content on your player?

My greetings.

Zoom?

Hi,
I'm trying to replicate the projection used by the GoPro Kolor 360 player, which looks much more "zoomed in" than the default view in DDDKit. Both DDDKit and GoPro Kolor use equirectangular projections (at least if I am reading the comments in DDDSphere.swift and the Kolor release notes correctly. I've tried messing with the radius of the sphere but I don't see an obvious difference. Do you have any suggestions? Any help would be much appreciated.
Thanks!
Max

Example project crashes

Blows up on unimplemented public required init?(coder aDecoder: NSCoder) in DDDViewController, immediately after startup.

image

Custom shaders for SKVideoNode

Hi,

I'm planning on using SpriteKit for an app but I noticed they don't allow custom shaders / filters for the SKVideoNode class.

Upon Googling I came across your custom library for SceneKit and noticed you have written your own video texture implementation. Does this allow you to apple custom GL shaders to videos and do you think it would be possible to port your video texture implementation to work with SpriteKit?

Thanks!

Alex

Not able to rotate the video at 180 degree

Hi,
i found this library very useful for me. The issue i am getting is i am not able to rotate the video at 180 degree in portrait mode actually the video is upside down type and i need to rotate the video. i have changed code for DDD360VideoViewController file in setUpPlayback() function which is
`
private func setUpPlayback(for asset: AVAsset) {
let requestedKeys = [kTracksKey, kPlayableKey]
asset.loadValuesAsynchronously(forKeys: requestedKeys, completionHandler: {
DispatchQueue.main.async {
let status = asset.statusOfValue(forKey: self.kTracksKey, error: nil)
if status == AVKeyValueStatus.loaded {
self.playerItem = AVPlayerItem(asset: asset)
self.player?.replaceCurrentItem(with: self.playerItem!)
let playerLayer = AVPlayerLayer(player: self.player)
playerLayer.frame = self.view.bounds //bounds of the view in which AVPlayer should be displayed
playerLayer.videoGravity = .resizeAspectFill
playerLayer.setAffineTransform(CGAffineTransform(rotationAngle: -3.15))
playerLayer.frame = self.view.bounds
playerLayer.videoGravity = AVLayerVideoGravity.resizeAspect
self.view.layer.addSublayer(playerLayer)
self.player?.play()
}
}

    })
}`

I am attaching a screen shot of video i need to show the face from top side
image
Please help me out!

Thanx,
Prem

Pan gesture is laggy.

First of all, nice library!

I found one small performance issue on didPan method. Video is moving smooth for 1 second and after that I see many lags. It's not smooth. I tested it on simulator and iPhone 6. Can you guys take a look into that problem?

Thanks.

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.