
Talking head PiP
@opus-motion-library/talking-head-pip
From Opus Motion Library
The speaker (your video, or a built-in presenter stand-in) starts full-frame then shrinks into a circular or rounded picture-in-picture in a corner with an accent ring, while B-roll cards slide through the main frame and captions stay clear of the window.
Install
node cli/mgl.mjs add talking-head-pip --to <your-project>/srcWhen to use
- Good for
- Course videos, creator explainers, product walkthroughs with a host; pair with caption-style motions for subtitles.
Specs
- Length
- 270f · 9s
- Length type
- Fixed
- FPS
- 30
- Style
- photo, editorial, ui
- License
- MIT
Props (16)
videoSrcstring= ""speaker footage (public/ path or URL); empty = built-in presenter stand-in
videoStartFromnumber= 0frame to start the footage from
mutedboolean= falsemute the footage audio
scenesarray= [{"title":"The big idea","caption":"Start with one clear promise."},{"title":"How it works","caption":"Three steps, n…[{title, image?, caption?}] B-roll cards shown in turn (image = public/ path, else a procedural illustration)
cornerstring= "bottom-right"bottom-right | bottom-left | top-right | top-left
shapestring= "circle"circle | rounded
diameternumber= 0.26PiP size as a fraction of the short side (0.22-0.28)
marginnumber= 0.045corner margin as a fraction of the short side
shrinkAtnumber= 36frame the speaker starts shrinking into the corner
ringnumber= 5accent ring width in px
ringColorstring= "#FFC933"accent ring colour
backgroundstring= "#10131F"background colour
accentstring= "#3E6BFF"colour behind the stand-in presenter
inkstring= "#FFFFFF"caption text colour
captionsboolean= trueshow captions (kept clear of the PiP)
speakerNamestring= ""optional small name tag by the PiP