Sep 16, 2017 Replies: 7 A simple example of working with Synology Surveillance API added possibility work with https: 1 take a sid for current session 2 check all available cameras 3 make shots from each camera to file TODO One of mine camera work on rtsp with H.264 video snapshot file started from Code: ���� Lavc56.60.100 Any suggestion of easy way to transfer it to jpg or png Attachments SYNO_API.zip SYNO_API.zip 9.7 KB · Views: 614 Click to expand...
A simple example of working with Synology Surveillance API added possibility work with https: 1 take a sid for current session 2 check all available cameras 3 make shots from each camera to file TODO One of mine camera work on rtsp with H.264 video snapshot file started from Code: ���� Lavc56.60.100 Any suggestion of easy way to transfer it to jpg or png
OliverA Expert Licensed User Longtime User Sep 16, 2017 #2 Is it actually producing proper JPEGs? I would think that Code: Dim tfile As Long= DateTime.Now File.WriteString(File.DirApp, tfile&".jpg", j.GetString) would corrupt the JPEG, since j.GetString returns a string, not binary data, and File.WriteString writes a string. That actually works?
Is it actually producing proper JPEGs? I would think that Code: Dim tfile As Long= DateTime.Now File.WriteString(File.DirApp, tfile&".jpg", j.GetString) would corrupt the JPEG, since j.GetString returns a string, not binary data, and File.WriteString writes a string. That actually works?
DonManfred Expert Licensed User Longtime User Sep 16, 2017 #3 OliverA said: That actually works? Click to expand... I don´t think so
M Molchyn Member Licensed User Longtime User Sep 17, 2017 #4 OliverA said: That actually works? Click to expand... DonManfred said: I don´t think so Click to expand... it's return stream snapshots one camera JFIF format and next H264 samples attached in file BR Attachments CamStream.zip CamStream.zip 67.5 KB · Views: 602 Last edited: Sep 17, 2017
OliverA said: That actually works? Click to expand... DonManfred said: I don´t think so Click to expand... it's return stream snapshots one camera JFIF format and next H264 samples attached in file BR
OliverA Expert Licensed User Longtime User Sep 17, 2017 #5 Looks like the *21.jpg file contains the H264 capture and the *03.jpg file contains the JFIF format. Neither open properly for me. Do they for you?
Looks like the *21.jpg file contains the H264 capture and the *03.jpg file contains the JFIF format. Neither open properly for me. Do they for you?
M Molchyn Member Licensed User Longtime User Sep 18, 2017 #6 OliverA said: Neither open properly for me Click to expand... Yes for me too. But then I change from string to stream it's work like charm BR
OliverA said: Neither open properly for me Click to expand... Yes for me too. But then I change from string to stream it's work like charm BR
imbault Well-Known Member Licensed User Longtime User Sep 18, 2017 #7 Very interesting topic, @Molchyn , which model is your camera? is it connected on a Synology NAS?
M Molchyn Member Licensed User Longtime User Sep 19, 2017 #8 imbault said: which model is your camera Click to expand... Xiaomi xiaofang with fang-hack H264 protocol Foscam MJPEG BR
imbault said: which model is your camera Click to expand... Xiaomi xiaofang with fang-hack H264 protocol Foscam MJPEG BR