Everyframe · TypeScript SDK reference
source: synthetic sources
Generated inputs that start a new stream without a file: blank canvases, test patterns, tones and noise.
@jtdigital/renderbox-sdk on npm →aevalsrc
FFmpeg
Audio
graph().aevalsrc(): AudioStreamGenerate audio from a per-sample expression
amovie
FFmpeg
Audio
graph().amovie(opts: AmovieOpts): AudioStreamRead audio from a media file
| Param | Type | Description |
|---|---|---|
| filename required | string | |
| seek_point | number | |
| streams | string | |
| loop | number |
anoisesrc
FFmpeg
Audio
graph().anoisesrc(opts?: AnoisesrcOpts): AudioStreamGenerate a noise signal (white/pink/brown)
| Param | Type | Description |
|---|---|---|
| d | number | |
| c | 'white' | 'pink' | 'brown' | 'blue' | 'violet' | 'velvet' | |
| a | number |
Range: [0, 1]
|
anullsrc
FFmpeg
Audio
graph().anullsrc(opts?: AnullsrcOpts): AudioStreamGenerate silent audio
| Param | Type | Description |
|---|---|---|
| d | number |
blank
FFmpeg
Video
graph().blank(opts?: BlankOpts): VideoStreamGenerate solid-color video canvas
| Param | Type | Description |
|---|---|---|
| width | number | |
| height | number | |
| duration | number | |
| color | string |
movie
FFmpeg
Video
graph().movie(opts: MovieOpts): VideoStreamRead video from a media file
| Param | Type | Description |
|---|---|---|
| filename required | string | |
| seek_point | number | |
| streams | string | |
| loop | number |
sine
FFmpeg
Audio
graph().sine(opts?: SineOpts): AudioStreamGenerate sine wave audio
| Param | Type | Description |
|---|---|---|
| frequency | number | |
| duration | number |
testPattern
FFmpeg
Video
graph().testPattern(opts?: TestPatternOpts): VideoStreamGenerate test pattern video source
| Param | Type | Description |
|---|---|---|
| width | number | |
| height | number | |
| duration | number |