04-28-2015 06:49 PM
Hi all,
The function is involved in a IoE(Internet of Everything) project for customer.
A. The action of 'start to record': will be triggered by event, such as when a sensor has detected some smoke in one room. The platform will activate camera by sending telnet/https command.
B. The action of 'Stop to record and Save': will be used based on duration: After recording for 5 mins, the camera will stop to record and save video into local disk automatically.
Of course, if VSOM is needed, that will be OK! The question will be: How to start/stop camera recording by VSOM API(http/telnet.)?
Thanks!
Ziwei
Solved! Go to Solution.
11-09-2015 05:19 AM
Sounds like you are looking to use 'Soft Trigger' Advanced Events (Look these up in the VSOM User Guide for more detail).
You can have VSOM create unique URLs that, when posted to the system, can trigger certain actions for one or more cameras.
Cheers!
11-04-2015 06:54 AM
Hi,
Did you solve your problem?
11-09-2015 06:22 PM
Hello,
I solved this by VLC player to access rtsp stream. There are rtsp command to start recording and save it.
1. start to record in archive mode:
cd "C:\Smoke\File"
for /f %%x in ('wmic path win32_localtime get /format:list ^| findstr "="') do set %%x
set date=%Year%-%Month%-%Day%-%Hour%-%Minute%
echo %date%
CALL "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv "rtsp://10.74.93.104/StreamingSetting?version=1.0&action=getRTSPStream&sessionID=80246289&ChannelID=1&ChannelName=Channel1" --sout=#transcode{}:standard{access="file",mux="mp4",dst="..\\File\\Recording\\%date%.mp4"} --run-time=0 --stop-time=60
2. kill vlc.exe and the video could be saved:
timeout /t 5
taskkill /im vlc.exe
Thanks,
Ziwei
11-10-2015 05:47 AM
That's some pretty fancy CLI use of VLC you have there! How have you been handling the sessionID changes whenever the authentication to the camera needs to be re-established?
Also, while it looks like you have something that works for you already, I have to recommend you take a look at the VSM API and SDK if you want some real power with your integration projects.
Cheers!
11-09-2015 05:19 AM
Sounds like you are looking to use 'Soft Trigger' Advanced Events (Look these up in the VSOM User Guide for more detail).
You can have VSOM create unique URLs that, when posted to the system, can trigger certain actions for one or more cameras.
Cheers!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide