瀏覽代碼

update docs

master
Jonathan Cobb 3 年之前
父節點
當前提交
e8d34f420c
共有 1 個檔案被更改,包括 10 行新增2 行删除
  1. +10
    -2
      docs/running.md

+ 10
- 2
docs/running.md 查看文件

@@ -4,16 +4,24 @@
The `jvc` script (in the `bin` directory) is the primary way to transform video
assets with JVC.

It is the swiss army knife that reads a spec file and can perform any number of
operations on any number of assets.

## Operation-specific scripts
There are other scripts in [`bin`](../bin) that perform a single operation using
command-line arguments. If you need to do a quick operation and don't want to write
a JVC spec, use one of [these tools](../bin).
command-line arguments, without requiring you to write a spec file.

If you need to do a quick operation and don't feel like writing up a quick JSON
spec file, use one of [these tools](../bin).

For example, to extract the first 5 seconds of a video:
```shell script
jtrim /tmp/input-file.mp4 /tmp/output-5s.mp4 0 5
```

There is a command-line tool for every operation except for `overlay` and
`ken-burns`, which are more complex. Pull requests welcome.

## Help
All commands accept a `-h` / `--help` option, this will print information about
how to use the command, and what arguments it takes.


Loading…
取消
儲存