We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dbb813 commit 7a8b6efCopy full SHA for 7a8b6ef
apps/website/docs/getting-started/usage.md
@@ -161,7 +161,7 @@ function() {
161
await fetchFile('/video/video-15s.avi')
162
);
163
// The exec should stop after 1 second.
164
- await ffmpeg.exec(['-i', 'input.avi', 'output.mp4'], 1);
+ await ffmpeg.exec(['-i', 'input.avi', 'output.mp4'], 1000);
165
const data = await ffmpeg.readFile('output.mp4');
166
videoRef.current.src =
167
URL.createObjectURL(new Blob([data.buffer], {type: 'video/mp4'}));
0 commit comments