Timeouts with Pexels videos
When including videos from Pexels, especially when rendering on Remotion Lambda, you may encounter the following error:
or
Problem
Pexels throttles (artificially slows down network speed) videos when they are requested often.
Since each of the many Lambda functions spawned loads the video, it leads to a lot of requests in a short amount of time.
These timeouts are not a problem from Remotion's side.
Solution
Instead of using direct links from services like Pexels, download and re-host the videos on your own servers, or in a S3 bucket.