Showout 1.2.0 · Linux

Media formats and HAP

The Linux AppImage bundles its own GStreamer runtime, so no codec packages are needed on the host.

What plays

  • Containers: MP4, MOV, M4V, MKV, WebM and AVI.
  • Video: H.264, H.265, AV1 and the HAP family. Other codecs are untested.
  • Hardware decoding: H.264, H.265 and AV1, where the GPU supports them. Tested on AMD only.
  • Still images: PNG, JPG and static WebP. Animated GIF and animated WebP are not supported.
  • Audio: none. Clips play silently and their audio tracks are ignored.
  • HDR: phone HDR video (HLG and HDR10) plays in SDR.
  • Transparency: use HAP R or HAP Alpha.

Why prepare clips

Most camera and download files are long-GOP H.264 or H.265. To land on a frame, the decoder starts at the previous keyframe and decodes forward. During live scrubbing that shows up as a half-second to one-second catch-up on some clips.

Prepared clips avoid it. HAP stores every frame on its own. Short-GOP H.264 keeps keyframes close together.

Convert clips to HAP R in Showout

Stop projector output. Open Sources → Media, choose a folder and select HAP R or HAP Q in the header.

  • One clip: Press Prepare HAP R for HAP R or Prepare HAP for HAP Q. When it finishes, press Use prepared on that row.
  • Whole folder: Press Prepare all. When the batch finishes, press Use all prepared.
The Sources dock shows HAP R preparation controls and clip format badges.
HAP R preparation in Sources → Media.

Showout writes the copies to a prepared folder beside the originals. Use prepared switches cells and sequences to the copy without changing the original file. You do not need ffmpeg for this.

Choose a HAP variant

VariantUse it for
HAP RShow clips. Better picture than HAP Q, and keeps transparency. Needs a GPU with BC texture support.
HAP QSeveral layers at once from a slow or external drive. HAP R files can be a third larger.
HAP4K clips, loops and background content. About half the disk and GPU load of HAP Q.
HAP AlphaOverlays that need transparency.

With HAP Q selected, Showout uses HAP Alpha if it detects an alpha channel before encoding. If transparency first appears later in the clip, preparation stops. Select HAP R and try again.

For 4K playback from a slow drive, try plain HAP first. HAP Q uses twice as much GPU texture memory per frame. HAP R uses the same texture memory as HAP Q but can take more disk space.

Encode with ffmpeg

To make plain HAP with the AppImage, run ./Showout-*.AppImage prepare source.mp4 --preset hap. To use ffmpeg instead, check for its HAP encoder with ffmpeg -h encoder=hap. The H.264 command below uses libx264.

HAP Q:

ffmpeg -i source.mp4 -c:v hap -format hap_q -chunks 8 source.hapq.mov

HAP:

ffmpeg -i source.mp4 -c:v hap -chunks 8 source.hap.mov

HAP Alpha, from a source that has an alpha channel:

ffmpeg -i source.mov -c:v hap -format hap_alpha -chunks 8 source.hap_alpha.mov

Short-GOP H.264, when file size matters more than scrubbing:

ffmpeg -i source.mp4 -c:v libx264 -crf 18 -g 30 -keyint_min 30 -sc_threshold 0 -bf 0 source.shortgop.mp4

Keep the originals for editing. Load the prepared copies in Showout.

Other HAP formats

HapM, HapA and HAP HDR (HapH) need a GPU with BC texture support. HapA plays as a white alpha mask. HapH needs BT.2020 primaries and an HLG or PQ transfer tag.

Library badges

Sources and clip cells label prepared clips HAP, HAP Q, HAP Alpha or HAP R.

For H.264, H.265 and AV1, Short GOP means the clip is ready for scrubbing. Prep recommended means its keyframes are far apart.

Missing media

Templates store media paths, not the media itself. When clips are missing, cells show Missing. Use File → Locate Missing Media…, then Locate folder to relink a whole folder or Relink for one cell. Stop the output before relinking.

Keep show media on a local SSD. Network and USB paths can disappear or stall mid-show.