Skip to content

Save clips with Compose

This guide shows you how to save a highlighted clip of a live stream when Rewyt and ypb are run via Compose.

Prerequisites

Highlight the clip

Note

For highlighting clips in Rewyt, see Highlight and save clips.

Highlight the clip and copy the corresponding timestamp or the download command:

2026-09-05T03:14:15+00:00/2026-09-05T09:26:53+00:00
ypb download -i 2026-09-05T03:14:15+00:00/2026-09-05T09:26:53+00:00 abcdefgh123

Save the clip

Run ypb inside the already-running Rewyt container:

# --workdir must stay /media, it's where the container's volume is mounted
podman compose exec --workdir /media rewyt ypb download \
  2026-09-05T03:14:15+00:00/2026-09-05T09:26:53+00:00 abcdefgh123

The file is saved to ./media by default, or the path set via YPB_MEDIA_DIR.