| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| encoder:overlays [2026/11/19 08:16] – external edit 127.0.0.1 | encoder:overlays [2026/11/22 18:22] (current) – external edit 127.0.0.1 |
|---|
| ====== Layered overlays and branding ====== | ====== Layered overlays and branding ====== |
| Open the Overlay Editor from the encoder browser page or ''/overlays''. Supported layers include text, graphics, uploaded videos, and full web pages. | Open the Overlay Editor from the encoder browser page or ''/overlays''. The editor is available through a paid connected Controller subscription or an active [[:android:aio|DisplayHUB AIO subscription]] for standalone streaming and digital signage. Supported layers include text, graphics, uploaded videos, web pages, and widgets. |
| | |
| | **Only one DisplayHUB AIO encoder per network.** Multiple AIO encoders can send conflicting playback commands. For more than one encoder, use a [[:android:controller|DisplayHUB Controller (full system)]] instead. |
| |
| {{:screenshots:overlay-editor.png?900|Actual overlay editor with an unsaved example layer stack and detailed controls}} | {{:screenshots:overlay-editor.png?900|Actual overlay editor with an unsaved example layer stack and detailed controls}} |
| |
| This is the real encoder editor, not a mockup. The example composition was created only in the browser, with live apply disabled. It was not saved or sent to the running encoder. | The editor is shown with example layers. Color bars stand in for source video; the image is not a recording of program output. |
| |
| ===== Game-day overlays and digital-signage-style layouts ===== | ===== Game-day overlays and digital-signage-style layouts ===== |
| {{:screenshots:signage-example.png?800|A full-screen venue promotion rendered by the real overlay editor}} | {{:screenshots:signage-example.png?800|A full-screen venue promotion rendered by the real overlay editor}} |
| |
| Use authorized text, graphics, uploaded videos, and web content to build full-screen promotions or over-video messages. The Android encoder can use HDMI, an uploaded MP4, or a supported direct video URL as its primary picture. | Use text, graphics, uploaded videos, web content, and widgets to build full-screen promotions or over-video messages. The Android encoder can use HDMI, an uploaded MP4, or a supported direct video URL as its primary video source. |
| |
| ===== Editing and media limits ===== | ===== Editing and media limits ===== |
| |
| On updated Android encoder/controller software, layer names beside encoder previews are buttons: click a name to turn that layer on or off. Controls appear in the controller dashboard, Matrix, source details and on-screen remotes, and on the encoder management page and USB IR remote. Older encoder firmware without the layered API does not provide these controls. | On updated Android encoder/controller software, layer names beside encoder previews are buttons: click a name to turn that layer on or off. Controls appear in the controller dashboard, Matrix, source details and on-screen remotes, and on the encoder management page and USB IR remote. Older encoder firmware without the layered API does not provide these controls. |
| | |
| | When no overlay layers have been created, preview overlay controls and the **Full-frame / hide overlays** button are hidden. Add and apply a layer in the Overlay Editor to make these controls available; an empty control box is not shown. |
| |
| The fixed **Video** layer sits above the fixed **Background** layer. Set a solid color, pattern, or stretched uploaded/HTTP(S) graphic to fill the output behind the video. Move or resize the Video layer to expose the background. The preview background selector is separate and does not change the stream. | The fixed **Video** layer sits above the fixed **Background** layer. Set a solid color, pattern, or stretched uploaded/HTTP(S) graphic to fill the output behind the video. Move or resize the Video layer to expose the background. The preview background selector is separate and does not change the stream. |
| |
| Select HDMI, **Video file** (an uploaded MP4 up to 64 MB), or **Video URL** (a direct HTTP(S) media source, not a Web page) in the Video panel. Switching sources restarts capture separately from saving the layout. File and URL inputs do not send primary audio. Playback depends on Android's player and hardware codecs. Native HDHomeRun tuner discovery and channel management are not integrated. | Select HDMI, **Video file** (an uploaded MP4 up to 64 MB), or **Video URL** (a direct HTTP(S) media source, not a Web page) in the Video panel. Switching sources restarts capture separately from saving the layout. File and URL inputs do not send primary audio. Playback depends on Android's player and hardware codecs. For a compatible HDHomeRun network tuner, configure the association in [[:encoder:settings|encoder source settings]]. |
| |
| Use **80% video (leave area)** to leave room beside and below the video, or enter X, Y, width and height in design-canvas pixels. The rectangle must fit inside the canvas. Apply the design, or enable live apply, to send these edits to the stream. **Reset video size** returns the draft video rectangle to the entire canvas. | Use **80% video (leave area)** to leave room beside and below the video, or enter X, Y, width and height in design-canvas pixels. The rectangle must fit inside the canvas. Apply the design, or enable live apply, to send these edits to the stream. **Reset video size** returns the draft video rectangle to the entire canvas. |
| |
| ===== Widget builder ===== | ===== Widget builder ===== |
| Choose **Widget** to configure time/date, countdown, sponsorship, stocks, weather, sports scores or headlines. The dialog controls feed options, typography, padding, layout and scrolling. Widgets use a solid color or transparent background instead of chroma key. Size, position, opacity, crop and layer effects remain in the editor. Time/date, countdown and sponsorship work offline. | Choose **Widget** to configure time/date, countdown, sponsorship, stocks, weather, sports scores, headlines, announcements, slideshows or specials. The dialog controls feed options, typography, padding, layout and scrolling. Widgets support solid or transparent backgrounds and layer effects, including chroma key. Size, position, opacity and crop remain in the editor. Time/date, countdown and sponsorship work offline. |
| | |
| | {{:screenshots:widget-builder.png?900|Widget Builder showing example venue specials}} |
| | |
| | The Widget Builder preview shows an example specials layout. **Full screen** expands the builder; **Save widget** returns its changes to the draft, and **Save / Apply** sends the draft to output. |
| |
| Configuration sections are stacked in rows. The layer sidebar has **Fit content to layer area**, which shrinks oversized widget content without resizing the layer or changing the configured font size. Sports use ESPN scoreboards by league without an API key; existing football, basketball and soccer widgets default to NFL, NBA and MLS respectively. Stocks use Twelve Data (public display requires a suitable plan and market rights). Headlines use GNews (the free plan is non-commercial and delayed by 12 hours). Signup links for keyed feeds go through DisplayHUB. Check provider terms for display rights and keep API keys and design exports private. | Configuration sections are stacked in rows. The layer sidebar has **Fit content to layer area**, which shrinks oversized widget content without resizing the layer or changing the configured font size. Sports use ESPN scoreboards by league without an API key; existing football, basketball and soccer widgets default to NFL, NBA and MLS respectively. Stocks use Twelve Data (public display requires a suitable plan and market rights). Headlines use GNews (the free plan is non-commercial and delayed by 12 hours). Signup links for keyed feeds go through DisplayHUB. Check provider terms for display rights and keep API keys and design exports private. |
| **Breaking news** accepts uppercase or lowercase country codes. A US ZIP finds its city and state and searches GNews for place mentions rather than category headlines; coverage varies. **Announcements** works offline: enter up to 20 lines of text, optionally in ''Heading | Message'' format, then choose a card, bulletin, or scrolling layout. Multi-city clocks accept up to six time zones; countdowns can use tiles, rings, or bars. | **Breaking news** accepts uppercase or lowercase country codes. A US ZIP finds its city and state and searches GNews for place mentions rather than category headlines; coverage varies. **Announcements** works offline: enter up to 20 lines of text, optionally in ''Heading | Message'' format, then choose a card, bulletin, or scrolling layout. Multi-city clocks accept up to six time zones; countdowns can use tiles, rings, or bars. |
| |
| Sports widgets can combine up to four ESPN leagues and offer compact logo ribbons, split score bars, and stacked results. Time/date and countdown widgets include split-flap and flip-card looks. Set a sponsor image from Files or use an image URL, and enter a website to display alongside the credit. Stocks and news accept optional logo mappings in ''Symbol or publication | Image URL'' format. Announcements can use ''Heading | Message | Image URL'' for individual graphics. Uploaded images remain device-local and are not embedded in exported designs. | Sports widgets can combine up to four ESPN leagues and offer compact logo ribbons, split score bars, and stacked results. Time/date and countdown widgets include split-flap and flip-card looks. Select a sponsor image from Media or use an image URL, and enter a website to display alongside the credit. Stocks and news accept optional logo mappings in ''Symbol or publication | Image URL'' format. Announcements can use ''Heading | Message | Image URL'' for individual graphics. Uploaded images remain device-local and are not embedded in exported designs. |
| |
| Drag the lower-right handle in the widget preview to resize the layer, then save the widget. Use the on-screen arrows beside the layer geometry for one-pixel moves (Shift moves ten). Continuous scrolling exits completely before restarting; back-and-forth and paged modes intentionally use different motion. Full-frame switches ease the video into its new position while still hiding overlay layers and audio immediately. The Android Controller dashboard places the overlay buttons directly beneath each encoder preview. | Drag the lower-right handle in the widget preview to resize the layer, then save the widget. Use the on-screen arrows beside the layer geometry for one-pixel moves (Shift moves ten). Continuous scrolling exits completely before restarting; back-and-forth and paged modes intentionally use different motion. Full-frame switches ease the video into its new position while still hiding overlay layers and audio immediately. The Android Controller dashboard places the overlay buttons directly beneath each encoder preview. |
| **Export / Import design** includes all layers, widget settings and API keys, weather block positions, animations, gradients, and Video-layer placement. Uploaded local images/videos are **not included**: JSON retains only their encoder-local references. Use accessible HTTP(S) media URLs for designs intended for other encoders, or upload and relink the files on each encoder. Primary video-source settings are separate from the design, and importing preserves the receiving encoder's current full-frame override. Keep exported files containing credentials private. | **Export / Import design** includes all layers, widget settings and API keys, weather block positions, animations, gradients, and Video-layer placement. Uploaded local images/videos are **not included**: JSON retains only their encoder-local references. Use accessible HTTP(S) media URLs for designs intended for other encoders, or upload and relink the files on each encoder. Primary video-source settings are separate from the design, and importing preserves the receiving encoder's current full-frame override. Keep exported files containing credentials private. |
| |
| ===== Graphic slideshows ===== | ===== Media and slideshows ===== |
| Select a **Graphic** layer and enable **Cycle through images**. Its usual file/URL is slide 1; add up to nine more uploaded images or HTTP(S) image URLs for **10 images total**. Each additional slide has uploaded-file selection, URL entry, ordering and removal controls. Moving the second slide earlier swaps it with the first image. Slides loop in order and share the layer's fit/stretch/tile, crop, positioning, opacity and effects. | Open **Media Manager** beneath Background to upload or drag in images and videos, browse thumbnails, create folders, rename and move files, and delete or create layers from a selection. The image editor crops and rotates a new PNG copy; animated images become still images. Media stays on the encoder. Files referenced in the draft or applied design cannot be deleted until their references are removed and the design is applied. Uploads are limited to 64 MB per file and 256 MB total. |
| |
| Set a hold time of **1-3600 seconds** per image, choose **Cut**, **Crossfade**, **Slide left/right/up/down** or **Zoom**, and set animated transitions to **0.1-5 seconds**. Hold time starts after the transition finishes; loading a remote image can extend it. Turning off **Visible on output** pauses cycling. If an image fails to load, the last good image stays visible and the editor reports the failed slide before continuing the cycle. | {{:screenshots:media-manager.png?900|Media Manager with example folder and sample image thumbnails}} |
| |
| Transparent **PNG and GIF** images preserve their alpha/transparency. Animated GIFs play while displayed; slideshow timing does not wait for the GIF's animation to finish. Slideshow settings and image references are included in design exports, but uploaded image files are not. Upload and relink those images on another encoder, or use accessible URLs. Files referenced by saved slides cannot be deleted until their references are removed and the design is applied. | The pictured library and folder are illustrative. Select multiple files to create layers, create a slideshow, add to a selected slideshow, move, or delete them. To use one file, click its name or choose **Fill selected area**. Use **Add as new layer** to keep the selected area's existing content. Media controls also accept direct HTTP(S) URLs where supported. |
| |
| ===== Local physical buttons ===== | Choose **Slideshow** in the widget builder or select images and videos in Media and create a slideshow. Enter up to **10 files** as uploaded media paths or HTTP(S) URLs, one per line; reorder them by editing the list. MP4/WebM slide URLs must end in the media extension. Videos play muted and loop during the slide's hold time. Select a slideshow layer before adding more selected media from Media. Choose fit, repeat and shuffle. Existing graphic slideshows continue to play and can be converted to the new widget. |
| Open **Physical buttons** on the controller dashboard or beside an encoder preview (''/physical-buttons.html''). Add as many named buttons/gestures as needed. Each binding selects a registered encoder and either full-frame toggle/ON/restore or a layer toggle/ON/OFF. Several buttons can control the same function. | |
| |
| Open **Setup / copy URL** and paste the binding's private LAN URL into the hardware's HTTP GET action. Use the controller's reserved LAN IP, including Android's port 8081, not a support-tunnel address. **Test action** changes on-air output after a confirmation. Press the real button and **Refresh status** to confirm execution. Editing retains the URL, pausing stops actions and deleting revokes the URL. Replacing a design can remove layer IDs; edit affected bindings to select their replacement. Mappings follow registered encoder IDs through DHCP changes; a removed/re-registered identity must be reassigned. | Set a hold time of **1-3600 seconds** per image, choose **Cut**, **Crossfade**, **Slide left/right/up/down** or **Zoom**, and set animated transitions to **0.1-5 seconds**. Hold time starts after the transition finishes; loading a remote image can extend it. Turning off **Visible on output** pauses cycling. If an image fails to load, the last good image stays visible and the editor reports the failed slide before continuing the cycle. |
| |
| One suitable Amazon-listed option is [[https://www.amazon.com/Indication-Encrypted-Bluetooth-Deactivate-Different/dp/B0C628TV8F|Shelly BLU Button1]] plus a [[https://www.amazon.com/Shelly-Bluetooth-Automation-Compatible-Wire-Free/dp/B0CH18NPHZ|Shelly BLU Gateway]]. Button1 is **Bluetooth, not Wi-Fi** and cannot call the controller directly. The powered gateway joins venue Wi-Fi and forwards presses locally. Set the button MAC and action URLs in [[https://us.shelly.com/blogs/scripts-library/shelly-gen2-ble-gateway-script-for-blu-button1-integration|Shelly's local gateway script]], enable Bluetooth scanning, and enable the script at startup. Additional buttons remain subject to gateway scripting limits. This is one-time gateway configuration, not automatic dashboard pairing; prices/availability vary. Hardware still needs physical qualification. | Transparent **PNG and GIF** images preserve their alpha/transparency. Animated GIFs play while displayed; slideshow timing does not wait for the GIF's animation to finish. Slideshow settings and image references are included in design exports, but uploaded image files are not. Upload and relink those images on another encoder, or use accessible URLs. Files referenced by saved slides cannot be deleted until their references are removed and the design is applied. |
| |
| The older Shelly Button1 Wi-Fi can issue local HTTP actions directly; avoid similarly named passive housings. Shelly provides documented local APIs and scripts, not a claim of open-source firmware. For a fully open-source DIY option, an ESP32 button can use [[https://esphome.io/components/http_request/|ESPHome HTTP requests]]. The local integration does not require a cloud account. | ===== Specials ===== |
| | The **Specials** widget includes venue templates for offers, menus and events. Enter up to 20 lines as ''Heading | Details | media URL'' and choose an image or muted MP4/WebM video from Media; use at most one video. A POS system can supply an optional HTTP(S) JSON feed: an array or an ''items'' array of objects with ''name'', ''description'', ''price'' and optional ''media'' or ''image'' URL. The feed must allow cross-origin requests from the encoder and does not receive credentials; do not put secrets in its URL. Manual offers appear if the feed fails. This is a generic feed format, not a direct integration with a particular POS provider. |
| |
| Bindings persist separately from encoder design exports, in Android controller private data or Linux ''/etc/displayhub-controller/physical-buttons.json''. Treat this key-bearing file and setup URLs as passwords. Keep the controller/gateway running on the trusted LAN; do not expose the controller or URLs publicly. | ===== Showing and hiding layers ===== |
| | Use the layer controls beneath compatible encoder previews to turn individual layers on or off. **Full-frame / hide overlays** shows the primary video without overlays; **Restore layout / overlays** restores the layout and previously selected layers. While full-frame is active, changes to layer visibility are retained for the restored layout. |
| The repeat delay defaults to 750 ms and can be adjusted per binding. Integrations may append ''&event=UNIQUE_PRESS_ID'' for retry suppression for 60 seconds (last 128 events per binding). Pending actions are suppressed too. A response distinguishes ''executed:true'' from ''executed:false, duplicate:true''. Status and duplicate tracking reset on controller restart; exactly-once delivery is not guaranteed. No automatic action retry occurs: after a network timeout inspect output before retrying a toggle. Prefer explicit ON/OFF/restore actions for retrying devices. | |
| | |
| The encoder performs toggles atomically, without a read/modify/write race. While full-frame hides everything, layer switches still update their saved selections; restore the layout to see them. Ordinary controller configuration remains trusted-LAN-only rather than user-authenticated; keys protect hardware press endpoints, not the entire application. | |
| |
| Use drag/resize, ordering, visibility, opacity, rotation, crop, and live apply to compose your program. Review apply errors rather than assuming a saved design is on air. Some websites block embedding; validate the program monitor. | Use drag/resize, ordering, visibility, opacity, rotation, crop, and live apply to compose your program. Review apply errors rather than assuming a saved design is on air. Some websites block embedding; validate the program monitor. |
| |
| PNG/JPEG/GIF/WebP graphics and Android WebView-compatible MP4/WebM video are supported; H.264/AAC MP4 is a useful starting point. Current limits are 64 MB per file, 256 MB library, and 24 layers including six video/web layers. Copy media separately when transferring design JSON. | PNG/JPEG/GIF/WebP graphics and Android WebView-compatible MP4/WebM video are supported; H.264/AAC MP4 is a useful starting point. Current limits are 64 MB per file, 256 MB library, and 24 layers including six video/web layers. Copy media separately when transferring design JSON. |
| | |
| | Android Encoder **Backup & Restore** includes the saved overlay design when subscription access is available. Older settings-only backups leave the current design unchanged. The Overlay Editor still has its own design export. Uploaded media files are not included; re-upload and relink any missing media after restoring to another device. |
| |
| Use only material you are authorized to display. See [[:encoder:monitors]] and [[:encoder:settings]]. | Use only material you are authorized to display. See [[:encoder:monitors]] and [[:encoder:settings]]. |