Comments (9)
Hey @kristokiis!
I have noticed this issue recently. Can you try setting the RecordAR
fps to fps30
.
If that doesn't make any difference, you may create a workaround by setting the the SceneKit animation to half what it is right now.
Or try adding the following in viewDidLoad
:
sceneView.preferredFramesPerSecond = 30
recorder?.fps = .fps30
Please inform me how those steps will workout for you.
-Ahmed
from arvideokit.
Seems it does not help, recording still forces everything 2 times faster nomatter what those settings are.
from arvideokit.
@kristokiis,
Thank you for informing me. I'll be including a fix to this issue in version 1.2.
At this moment, the only workaround would be slowing down the nodes' animations to half what it originally is.
-Ahmed
from arvideokit.
ok, but do you have any estimations when 1.2 will be released?
from arvideokit.
@kristokiis,
I can't give estimates at this moment; however, I'll try to have it published by end of December.
Also to fix your issue, you may slow down the animation into half what you're using right now. For example, if your animation is taking 5 seconds you'd change the intervals to 2.5 seconds.
from arvideokit.
but it would affect them when recording is not active. Problem is switching between recording and normal state, physics and world is too different. Question how did you change fps in recording mode that it also affects scenekit fps? Maybe i can use that code to keep same fps in both cases.
from arvideokit.
Is there any updates coming up with this project? Need to know if i can use this one or need to create my own.
from arvideokit.
@kristokiis,
I'm open-sourcing ARVideoKit this month and it will include an option attempting to fix that issue.
-Ahmed
from arvideokit.
Has anyone figured out a workaround for this issue? Trying to push an app that would incorporate ARVideoKit later this month and still having a huge issue with the frame rate. Have tried the suggested code above but no matter what video output stays locked around 60fps
Thanks!
from arvideokit.
Related Issues (20)
- Black Bars on video output HOT 2
- ARVideoKit forces app into portrait mode when starting from landscape left/right. HOT 3
- ARVideoKit License HOT 3
- Crash - [AVAssetWriterInput initWithMediaType:outputSettings:sourceFormatHint:]
- low FPS while recording videos!! HOT 4
- Recorded video shows flat texture on face tracking HOT 2
- Wrong aspect ratio for initial video recording on on iPhone 12 HOT 1
- Plane detection is shown blank HOT 2
- Person segmentation not being recorded HOT 3
- ARFaceTrackingConfiguration not recorder correctly HOT 4
- pod installation issue HOT 2
- high CPU usage HOT 4
- Surface shader result not recorded. HOT 3
- ARFaceTrackingConfiguration front camera audio recording not working.
- Job Open HOT 1
- Only working on iPhone X.
- App freezes for a moment when starting recording HOT 4
- when use ARVideoKit to record an ARSCNView, the loaded AR object shows black in the scene HOT 4
- Must start a session before appending pixel buffers
- How to make it work with RealityKit based project
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arvideokit.