-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Report π
When rendering MP4 videos on Remotion using AWS Lambda, the final rendered video shows a black screen for the video layer, while audio and captions render correctly.
The same composition works perfectly when using images instead of videos.
The same video URLs also work correctly in local preview (Player / localhost).
This issue occurs consistently on Lambda, even after trying:
- + calculateMetadata
- staticFile()
- public S3 URLs
- H.264 + yuv420p encoded videos
Steps to Reproduce
- Create a Remotion composition that renders MP4 videos in sequence
- Use either or with
- Render locally β works correctly
- Render on AWS Lambda β video layer is black
- Audio track plays correctly
- Captions / text overlays render correctly
- Render completes successfully and produces MP4
Expected Behavior
MP4 videos should render visually in the Lambda output, same as they do locally.
Actual Behavior
The output video renders:
- Black video frames
- Audio plays correctly
- Captions/text render correctly
- No errors during render
If I replace videos with images, the same composition renders correctly on Lambda.
This suggests a limitation in video decoding / painting in Lambda Chromium.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working