Comments (4)
If you set FBCaptureSDK.vodVideoFrameRate to 60 fps, capture sdk will expect to get 60 textures per second for making 60 fps videos, but in your case, it seems like it can't pass 60 textures per sec to sdk side. What's your current resolution setting? And what's your graphics card? Can you try with lower resolutions?
I think you can still use "vodVideoFrameRate = 30" with your settings for GraphicsSettings.vSyncCount and Time.captureFramerate for your purpose though.
from 360-capture-sdk.
Hi! Thanks for the very fast reponse!
I will try with lower resolutions, but when I tried doing a 24fps video it still came out super fast and had like 8 frames in it, instead of running at the expected speed.
it seems like it can't pass 60 textures per sec to sdk side
Do you mean that instead of queuing up the frames that are passed to the SDK, the extra ones are discarded?
If you set FBCaptureSDK.vodVideoFrameRate to 60 fps, capture sdk will expect to get 60 textures per second for making 60 fps videos
It seems like the SDK is not expecting to receive frames more frequently than the FPS set by FBCaptureSDK.vodVideoFrameRate. I expect this is the problem - we're sending frames more frequently than the FPS we specify in FBCaptureSDK.vodVideoFrameRate. e.g. for a 60fps video that's 10s long, we're sending 600 frames, but we're sending them over about 1s instead of over 10s.
Would it be possible for the SDK to accept frames more frequently than the specified FPS?
from 360-capture-sdk.
Hi,
Basically, we're managing fps in encoding thread in FBCapture.dll and textures are totally encoded based on fps setting with timer function. For example, if we set fps to 30, then we're handling texture encode every 1/30 secs. Yes, SDK is not expecting to receive frames more frequently than the FPS set.
Your case seems to be edge case... I would recommend you to play with source code for custom.
Thanks,
from 360-capture-sdk.
Hey, thanks for the reply! I see you've added c++ source to the repo, that's awesome! I'll have a look. Thanks!
from 360-capture-sdk.
Related Issues (20)
- NV_ENC_ERR_OUT_OF_MEMORY HOT 2
- Compiling the source HOT 5
- System sounds getting captured too HOT 1
- Display output disabled/black HOT 1
- Crash in debug on AMD hardware HOT 6
- Muxing failed - wamedia muxer error codes? HOT 1
- Guide/Tutorial on How to use 360 Capture SDK to record Oculus Game or other Game like Steam
- fbc_getCaptureCapability fails with AMD device when both AMD and NVidia cards present HOT 1
- Persistent 'AMF_VIDEO_ENCODER_FRAMESIZE' errors HOT 3
- Capture with Unity & Sample SteamVR scene HOT 7
- How to setup a live stream HOT 6
- Is there a sample showing how to integrate the SDK into a native engine game that is using openGL? HOT 1
- Max 360 video resolution HOT 4
- 360 degree capture and Flipped projection HOT 4
- HDRP and image capture
- Will it support nvidia turing cards?
- What is the Wamedia?
- No actual control over video bitrate?
- UI disappeared from my captured movie
- OnRenderImage() possibly did not write anything to destination texture/Muxing issue 2.35
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 360-capture-sdk.