Replies: 1 comment
-
|
5 : 5 minutes is O(n) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
About a year ago, I made a few Lyric videos using React. I made a web app which accepted JSON script data in a
textarea, and then rendered the 'video' in the browser. I then used Playwright to record the browser into an mp4. Some of the problems I encountered with this approach:I solved 1 and 2 with a python script that trimmed undesired frames from the video. 3 can be somewhat improved by recording with a higher FPS, but it also has the advantage that the recording time is independent of the resolution and number of videos. If you have a powerful enough system, you can record multiple 4k videos at the same time.
I tried Remotion recently and was impressed with how 'finished' the recorded video looked. Still, I was wondering if there are any drawbacks of rendering each frame and combining them into a video. Why did Remotion team chose this approach over recording the browser directly?
Also, does Remotion work properly with
transition-duration? I thought it shouldn't work as the number of frames recorded per second may not be same as the FPS. But, I was surprised to see that Tailwind classes likeduration-300worked properly in a video I made.Beta Was this translation helpful? Give feedback.
All reactions