How to export video with timestamp and text overlay via api or sdk?
AnsweredDear Support Team:
We have project need to customize the client application by using api or sdk.
There are some features for customize client as below:
1.The site name and timestamp need to text overlay on live video.
I find some information on community that seem to create rule via api.Is correct?
2.The site name and timestamp need to text overlay on recording video.(refer pic)
I saw the NX client own this feature in export function.But i can not find any api or sdk about this.Could you provide information for reference?If none ! Is possible call NX client's export function to make it ?
Best regards
Ryan Chu
-
Hi Ryan,
Those are client function not the server side function. So it is not doable via server API. At the moment. we don't have the related client API for user to manipulate the exported video.
As an alternative one, you may use the server API to download the source video footage and then post-product it by yourself. This could be a possible way.
-
Dear Ichiro:
Thanks for your reply! I found some information on NX blog.
https://www.networkoptix.com/blog/nx-desktop-open-source
Is possible make export with text overlay feature via NX desktop open source?
Best regards
Ryan Chu
-
Hi Ryan Chu,
Thanks for your survey. Please allow us to explain the detail again.
- Image/Text/Timestamp overlay is a client side function, so the server APIs won't be able to achieve this request.
- The client has already been able to do this function, so there is no need to use open source package to implement this same function.
- At the moment, we don't have client API, meaning that you might not be able to use client function now without desktop client. It is necessary to do this operation on Nx Desktop Client.
As a result, we kindly suggest you to "Post-Produce" the video downloaded from the server, so you are free to manipulated the video according to your preference. i.e. :
1. Using Nx Server API to download the video.
2. Using your own middleware or tools to put image/text/timestamp on the video. (Outside Nx, your own tool, developed by yourself/your team)
3. Save the result which was made in Step2, and export to your own path.This is the solution we suggested now, as the client API has not yet been available at the moment.
Thanks for your understanding.
Please sign in to leave a comment.
Comments
3 comments