Overlays

Setting up the platform frame in OBS

The frame is a PNG with transparency. The camera stays almost full screen, a display bar with two empty display fields runs along the bottom, and the CastLayer train widget stands on a shelf on the right. The values apply to a 1920 × 1080 canvas; the same numbers are in the guide inside the ZIP.

Sources in OBS

  1. 1

    The order in 'Sources' is the stacking in the picture: the top of the list is in front. Train widget, text and alerts go ABOVE the frame, the camera BELOW it.

  2. 2

    Image source 'Platform frame' with rail-bahnsteig-frame.png from the overlays/ folder, position 0 / 0, full size.

  3. 3

    Camera at the bottom of the list, position 0 / 0, size 1920 × 1080. The bar covers the bottom 160 pixels.

  4. 4

    Two display fields in the bar: field 1 at X 40, Y 948, 640 × 104 – field 2 at X 712, Y 948, 400 × 104. Put a text or browser source on top, such as station name, clock or socials.

  5. 5

    The alert zone top center is 640 × 176, at X 640, Y 40 – marked by four amber corner marks. CastLayer alerts in card size 'Large' fit exactly if you keep the browser source at 1920 × 1080 and move it to X 0, Y −800, and the rail themes match the look.

Platform frame in the stream: camera almost full screen, the shelf with room for the train widget on the right, the bar with two display fields at the bottom (photo stands in for the camera)
Platform frame in the stream: camera almost full screen, the shelf with room for the train widget on the right, the bar with two display fields at the bottom (photo stands in for the camera)

Standing the train widget on the shelf

The train widget is a browser source from your CastLayer dashboard, always 408 pixels wide at X 1472. How tall the card is depends on the number of rows – so it stands exactly on the shelf, set height and Y position to match:

  • 4 rows: height 284, Y 612 – with name or logo in the footer 310, Y 586
  • 6 rows: height 364, Y 532 – with name or logo in the footer 390, Y 506
  • 8 rows: height 444, Y 452 – with name or logo in the footer 470, Y 426
  • Other row counts: height = 124 + 40 × rows (+26 with name or logo), Y = 896 − height
If the timetable source briefly drops out, the card shows an extra notice line and gets slightly longer downward. As soon as data arrives again, the line disappears.

Next