Browse Source

Merge pull request #22 from petetnt/patch-1

Fix minor issues with editSpec documentation
pull/26/head
Mikael Finstad 6 years ago
committed by GitHub
parent
commit
4a6d5939d1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      README.md

14
README.md

@ -91,7 +91,7 @@ await editly(editSpec)
## Edit spec
Edit specs are Javascript / JSON ojects describing the whole edit operation with the following structure:
Edit specs are Javascript / JSON objects describing the whole edit operation with the following structure:
```js
{
@ -100,10 +100,10 @@ Edit specs are Javascript / JSON ojects describing the whole edit operation with
height,
fps,
defaults: {
duration = 4,
duration: 4,
transition: {
duration = 0.5,
name = 'random',
duration: 0.5,
name: 'random',
},
layer: {
fontPath,
@ -127,9 +127,9 @@ Edit specs are Javascript / JSON ojects describing the whole edit operation with
],
// Testing options:
enableFfmpegLog = false,
verbose = false,
fast = false,
enableFfmpegLog: false,
verbose: false,
fast: false,
}
```

Loading…
Cancel
Save