Stabilize a shaky video using a two-pass vidstab process. Pass 1: analyse motion → write to a temporary .trf file. Pass 2: apply stabilization transforms.
await stabilizeVideo({ input: 'shaky.mp4', output: 'stable.mp4', smoothing: 15 }); Copy
await stabilizeVideo({ input: 'shaky.mp4', output: 'stable.mp4', smoothing: 15 });
Stabilize a shaky video using a two-pass vidstab process. Pass 1: analyse motion → write to a temporary .trf file. Pass 2: apply stabilization transforms.