videory
Version:
CLI for transcoding videos
26 lines (21 loc) • 867 B
Markdown
# Videory
> transcode all videos in a directory
#Environment Variables
Variable|Description|Possible Values
---|---|---
LOG_DEBUG|Enable logger messages|`videory:*`
# Arguments
- `-i`, `--in` - Input directory transcode videos from
- `-o`, `--out` - Output directory to transcode videos to
- `-a`, `--allow-versions` - Create file versions if output files already exists
- `-m`, `--memory` - Use in-memory database instead of a filesystem file
- `-w`, `--watch` - Do not exit after initial run and watch input directory for changes
#Errors
|ErrNo|Description|
|---|---|
|1|Couldn't initialize database|
|2|Failed while initial files query|
|3|Error while watching directory for changes|
# Todo:
- cli interface for input output https://www.npmjs.com/package/inquirer o https://www.npmjs.com/package/prompts
- silent flag (with env requirements for input output)