Giter Club home page Giter Club logo

ipcamsd's Introduction

ipcamsd

npm npm License

Node.js command line tool and library for downloading, merging and converting record files of IP cameras.

Installation

$ npm install -g ipcamsd

Usage

General Options

Options:
  --version                 output the version number
  --host <host...>          host of ip camera (multiple: true, required)
  --firmware <firmware...>  firmware of ip camera (multiple: true, default: hi3510)
  --username <username...>  username of ip camera (multiple: true)
  --password <password...>  password of ip camera (multiple: true)
  --ssl <ssl...>            use secure socket layer (multiple: true, default: false)
  --help                    display help for command

Firmwares

  • hi3510 (default)
  • reolink

Commands

Use ipcamsd-cmd-generator to generate commands for ipcamsd.

fetch

Transfers and converts records of the specified parameters. This is the default command.

$ ipcamsd (fetch) --start-date [YYYYMMDD|today|yesterday] --video-filter "setpts=PTS/2" --host [IP...] --username [...] --password [...]

Note: -c copy is applied to stream if array of video filter is empty. This also achieves the best speed. Add the setpts video filter with PTS/30 to increase video speed up to 30x. Visit documentation of FFmpeg to get more information about conceivable video filter parameters.

Exact time limitation is currently not implemented due to the motion detection of the cameras.

Options:
  --start-date <yyyymmdd|today|yesterday>  start date of records
  --end-date <yyyymmdd|today|yesterday>    end date of records
  --start-time <hhmmss>                    start time of records
  --end-time <hhmmss>                      end time of records
  --separate-by-date                       separate by date (default: false)
  --last-minutes <number>                  last minutes of records till now (start time skipped)
  --start-delay <number>                   start delay in minutes
  --target-directory <dir>                 target directory for converted files
  --target-file-type <type>                target file type used by ffmpeg for conversion
  --filename-prefix <prefix>               output filename prefix
  --video-filter <filter>                  video filter in ffmpeg required format (default: [])

list

Outputs dates and (first, last) records of specified hosts.

$ ipcamsd list --host [IP...] --username [...] --password [...]

Note: The listing of Reolink recordings is currently not supported due to the API restrictions.

Compatibility

  • bedee WLAN IP Camera 1080p (IR, Outdoor, hi3510 firmware)
  • Reolink 5MP PoE RLC-510A/B
  • Reolink Video Doorbell PoE/WiFi

Requirements

License

This project is licensed under MIT.

ipcamsd's People

Contributors

aoephtua avatar dependabot[bot] avatar

Stargazers

George Hertz avatar bbcuongnv avatar  avatar Fabian Wolf avatar

Watchers

George Hertz avatar

Forkers

bb-cuongnv

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.