Skip to content

Commit 7a8b6ef

Browse files
committed
Fix one second issue
1 parent 2dbb813 commit 7a8b6ef

File tree

1 file changed

+1
-1
lines changed
  • apps/website/docs/getting-started

1 file changed

+1
-1
lines changed

apps/website/docs/getting-started/usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ function() {
161161
await fetchFile('/video/video-15s.avi')
162162
);
163163
// The exec should stop after 1 second.
164-
await ffmpeg.exec(['-i', 'input.avi', 'output.mp4'], 1);
164+
await ffmpeg.exec(['-i', 'input.avi', 'output.mp4'], 1000);
165165
const data = await ffmpeg.readFile('output.mp4');
166166
videoRef.current.src =
167167
URL.createObjectURL(new Blob([data.buffer], {type: 'video/mp4'}));

0 commit comments

Comments
 (0)