8000 GitHub - vietlinhh02/record_RTSP_camera: This is a script that supports saving RTSP cameras and uploading to Cloud
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

vietlinhh02/record_RTSP_camera

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

record_RTSP_camera

This is a script that supports saving RTSP cameras and uploading to Cloud (Google Drive, OneDrive, Dropbox....)

Yêu cầu:

  • Sử dụng VPS linux, trong hướng dẫn sử dụng Centos 7
  • Mở port Camera và có link RTSP kèm tài khoản mật khẩu
  • Có tài khoản Cloud

Mô tả:

  • Script sẽ lưu video từ link RTSP và lưu vào VPS, mỗi 1h sẽ tạo ra 1 file khác nhau trong thư mục /etc/record/<ngày tháng năm>
  • Đến 0h Script sẽ sử dụng Rclone để sync lên Cloud, sau đó chờ 1h đồng hồ và xóa file + thư mục cũ

Thực hiện:

  1. Login vps, tại đây mình sử dụng bitvise SSH để dễ theo dõi
  2. Thực hiện câu lệnh và sẽ tự động cấu hình các package
    curl -L https://raw.githubusercontent.com/duchoa23/record_RTSP_camera/main/setup.sh | sudo bash
  3. Sau khi chạy xong, cấu hình Rclone theo hướng dẫn tại https://rclone.org/docs/. Trong script trên mình đang để tên Rclone là cam và thư mục trên Cloud sẽ là Camera
  4. Edit 2 file rclone.shrecord.sh trong thư mục /etc/record theo cấu hình RTSP camera và rclone để khởi chạy.

About

This is a script that supports saving RTSP cameras and uploading to Cloud

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%
0