castgate encoder for Linux (64-bit)

1. Install ffmpeg:  sudo apt install ffmpeg      (Ubuntu, Debian, Mint; other systems: their ffmpeg package)
2. Start it:        ./castgate-encoder
   A page opens in your browser (or open the address it prints). Cameras are /dev/video*; your user must
   be in the "video" group (sudo usermod -aG video $USER, then log out and in). Sound comes from the
   default ALSA/PulseAudio microphone.
3. Type the address of your streaming site and the pairing code from its Overview page.
4. Choose the camera and the sound, press "Check picture and sound", then "Go Live".

The encoder sends the video over SRT and reconnects by itself if the internet drops. A copy of each
service is kept in Videos/castgate.

Raspberry Pi: use the 64-bit Raspberry Pi OS. A Pi 5 sends 720p; a Pi 4 is best at "low" (480p), because
the picture is compressed by the processor. A USB 3 capture stick for an HDMI camera goes in a blue USB 3 port.
