@remotion/media: _experimentalInitiallyDrawCachedFrame prop#7022
@remotion/media: _experimentalInitiallyDrawCachedFrame prop#7022JonnyBurger merged 3 commits intomainfrom
@remotion/media: _experimentalInitiallyDrawCachedFrame prop#7022Conversation
…s between sliced video segments When a video tag unmounts and a new one mounts (e.g. in sliced video compositions), there is a black frame while the new tag initializes and decodes its first frame. This adds an opt-in `seamlessTransition` prop that caches the last rendered frame on unmount and draws it immediately on the new canvas before the MediaPlayer initializes. Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
@remotion/media: Add seamlessTransition prop to avoid black frames between sliced video segments@remotion/media: _experimentalInitiallyDrawCachedFrame prop
|
Reviewed PR #7022. The PR was already merged, so posted a comment with two non-blocking observations: (1) the canvas width/height guard in Task list (4/4 completed)
|
|
Post-merge review Clean implementation. The effect ordering is correct — Two observations:
|

When mounting a new video tag, it first draws a frame from another video tag that had the same source and was last unmounted