redotvideo / revideo

Create Videos with Code
https://re.video
MIT License
2.58k stars 87 forks source link

timeout error when rendering #314

Open gabrielgrant opened 1 month ago

gabrielgrant commented 1 month ago

Simple video (1 audio clip; 1 image) Video appears fine in the player. Rendering times out and throws an error:

$ npm run render

> syl-col-interlude@0.0.0 render
> tsc && node dist/render.js

Rendering video...
/home/gabriel/repos/syl-col-interlude/node_modules/puppeteer-core/lib/cjs/puppeteer/util/Deferred.js:59
            this.#timeoutError = new Errors_js_1.TimeoutError(opts.message);
                                 ^

TimeoutError: Navigation timeout of 30000 ms exceeded
    at new Deferred (/home/gabriel/repos/syl-col-interlude/node_modules/puppeteer-core/lib/cjs/puppeteer/util/Deferred.js:59:34)
    at Deferred.create (/home/gabriel/repos/syl-col-interlude/node_modules/puppeteer-core/lib/cjs/puppeteer/util/Deferred.js:21:16)
    at new LifecycleWatcher (/home/gabriel/repos/syl-col-interlude/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/LifecycleWatcher.js:69:60)
    at CdpFrame.goto (/home/gabriel/repos/syl-col-interlude/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Frame.js:151:29)
    at CdpFrame.<anonymous> (/home/gabriel/repos/syl-col-interlude/node_modules/puppeteer-core/lib/cjs/puppeteer/util/decorators.js:98:27)
    at CdpPage.goto (/home/gabriel/repos/syl-col-interlude/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Page.js:588:43)
    at renderVideoOnPage (/home/gabriel/repos/syl-col-interlude/node_modules/@revideo/renderer/lib/server/render-video.js:128:16)
    at async Promise.all (index 0)
    at async renderVideo (/home/gabriel/repos/syl-col-interlude/node_modules/@revideo/renderer/lib/server/render-video.js:212:5)
    at async render (/home/gabriel/repos/syl-col-interlude/dist/render.js:7:18)

Node.js v18.18.0