FTP action in Nx Witness
NewDear Community, and Nx employees,
For a big projet I need to send video file to FTP on event : when analitycs event is detected I send video file to monitoring center.
I need to be able to setup a pre-record and post-record, something pretty similar to what we got on device record action.
And for sure I must find a way to setup IP, user an dPWD for this FTP action.
Any idea on how to perform it in Nx ? Using third party software ?
Bye
-
Only way I know how to do that now is to make an API request back to the server for the video chunk desired. I think one of the issues that I had is that until the .mkv chunk is fully written to disk (ie, not still in buffer, about 70 seconds), it is inconsistent, so I delay the request a bit. I am currently working on a web app that accepts an FTP image upload directly from the camera (line cross, Alarm input, etc) and then makes a request back to the local Nx server for a predefined length video chunk beginning +/- the timestamp of the ftp snapshot. It works fairly well. I think I tried sending an HTTP request to my web server but had trouble including things like CamID or timestamp. It has been a while, I’d have to review my notes and take a look at the new release V5 to see if anything has changed. At this time I am not aware of any way for Nx to send anything FTP, but would be cool if it did. But there are workarounds, albeit not simple.
Please sign in to leave a comment.
Comments
2 comments