We are using Nimble to display live stream and also the recorded DVR stream.
We are recording the streams for 7 days.
Now we are trying to export some important events that happened during this 7 days to an specific path, so that allow us to have those important segments for more then 7 days reducing the used storage.
My questions are:
- Is there a way in the Api to specific a different path for those exported segments, or we'll have to use server tasks to make this happen?
- Talking about players, is there a way to use a single mp4 frame as the timeline snapshot? Just like youtube does when you mouse-over the timeline and it displays a small snapshot of that moment?
If you mean /manage/dvr/export_mp4/ Nimble API for exporting MP4 files - Nimble just sends file to requested client and it does not control the path the file will be saved to, it should be controlled by the tool (e.g. wget/curl/etc) downloading the file.
Nimble supports providing thumbnails to display in a timeline (https://blog.wmspanel.com/2018/12/jpeg-thumbnails-nimble-streamer-dvr.html and https://blog.wmspanel.com/2018/11/dvr-thumbnails-nimble-streamer.html ) but it does not specify how players will use it, please refer to specific player's documentation for that.
About the export_mp4, I need to choose a different folder to store the mp4 segments. Do you think that it's possible to use Server Side Tasks to export using ffmpeg? If so, is it possible to pass parameters to server side tasks when calling it?
To pass custom parameters to the Server Side Tasks please use scripting and the following WMSPanel API method.
As far as I know, the latest versions of curl can create a directory to save to or to choose a directory on the same Nimble server as the task runs.
I guess it is better to use export_mp4 to avoid FFmpeg errors, but if you have a steady working FFmpeg line to export DVR, please use it.
and required to achieve the purposes illustrated in the
If you want to know more or withdraw your consent to all or some of the cookies, please
refer to the