renderer-Mp4Input
Mp4Input
type Mp4Input = {
url?: string;
path?: string;
loop?: bool;
required?: bool;
offset_ms?: f64;
}
Input stream from MP4 file.
Exactly one of url
and path
has to be defined.
Properties
url
- URL of the MP4 file.path
- Path to the MP4 file.loop
- (default=false
) If input should be played in the loop. Added in v0.4.0required
- (default=false
) If input is required and frames are not processed on time, then LiveCompositor will delay producing output frames.offset_ms
- Offset in milliseconds relative to the pipeline start (start request). If offset is not defined then stream is synchronized based on the first frames delivery time.