Diagram: on the left, one picture with a main view and three small views, one of them moved. In the middle three send paths (USB router, phone hotspot, Wi-Fi or Ethernet). On the right the SRTLA server that merges the paths, and OBS.
Open source · Beta 0.9.16

Up to four cameras in one picture

One main view and three small views, freely positionable, right from the web interface. The BOX runs as a standalone add-on package next to the BELABOX. It does not change any files of the original software, and BELABOX updates stay possible.

It runs on a Radxa ROCK 5B+ or Orange Pi 5 Plus with the BELABOX image. It is free and open source (MIT license). Questions, bugs, and ideas are welcome on Discord.

Independent add-on project: The IRL4YOU BOX is not a product of BELABOX, Radxa, or DJI.

Contents

1. What the BOX can do

To our knowledge, there is no comparable solution for the BELABOX yet: picture-in-picture with up to four cameras, DJI cameras over Bluetooth, and a sender that measures the latency of every connection, all in one web interface.

Two notes: If the “Not applied yet” notice appears, use “Restart stream”. The Live card also shows the total upload.

2. The video for version 0.9.16

The video shows all features of beta 0.9.16, including what is new since 0.9.9. All screens in it show sample data, and the OBS picture is schematic. The chapters jump straight to that spot on YouTube. The video is in German.

Chapters in the video

  1. BELABOX with PiP
  2. How it works
  3. Live and status (new: go live automatically)
  4. Cameras (RTMP and DJI over Bluetooth)
  5. Picture-in-picture: main view and three small views
  6. New: move the small views freely
  7. The result
  8. Networks and sending: Wi-Fi hotspot, send paths, distribution
  9. New: the “Not applied yet” notice
  10. The smart sender (latency-aware SRTLA)
  11. New: broadcast mode for screen recordings
  12. Remote access and updates
  13. New: logs in lean or verbose mode, shutting the box down
  14. On your phone too
  15. Collapse and expand everything
  16. Outlook and beta notice

Written alternative to the video: The features are listed above, and you will find the commands under Installation.

3. Status of the beta

Not a replacement for a proven setup: Try the BOX at home first, and keep a plan B ready for the real thing.

4. Tested hardware

Test status of version 0.9.16
DeviceStatus
Radxa ROCK 5B+ with BELABOX imageDJI Osmo Action 4, Action 5 Pro, and Action 6: four cameras at once without frame drops at around 13 Mbit/s. No long-term test.
Orange Pi 5 Plus with a fresh BELABOX imageInstallation tested. Used out in the field for a whole day with four DJI cameras (two Action 4, one Action 5 Pro, one Action 6), streaming without interruption and without errors.
DJI Pocket 3 and other DJI modelsProtocol is there, never tested with a real camera.

A new or reset DJI camera has to be in pairing mode and confirm the pairing prompt. The Bluetooth protocol for the DJI cameras comes from the Moblin project (MIT) and has been reimplemented in the BOX.

5. Installation

You need a BELABOX with the BELABOX image, internet access on the box, and a terminal on the box (SSH or keyboard).

Do not install during a broadcast. And trust the repository: updates run code from the repository as root.
cd /tmp
wget -O irl4you-pip.tar.gz https://github.com/IRL4YOU/irl4you-pip/archive/refs/heads/main.tar.gz
tar xzf irl4you-pip.tar.gz
cd irl4you-pip-main
sudo sh install/install.sh

If wget is missing, this command works in place of the second line:

curl -L -o irl4you-pip.tar.gz https://github.com/IRL4YOU/irl4you-pip/archive/refs/heads/main.tar.gz

The installation downloads missing packages and builds the picture-in-picture component and the SRTLA sender itself. That can take a few minutes.

Then open http://<IP>:8780 in your browser and sign in with your BELABOX password. If the BELABOX has no password yet, the page asks for a setup code. The box shows it with sudo cat /var/lib/pipbox/setup-code. Then you set a password of your own.

To remove it: sudo sh install/install.sh uninstall. That removes the services and programs. The state, backups, logs, and the pipbox user stay behind.

6. Security and updates

7. Frequently asked questions

Does the BOX change anything in the BELABOX software?

No. The BOX is a standalone add-on package with its own web interface. It does not change any BELABOX files, so BELABOX updates stay possible.

Which cameras work?

RTMP cameras and DJI cameras over Bluetooth. The DJI Osmo Action 4, Action 5 Pro, and Action 6 have been tested. For the Pocket 3 and other DJI models the protocol is there, but it has never been tested with a real camera.

What happens if a camera drops out?

After 5 seconds the box switches to the remaining cameras on its own. For DJI cameras, the service reconnects after dropouts.

How do I install updates?

In the interface under “Software update”. There you can look for new versions and install them. The last 5 versions are kept as backups, and you can switch back to an older one. You do not need to run the install command again. Do not do it during a broadcast.

Can I rely on the BOX already?

It is a beta, and features can change. There has been no long-term test of the current version yet. Try it out calmly first, and keep a plan B ready for the real thing.

What does the BOX cost, and what license is it under?

It is free and open source under the MIT license. The exception is the srtla/ folder with the modified SRTLA sender, which is under AGPL-3.0 like the original.

8. Related pages

The BOX builds on a working BELABOX. These pages help before and after:

Published · Version 0.9.16 · Published by IRL4YOU