api.natsuite.ncpx

Performance extensions for video recording in Unity Engine.

Showing:

Popularity

Downloads/wk

369

GitHub Stars

10

Maintenance

Last Commit

14d ago

Contributors

1

Package

Dependencies

2

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

NatCorder Performance Extensions

Performance extensions for video recording in Unity Engine.

Setup Instructions

To install the library, add the following to your project's manifest.json file in the Packages folder:

{
  "scopedRegistries": [
    {
      "name": "NatSuite Framework",
      "url": "https://registry.npmjs.com",
      "scopes": ["api.natsuite"]
    }
  ],
  "dependencies": {
    "api.natsuite.ncpx": "0.0.2"
  }
}

High Performance Recording

NCPX provides highly optimized recorder inputs that offer inexpensive pixel buffer readbacks from Texture objects, and simultaneously offer multithreaded recording.

They can be used independently, or attached to a CameraInput when recording game cameras:

// Create recorder and recording clock
var recorder = ...;
var clock = ...;
// Create a camera input
var cameraInput = new CameraInput(recorder, clock, cameras);
// Attach optimized texture input from NCPX to the camera input
cameraInput.textureInput = new GLESTextureInput(recorder, multithreading: true);

NCPX provides GLESTextureInput for OpenGL ES3 on Android.

Watermark Recording

INCOMPLETE

Cropped Recording

INCOMPLETE

Recording to a Specific File

INCOMPLETE


Requirements

  • Unity 2019.2+
  • NatCorder 1.8.0+

Resources

Thank you very much!

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100