You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Worker.concatDemuxer() concatenates multiple videos using concatDemuxer. This method won't encode the videos again. But it has its limitations. See [Concat demuxer Wiki](https://trac.ffmpeg.org/wiki/Concatenate)
188
189
@@ -191,7 +192,6 @@ Worker.concatDemuxer() concatenates multiple videos using concatDemuxer. This me
191
192
-`input` input file paths as an Array, the input files should be written through Worker.write()
192
193
-`output` output file path, can be read with Worker.read() later
193
194
-`options` a string to add extra arguments to ffmpeg
194
-
-`del` a boolean to determine whether to delete input file after the task is done, default: true
195
195
-`jobId` check Worker.load()
196
196
197
197
**Examples:**
@@ -204,26 +204,19 @@ Worker.concatDemuxer() concatenates multiple videos using concatDemuxer. This me
204
204
205
205
<aname="worker-run"></a>
206
206
207
-
### Worker.run(args, options, jobId): Promise
207
+
### Worker.run(args, jobId): Promise
208
208
209
209
Worker.run() is similar to FFmpeg cli tool, aims to provide maximum flexiblity for users.
210
210
211
211
**Arguments:**
212
212
213
213
-`args` a string to represent arguments, note: inputPath must start with `/data/` as worker.write write to this path by default.
214
-
-`options` a object to define the value for input, output and del.
215
-
-`input` a string or an array of strings to indicate input files, ffmpeg.js deletes these files for you.
216
-
-`output` a string or an array of strings to indicate output files, ffmpeg.js moves these files to `/data`, deletes them from MEMFS and you can read them with Worker.read()
217
-
-`del` a boolean to determine whether to delete input file after the task is done, default: true
0 commit comments