Exporting a video file to FTP
CompletedI understand i am asking a lot here…. however, my client requires a minute of footage sent periodically every hour to an FTP server, so that they can analyze it with their own AI software. These sites are remote and have a 4G connection. I know you can send pictures directly from most cameras for time-lapse, but videos aren't really supported. Is there any way that NX (via SDK, or rules, or the API) can do this?
-
Hi Matt,
Thanks for your questions. Could you please elaborate in a bit more detail on what your clients are trying to achieve? The current description seems somewhat unclear to us.
- There are APIs available for downloading footage — these have been supported for quite some time since Nx Witness was introduced.
- I’m not sure about the relationship between the one-minute video and the timelapse — are they planning to use the timelapse video for analysis, or do they require the original footage?
- Could you clarify what you mean by “videos are not really supported”? Which part isn’t supported, and what functionality are you expecting?
- Could you please confirm whether they are actually using FTP? Also, please describe the role of FTP in this user scenario — are they planning to record directly to the FTP server, or simply upload files to it?
At this stage, we kindly suggest that instead of listing individual items, it would be more helpful if you could provide the specific use cases and user scenarios in detail.
This will allow us to better understand what might be missing and identify the final requirements more accurately.
Thanks for your understanding.
0 -
Hey Ichiro.
My apologies, I’ll explain exactly what we're trying to do in this scenario.
We are looking to use a camera, running NX on the edge to monitor river systems for flow rate and water level. These cameras will be installed in remote locations and help to provide early stage flood warning as well as statistics for water catchments. What our clients require is a one minute video clip to be exported every hour to their FTP server, so they can use their own in house AI to model these statistics (this is why the video is crucial).
When I mention “not really supported”, I reference that all the cameras I have looked into for this issue (Hikvision, Dahua, Hanwha, Axis) won’t directly export videos to FTP, only Timelapse photos. These videos have to be 1080p 25-30 frames minimum. This is why I am looking into running NX on the edge, as it has far more capability then the cameras web interface.
In summary, what I’m trying to find out is:-Can NX export a video clip to an FTP server.
-if so, can this be automated on a schedule to repeat every hour, indefinitely.
0 -
Hi Matt Liversidge,
Sounds like a cool project!
The VMS cannot upload data to an FTP server automatically, however, with a small script you can download the desired files, and upload them to a FTP servers, either with the same script or applications like Rsync, Synchting, etc.
If you want to automate it, you can use a cronjob or Windows task scheduler depending on you operating system.Here a small script for inspiration purposes used to download clips from the Nx Witness VMS: LINK
0
Please sign in to leave a comment.
Comments
3 comments