Project · pvr-cubox-fleetpetekaik · portfolio

Transcode once,
play forever

Two netbooted ARM boards that pre-transcode a DVB 1080i recording library in batch, so the media server can direct-play it afterwards.

What it is

Two SolidRun CuBox i4Pro boards boot over the network from a NAS: kernel over TFTP, a shared read-only Debian root over NFS, and RAM-backed writable paths. Per-device state lives in its own directory on the NAS.

They are not media servers. Live transcoding on them ran at 0.30× realtime, too slow for playback, so they run the whole transcode once, in batch, and write the result back for the x86 Jellyfin server to direct-play.

Changes are sorted into four tiers (SD card, shared image, shared dynamic layer, per-device state), and fleet-identical scripts roll out without a rebuild or reboot.

Quick start

The offline tests need no hardware and no site configuration:

git clone https://github.com/petekaik/pvr-cubox-fleet
cd pvr-cubox-fleet
for t in scripts/test-*.sh; do bash "$t"; done

Deploying needs two CuBox i4Pro boards and a NAS. Copy .env.example to .env, fill in your site values, then follow the build and boot steps in the README.