gsabran / dddkit Goto Github PK
View Code? Open in Web Editor NEW360 video player for iOS written in swift - a subset of SceneKit that works
License: MIT License
360 video player for iOS written in swift - a subset of SceneKit that works
License: MIT License
Unable to loop a 360 degree video......I mean whenever the video gets completed, it should start again
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
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? ๐
First of all, congratulations for the amazing work!
Is it possible to play FairPlay content on your player?
My greetings.
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
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
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
Please help me out!
Thanx,
Prem
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.