videobeaux

Logo

The friendly multilateral video toolkit built for artists by artists.

View the Project on GitHub schwwaaa/videobeaux

lagkage

Description

A JSON-driven multilayer video compositor that stacks, positions, resizes, mixes, sequences, and animates multiple media layers into a single rendered output.
lagkage is the most powerful structural tool in Videobeaux, allowing complex collage-based edits without touching an editor timeline.

Purpose

lagkage is designed for creators who want to:

How It Works

  1. JSON Layout File (--layout_json)
    The layout file describes each layer:
    • filename
    • position (x/y)
    • size or scale
    • opacity
    • z-order
    • type (video, image)
    • audio mute flag
    • mode (free, grid, fit, fill, etc.)
  2. Layer Sequencing (--sequence_direction)
    Defines how layers progress in time:
    • forward
    • reverse
    • other sequence logic depending on layout design
  3. Audio Mode (--audio_mode)
    Controls where final output audio comes from:
    • base → input -i base video’s audio
    • all → mix audio from all layers
    • first → only the first layer
    • none → mute output
    • additional modes depending on project configuration
  4. Audio Source Override (--audio_src)
    Allows specifying a custom audio file or one of the layer files as the final mix source.
  5. Compositing & Rendering
    After building filtergraphs, lagkage:
    • aligns layers
    • pads or scales
    • composes them in order
    • applies opacity
    • writes unified audio
    • encodes the final video with global Videobeaux settings

Program Template

videobeaux -P lagkage \
  -i input.mp4 \
  -o output.mp4 \
  --layout_json VALUE \
  --sequence_direction VALUE \
  --audio_mode VALUE \
  --audio_src VALUE

Arguments

Real World Example

videobeaux -P lagkage \
  -i myvideo.mp4 \
  -o lagkage_styled.mp4 \
  --layout_json EXAMPLE \
  --sequence_direction EXAMPLE \
  --audio_mode EXAMPLE \
  --audio_src EXAMPLE

Program Output

Program output video not yet linked.

Technical Notes

Quality Tips