rohitt24k - 3/27/2025, 12:27:33 PM
Hey guys, i am trying to render a video using remotion on lyambda but i am facing some issue related to
even though other network components like images and audios are properly loading this is the testing composition i am using
import { Video } from 'remotion';
const P0Composition: React.FC = () => { return (
export default P0Composition;
is there anything that i am missing? please help π
rohitt24k - 3/27/2025, 1:48:12 PM
i was able to solve this using the OffthreadVideo Component and now it works file but i want to loop the video so i used the LoopedOffthreadVideo Component now the rendering stops after 80% or 90% is done.
rohitt24k - 3/27/2025, 2:26:31 PM
still getting the same error
An error occurred on chunk 10: Error A delayRender() was called but not cleared after 28000ms. See https://remotion.dev/docs/timeout for help.
at node_modules/remotion/dist/esm/index.mjs:1535 1533 β const handle = Math.random(); 1534 β handles.push(handle); 1535 β const called = Error().stack?.replace(/^Error/g, "") ?? ""; 1536 β if (getRemotionEnvironment().isRendering) { 1537 β const timeoutToUse = (options?.timeoutInMilliseconds ?? (typeof window === "undefined" ? defaultTimeout : window.remotion_puppeteerTimeout ?? defaultTimeout)) - 2000; 1538 β if (typeof window !== "undefined") {
at src/remotion/utils/LoopableOffthreadVideo.tsx:15 13 β const LoopedOffthreadVideo: React.FC = (props) => { 14 β const [duration, setDuration] = useState<number | null>(null); 15 β const [handle] = useState(() => delayRender()); 16 β const { fps } = useVideoConfig(); 17 β
rohitt24k - 3/27/2025, 2:27:24 PM
if the video is long enough and doesn't need to loop then its fine but if the video is short and needs to loop i am facing the delayRender issue
jonnyburger - 3/28/2025, 8:24:43 AM
first step: make sure you have added this continueRender(), https://github.com/remotion-dev/remotion/blob/9c34f7475255344450c7a2c32da77cfd6204238c/packages/example/src/LoopedOffthreadVideo.tsx#L40 we have updated the snippet recently
if that still doesn't work, can you send the video that you want to loop? https://remotion.dev/report please also mention the remotion version
jonnyburger - 3/28/2025, 8:25:12 AM
ah I see you already posted it
jonnyburger - 3/28/2025, 8:27:05 AM
I think you run into pexels rate limiting π if you request the video a lot from the same IP, they are heavily throttling, we see it a lot on pexels videos
consider re-hosting that pexels video yourself