render-pipeline-client
Installation in other applications
Add it to your application's package.json.
With yarn:
yarn add render-pipeline-client
With npm:
npm install render-pipeline-client
Use the client:
import { clip, video, renderVideo } from 'render-pipeline-client';
const exampleFn = async () => {
const myVid = video({ uri: ".../hi.mp4" });
const clippedVid = clip(myVid, { start: 10_000000, end: 30_000_000 });
const renderedVid = await renderVideo(clippedVid, ...);
console.log('rendered', renderedVid);
};
See the tests or playground for more examples.
Local Setup
We assume you'll have already gone through wistia-setup.
asdf install
yarn install
Auto-build and manual testing
This will auto-compile any changes you make. You can test them manually at https://render-pipeline-client.wistia.io/test/manual/.
./run