Skip to content

CLI application to process recorded SVO files from ZED cameras

License

Notifications You must be signed in to change notification settings

FlorentinTh/svo-processor

Repository files navigation

svo-processor

platform node license snyk build GitHub Release

CLI application to process recorded SVO files from ZED cameras.

Authors

Installation

Simple

  1. Install or update node to 16 or greater if not already done.

  2. Install the project :

$ npm install -g svo-processor

Manual

  1. Install or update node to 16.x or greater if not already done.

  2. Clone this repo:

$ git clone https://github.com/FlorentinTh/svo-processor.git

# or

$ git clone [email protected]:FlorentinTh/svo-processor.git

# or

$ gh repo clone FlorentinTh/svo-processor
  1. Install the project:
$ cd svo-processor/
$ npm i
  1. Run the program locally:
$ node ./bin/svo-processor.js
  1. Run the program globally:
$ npm run link

You should now have access to the svo-processor command from anywhere in your favorite terminal appication.

Usage

Usage:
        $ svo-processor <path> [options]

Options:
  -r, -R, --recursive  Recursively search for SVO files inside the provided
                       path.                          [boolean] [default: false]

  -o, -O, --output     Output path. It must be either a file or a folder. If the
                        output is a file, the input also require to be a path an
                       d the --convert-only flag must be set.
                                                       [string] [default: false]

  -p, -P, --process    Process to complete being either 'rgb', 'depth' or
                       'rgbd'.                        [string] [default: "rgbd"]

      --trim-only      Only trim a given file. Input must be a single MP4 file.
                                                      [boolean] [default: false]

   -b, -B, --begin     Trim a given number of seconds at the beginning. This
                       option may be use during the regular process and with
                       both --avi and --trim-only flags. However it will be
                       skipped when --convert-only flag is used.
                                                           [number] [default: 0]

  -e, -E, --end        Trim a given number of seconds at the end. This option
                       may be use during the regular process as well as with
                       both --avi and --trim-only flags. However it will be
                       skipped when --convert-only flag is used.
                                                           [number] [default: 0]

      --convert-only   Only convert SVO files into AVI format. The file
                       processing is skipped.         [boolean] [default: false]

      --avi            Search for existing AVI files to process instead of SVO
                       by default when input is a directory. The conversion is
                       skipped.                       [boolean] [default: false]

  -h, -H, --help       Show help.                                      [boolean]

  -v, -V, --version    Show version number.                            [boolean]

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

CLI application to process recorded SVO files from ZED cameras

Resources

License

Stars

Watchers

Forks

Packages

No packages published