Files
We support three ways of inputting a file for processing, you can give us a:
- HTML File Object (Ideally use this when in the browser)
- String containing the path to the file (Only available in Node.js environments)
- A
ModfyFile
, basically a Buffer containing the bytes of the video passed in as an object like this:{ name:string, buffer: Buffer }
caution
All InputFiles
must be of the same type, you can't mix and match types (yet ๐).