Node / Video Ffmpeg · guide
Transitions, stabilize & batch
Current Apexify.js 6.0.0 documentation for Transitions, stabilize & batch.
addTransition
Single-clip fade (**no **secondVideo****)
type: 'fade' only.
direction | Effect |
|---|---|
out | Fade out from start (t=out). |
| Other / omit | Fade in from black (t=in). |
SOURCEtypescript
typescript
Between two videos (xfade)
Requires secondVideo. Videos scaled to max width × max height, then xfade placed so transition spans last duration seconds of source.
type maps to xfade transition names; direction refines wipe/slide/zoom variants (see advanced topic).
SOURCEtypescript
typescript
stabilize
What it does: Two-pass vidstab when FFmpeg supports it (vidstabdetect → vidstabtransform).
| Field | Default | Effect |
|---|---|---|
smoothing | 10 | Higher → smoother but more crop/wobble compensation feel. |
outputPath | ✓ |
If vidstab fails, falls back to hqdn3d spatial/temporal smoothing (not true mechanical stabilisation).
SOURCEtypescript
typescript
batch
See Compositing — same caveats (**output paths inside each **operations****).