videobeaux

Logo

The friendly multilateral video toolkit built for artists by artists.

View the Project on GitHub schwwaaa/videobeaux

stack_2x

Description

Stacks two videos vertically (one on top of the other) while preserving the original orientation and aspect ratio of each source.
This module creates a clean two-layer composite, useful for comparison videos, collage work, diptychs, and multi-view layouts.

Purpose

stack_2x is designed for creators who want:

How It Works

  1. Load Primary Input
    The global input (-i input.mp4) forms the top (or first) layer.
  2. Load Secondary Input
    The --input2 path loads the second video, which becomes the bottom layer.
  3. Vertical Stacking
    The two frames are aligned vertically using FFmpeg’s stacking filters.
    No rotation, flipping, or aspect correction is applied unless done elsewhere in the chain.
  4. Encoding
    The resulting double-height composite is encoded using the global Videobeaux settings (CRF, codec, pixel format).

Program Template

videobeaux -P stack_2x \
  -i input.mp4 \
  -o output.mp4 \
  --input2 VALUE

Arguments

Real World Example

videobeaux -P stack_2x \
  -i myvideo.mp4 \
  -o stack_2x_styled.mp4 \
  --input2 EXAMPLE

Program Output

Technical Notes

Quality Tips