라즈베리파이 에서 Surveillance Station 연결하기
항상 그렇듯이 끝까지 하다보면 되게끔 되어 있다.
아래의 방법으로 설정하면 라즈베리파이 카메라 모듈 3에서 RTSP -> NAS로 영상 데이터를 저장 할 수 있다.
1. 카메라 구동
rpicam-vid -t 0 –inline –libav-format mpegts –width 1280 –height 720 –framerate 30 -o – | cvlc stream:///dev/stdin –sout ‘#rtp{sdp=rtsp://:8554/}’

2. Surveillance Station config 추가
cd /volume1/@appstore/SurveillanceStation/device_pack/camera_support
# camera_model.conf 파일 생성
[camera*list]
RaspberryPi*PiCam=RaspberryPi*generic
[camera*list]
RaspberryPi*PiCam=RaspberryPi*generic
RaspberryPi*PiCam2=RaspberryPi*generic
[RaspberryPi*generic]
port=8554
video source="/"
# RaspberryPi.conf 파일 생성
[RaspberryPi*PiCam]
api = rasbpicam-h264
channel_list = 1
default_channel = 1
resolutions_h264 = 1280x720
default_resolution_h264 = 1280x720
fps_h264_1280_720 = 10
default_fps_h264_1280_720 = 10
default_image_quality = 5
h264 = rtsp
rtsp_protocol = udp
3. Surveillance Station 카메라 추가
IP주소에 라즈베리파이 IP주소를 넣어 주세요.


정상적으로 실시간 영상이 NAS서버에 저장되는 것을 확인할 수 있었습니다.