New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chrome download should include proprietary codecs #904
Comments
Hi @EricLiclair! Thanks for the detailed issue!
If neither of those seem to be the case, can you describe more precisely how it does not work? Is there an error message, or a timeout? |
I can confirm for the input props to be working fine with the api because I've tested it on the same data in the dev environment. TimeoutError: waiting for function failed: timeout 30000ms exceeded
at new WaitTask (/home/shubham/dev/proj/remotion/ssr/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DOMWorld.js:526:34)
at DOMWorld.waitForFunction (/home/shubham/dev/proj/remotion/ssr/node_modules/puppeteer-core/lib/cjs/puppeteer/common/DOMWorld.js:477:26)
at Frame.waitForFunction (/home/shubham/dev/proj/remotion/ssr/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.js:993:32)
at Page.waitForFunction (/home/shubham/dev/proj/remotion/ssr/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.js:2479:33)
at seekToFrame (/home/shubham/dev/proj/remotion/ssr/node_modules/@remotion/renderer/dist/seek-to-frame.js:9:16)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async /home/shubham/dev/proj/remotion/ssr/node_modules/@remotion/renderer/dist/render.js:98:13
at async Promise.all (index 214)
at async renderFrames (/home/shubham/dev/proj/remotion/ssr/node_modules/@remotion/renderer/dist/render.js:86:5) While the dev works fine, the renderer is throwing a timeout error while ssr or even when using shubham@ericware:~/dev/proj/remotion/ssr$ yarn build
yarn run v1.22.17
$ remotion render src/index.jsx HelloWorld out/video.mp4
📦 (1/3) [====================] Bundled code 2003ms
🖼 (2/3) [================== ] Rendering frames (4x) 2104/2250
The following error occurred when trying to render frame 2104:
Error: A delayRender was called but not cleared after 28000ms. See https://remotion.dev/docs/timeout for help. The delayRender was called:
at delayRender (http://localhost:3000/bundle.js:10433:32)
at http://localhost:3000/bundle.js:12060:56
at fk (http://localhost:3000/bundle.js:6919:359)
at exports.unstable_runWithPriority (http://localhost:3000/bundle.js:12358:343)
at gg (http://localhost:3000/bundle.js:6779:325)
at Oj (http://localhost:3000/bundle.js:6918:308)
at http://localhost:3000/bundle.js:6918:215
at V (http://localhost:3000/bundle.js:12356:224)
at MessagePort.F.port1.onmessage (http://localhost:3000/bundle.js:12352:346)
at http://localhost:3000/bundle.js:10439:19
💡 Get help for this issue at https://remotion.dev/docs/timeout
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. |
Thanks @EricLiclair! i can confirm this is most likely a bug that it downloads a browser that doesn’t have the codecs. We’ll try to improve that. Can you name the exact OS and CPU architecture that you are on? In the meanwhile, you need to get a Chromium browser executable manually and tell Remotion to use it: https://www.remotion.dev/docs/cli#--browser-executable Sorry for the inconvenience! |
Sure. Also, I found out a work-around for my use case, as mentioned in the docs here. As for the system details: |
Thanks! I can confirm that the automatic download For Linux downloads a version of Chrome that doesn't support media codecs. We will fix that by supplying our own version of Chrome in that case. Leaving the issue open. |
I've been trying to generate videos using the ssr feature in remotion. Now, my components contains <Video /> and <Audio /> tags from
remotion
. But thestitchFramesToVideo()
in@remotion/renderer
doesn't stich those frames.Help me if I am doing it in a wrong way.
While using
yarn build
is working fine and generates the video with audio and attached video file, but not working for the api i am trying to create.server.js
HelloWorld.jsx (the component which holds the complete video sequencing)
The text was updated successfully, but these errors were encountered: