Skip to content

export error  #29

Open
Open
@abdallahrabiaa

Description

@abdallahrabiaa

i got an export error and i got it many times, i hope it's not a bug , i walk around in docs and i tried many times but sometimes it's rendered and sometimes give me this error: export error Promise timed out after 20000 ms

Screenshot-20241024234524-603x49
this my render code :

async render(name?: string, props?: {
resolution?: number;
sampleRate?: number;
numberOfChannels?: number;
videoBitrate?: number;
gpuBatchSize?: number;
fps?: number;
debug?: boolean;
audio?: boolean;
}) {
if (props && !props.gpuBatchSize) {
props.gpuBatchSize = 100;
}
const encoder = new Encoder(this.composition, props);
await encoder.render(name);
}

thanks :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions