Picture-in-Picture Layout Planner
Place a second video inside a main frame: choose the frame, the inset's aspect ratio, its share of the width and the corner, and get the exact pixel rectangle to composite, a title-safe check and an FFmpeg overlay expression. Everything is calculated in your browser; nothing is uploaded or sent anywhere.
Layout
Preview only: the dashed box is the 5% title-safe edge.
- Inset size
- not computedwidth × height in pixels
- Top-left corner
- not computedx, y of the inset inside the frame
- Margin
- not computedfrom the anchored edges
- Width share
- not computedof the frame width
- Area share
- not computedof the whole frame
- Fitted aspect
- not computedactual shape after rounding
FFmpeg overlay
scale the inset, then overlay at the computed corner
How this is computed
- Calculate to see the layout arithmetic.