CLI application to process recorded SVO files from ZED cameras.
- Florentin Thullier - 2021
-
Install or update node to 16 or greater if not already done.
-
Install the project :
$ npm install -g svo-processor
-
Install or update node to 16.x or greater if not already done.
-
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
- Install the project:
$ cd svo-processor/
$ npm i
- Run the program locally:
$ node ./bin/svo-processor.js
- 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:
$ 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]
This project is licensed under the MIT License - see the LICENSE file for details.