Skip to content

Commit 3c707c6

Browse files
authored
Merge pull request #28 from IliasHad/master
Remove data from path file in run script
2 parents 12054e2 + 32b713d commit 3c707c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,13 +220,13 @@ Worker.run() is similar to FFmpeg cli tool, aims to provide maximum flexiblity f
220220

221221
**Arguments:**
222222

223-
- `args` a string to represent arguments, note: inputPath must start with `/data/` as worker.write write to this path by default.
223+
- `args` a string to represent arguments
224224
- `jobId` check Worker.load()
225225

226226
**Examples:**
227227

228228
```javascript
229229
(async () => {
230-
await worker.run("-i /data/flame.avi -s 1920x1080 output.mp4");
230+
await worker.run("-i flame.avi -s 1920x1080 output.mp4");
231231
})();
232232
```

0 commit comments

Comments
 (0)