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. 16
      README.md

16
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,
}
```
@ -245,4 +245,4 @@ Loads a GLSL shader. See [gl.json5](https://github.com/mifi/editly/blob/master/e
- https://github.com/h2non/videoshow
- https://github.com/transitive-bullshit/ffmpeg-concat
- https://github.com/sjfricke/awesome-webgl
- https://www.mltframework.org/docs/melt/
- https://www.mltframework.org/docs/melt/
Loading…
Cancel
Save