Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI interface #27

Closed
AdrianEddy opened this issue Feb 3, 2022 · 1 comment
Closed

CLI interface #27

AdrianEddy opened this issue Feb 3, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@AdrianEddy
Copy link
Collaborator

No description provided.

@AdrianEddy AdrianEddy added the enhancement New feature or request label Feb 3, 2022
@ElvinC ElvinC mentioned this issue Mar 4, 2022
1 task
@AdrianEddy AdrianEddy modified the milestone: 1.2.0 Jun 8, 2022
@AdrianEddy
Copy link
Collaborator Author

AdrianEddy commented Sep 1, 2022

Done in 3c4219d and 1ff6506
Available in latest dev build: https://gyroflow.xyz/devbuild/?autodownload

Usage: Gyroflow.exe [<input...>] [-f] [-j <parallel-renders>] [-d <when-done>] [-p <out-params>] [--export-project <export-project>] [--preset <preset>] [--open <open>] [--watch <watch>] [-g <gyro-file>]

Gyroflow v1.2.0
Video stabilization using gyroscope data

Positional Arguments:
  input             input files: videos, project files, lens profiles, presets

Options:
  -f, --overwrite   overwrite if output file exists, default: false
  -j, --parallel-renders
                    number of parallel renders, default: 1
  -d, --when-done   when done: 1 - shut down; 2 - reboot; 3 - sleep; 4 -
                    hibernate; 5 - logout
  -p, --out-params  output parameters, eg. "{ 'codec': 'H.265/HEVC', 'bitrate':
                    150, 'use_gpu': true, 'audio': true }"
  --export-project  export project file instead of rendering: 1 - default
                    project, 2 - with gyro data, 3 - with processed gyro data
  --preset          preset (file or content directly), eg. "{ 'version': 2,
                    'stabilization': { 'fov': 1.5 } }"
  --open            open file in the GUI (video or project)
  --watch           watch folder for automated processing
  -g, --gyro-file   gyro file path
  --help            display usage information

Basically provide video or project file, and optionally you can specify lens profile file and/or preset file. It supports rendering multiple files in a single call.

Watch folder example:
Gyroflow.exe --watch "C:/test_folder/" --preset "C:/test_preset.gyroflow"
or eg.
Gyroflow.exe --watch "C:/test_folder/" --preset "{ 'version': 2, 'stabilization': { 'fov': 1.5 }, 'output': { 'codec': 'H.264/AVC', 'bitrate': 100 } }"

If any functionality is missing, let me know your use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant