Bitmovin Multiview

Live feeds stitched per request in the compressed domain: H.264 row slices, one playback URL per arrangement

1 video track1 decoder0 re-encodesany HLS player
—

Origin

feedtracksnewest segmentbitrate

How it works

  1. Encode. Each feed is encoded at a fixed ladder (1792×1024, 896×512, 448×256, each half the one above) with identical settings. It is pushed as CMAF over HTTPS (DASH-IF Live Media Ingest, Interface 1).
  2. Stitch. For every 2-second segment the stitcher writes a composite SPS, then splices the coded slices of all views into one picture: it rewrites slice headers and copies the slice data. No pixel is decoded or re-encoded.
  3. Deliver. The result is a normal H.264 HLS stream, built per request from the layout and sources parameters and cached by the CDN. The resolution the player picks decides which rung each view uses.

Backdrops

Every layout but the grid leaves areas no view covers; by default they are black. A backdrop fills them with a still picture instead (branding, a sponsor, a scoreboard), chosen per arrangement with backdrop=<name>. It is a feed per layout, _bg-<name>-<LAYOUT>, holding one piece per black column of each tier: a column of a picture of the whole composite, encoded like any feed and black within 32 px of every view and column edge, so the views stay exactly as they are. The stitcher splices the piece's rows in place of the black ones; the init doesn't change. A piece that is missing or doesn't fit shows black for that segment.

Ad breaks

A break belongs to one feed and has a format, chosen per break:

Every segment of a channel shares one init, so a break needs no EXT-X-DISCONTINUITY. Ad creatives are feeds named _ad-<creative>, uploaded whole before a break is scheduled with POST /api/breaks: the bars take a creative with the sides and the band, the other formats one encoded on the ladder like any feed. Every piece carries the 32-px black border on all four edges.

Encoder requirements

Stitching in the compressed domain only works when every feed is encoded the same way:

VideoH.264 with CABAC, 25 fps, no B-frames, weighted prediction off, progressive frames only (no field coding or MBAFF), no SPS scaling matrices, no slice groups (FMO), no frame cropping (sizes are whole macroblocks). Every other setting must be identical across feeds; the values below are the ones we tested
GOPClosed, exactly 50 frames (2 s), IDR first, no scene-cut keyframes; one GOP per segment
SlicesOne slice per macroblock row: slices = height / 16 (64 at 1792×1024, 32 at 896×512, 16 at 448×256)
BorderContent scaled to (w−64)×(h−64) and centred on a black w×h frame. Motion vectors may point up to about 24 px outside the picture, and in a composite that is the neighbouring view: without the border, edges smear and drift
Parameter setsSame settings for every feed: the SPS may differ only in size and level, the PPS must be byte-identical
AudioAAC-LC 48 kHz, mono or stereo, 1024-sample frames (optional)
PackagingCMAF with 2-s segments, pushed per DASH-IF Live Media Ingest (Interface 1): POST each track's header, then one segment per request, to /ingest/<feed>/<track>/… (or the paths an ingest MPD names), with the ingest token as Basic password. Epoch-aligned decode time on the 2-s grid and prft are recommended; slat and lmsg are honoured. A feed that stops pushing for a few seconds (6 s by default) is shown black and silent and the other views go on; when it resumes, segments for times already shown black are answered late and dropped, so push the current segment, not a backlog. A _black feed encoded with the same settings fills layout bars and missing segments; push it at least daily: the stitcher reloads it after a restart from its restart mirror, which keeps objects for one day

With the Bitmovin Encoder

The Bitmovin Encoder produces stitchable feeds with the configuration below. These are the values we tested end to end. Create one H.264 configuration per rung and reuse it for every feed, so all feeds share identical parameter sets, and package with an fMP4 muxing with segmentLength: 2.0. Four things to plan for:

POST /v1/encoding/configurations/video/h264
{
  "name": "multiview-896", "width": 896, "height": 512, "rate": 25,
  "profile": "HIGH", "level": "4.1", "bitrate": 1500000,
  "bframes": 0, "cabac": true, "refFrames": 2,
  "weightedPredictionPFrames": "DISABLED",
  "sceneCutThreshold": 0, "openGop": false, "minGop": 50, "maxGop": 50,
  "slices": 32,
  "colorConfig": { "colorPrimaries": "BT709", "colorTransfer": "BT709", "colorSpace": "BT709" }
}

Bitmovin-encoded VOD feeds, relayed live into the stitcher that way (decode times moved onto the 2-s epoch grid), play in every layout with no artefacts. With live encoders, also align their keyframes: feeds are lined up per 2-s segment, so encoders that are out of step can end up one segment apart.

Playback URLs

/out/v1/live/multiview/hls/index.m3u8?layout=MAIN_3&sources=feed1,feed2,feed3,feed4
/out/v1/live/multiview/hls/index.m3u8?layout=MAIN_3&sources=...&backdrop=<name>   (the black areas show a backdrop)
/out/v1/live/squeezeback/hls/index.m3u8?programme=<feed>   (the programme, with its ad breaks)
/out/v1/live/<feed>/hls/index.m3u8                  (one feed on its own)

Sources fill the views in order (V1 is the main view in the Main + 1/2/3 layouts); a feed may fill several views. The layout values are SIDE_BY_SIDE, TRIO, GRID, MAIN_1, MAIN_2 and MAIN_3.