This Unity Plugin employs a HEVC decoder that has been developed by Spin Digital Video Technologies GmbH. The Spin Digital HEVC decoder library (spinlib_rms.dll) is provided as free-of-charge evaluation license and is deployed using a cloud-based lease license. The actual license is deployed on the cloud license server, and the local target system leases a license from the license server by license synchronization. The synchronized local license can be used offline for a maximumm of 30 days without an internet connection.
For the first use, a license initialization is required. Afterward, the license will be automatically synchronized every time the spinlib_rms.dll library is loaded and every hour during the runtime.
The license initialization and synchronization requires an internet connection.
For testing purposes, an evaluation (demo) license
- Entitilement ID: 06d5698c-122f-43bf-877a-afb9086872d3
- Customer ID: 4605c9f6-0fa8-40be-b9f3-016048c70f2b
is provided free-of-charge but with some restrictions on the supported features:
- Max. decoding resolution: 8192×8192 pixels
- Chroma format and bit-depth: 4:2:0, 10-bit
- Watermark (Spin Digital logo) on the decoded pictures
To initialize the license, you will need:
- The entitlement information of the demo license.
- A base license file lservrc provided in the repository. It will be later updated in order to store the actual license information used by the Spin Digital HEVC decoder library.
- The Spin Digital license tool spinlicensetool_rms.exe
The instructions for initializing the license are provided below:
-
Make sure that the lservrc file and the spinlicensetool_rms.exe are placed in the same folder where spinlib_rms.dll is located.
-
Open the Windows PowerShell or Command Prompt with the Administrator Privileges
-
Go the directory of lservrc and the spinlicensetool_rms.exe and execute the following command:
.\spinlicensetool_rms.exe --init --lease sync --eid 06d5698c-122f-43bf-877a-afb9086872d3 --customer 4605c9f6-0fa8-40be-b9f3-016048c70f2b
This command will create a configuration file sntlcloudp_configuration_spindigitalvideotechnologiesgmbh.xml and update the lservrc file with the actual license information.
-
Now you would be able to use the HEVC decoder within the Unity plugin.
Note:
- Please keep the configuration file sntlcloudp_configuration_spindigitalvideotechnologiesgmbh.xml and lservrc in the same folder as the spinlib_rms.dll, so the license synchronization can be performed automatically for future use.
Usually, manual license synchronization is not needed as the license synchronization is performed automatically after license initialization. However, a force license synchronization can be performed manually if any license issues occur:
-
Make sure the sntlcloudp_configuration_spindigitalvideotechnologiesgmbh.xml, lservrc and spinlicensetool_rms.exe are in the same folder.
-
Open the Windows PowerShell or Command Prompt
-
Go to the directory where the spinlicensetool_rms.exe is located, and run following command:
.\spinlicensetool_rms.exe --lease sync
This command will synchronize the license and update license in the lservrc file.
Note:
- Administrator Privileges are not required for license synchronization.
To upgrade the evaluation license to a commercial and end-user license you will need to acquire a license from Spin Digital. Please contact the Spin Digital team (unity3d@spin-digital.com) for more information.