Part 12 of 20 in Tools we built and why. Previous: kinestride: physics for thousands of bodies at once · Next: The Mojo libraries: a shelf of small, checked parts
What this is about
A phone camera is usually better than the webcam built into a laptop. ABCam lets you use it as one. The phone records with its own camera and a hardware video encoder, and sends the video to your computer. A small desktop program, the client, receives it. You do this over a USB cable or over your Wi-Fi.
This guide is for people who have a spare Android phone and want to use it for video calls, streaming or recording. You do not need to know any programming.
Why it matters
A good webcam costs money, and a spare phone costs nothing. The camera in a modern phone has a bigger sensor and better lens than most laptop cameras. An old phone sitting in a drawer becomes useful again.
There is a second reason to care. The software comes from us, and the desktop client is open code under the Apache-2.0 license, so you can read what it does. Our privacy policy for ABCam is public too.
What you need
- An Android phone with the ABCam app. The phone app is in closed testing on Google Play, so you must join the test group first. The steps are below.
- A computer running Windows 10 or 11 (64-bit), or Linux on x86-64.
- A USB cable or a shared Wi-Fi network.
How to do it, step by step
1. Get the phone app
Google lets only members of our tester group into the test.
- Join the AMARBARO tester group on Google Groups.
- Open the ABCam test page and accept.
- Install ABCam from Google Play.
- Open the app and press Start.
2. Get the desktop client
The downloads are on the releases page of the abcam-desktop repository. Version 0.1.0 comes as two files.
| system | file | size |
|---|---|---|
| Windows 10 and 11, 64-bit | abcam-desktop-windows-0.1.0.zip | 64 MB |
| Linux, x86-64 | abcam-desktop-linux-0.1.0.tar.gz | 0.8 MB |
Check your download before you run it. On Linux, run sha256sum FILE. In Windows PowerShell, run Get-FileHash FILE. Compare the result with the list on the ABCam page.
3. Install on Windows
Unzip the archive into one folder and run amarbaro-desktop.exe. Keep the DLL files next to it. You do not need a Visual C++ runtime. One limit: this build shows the phone stream in its own window. A system camera that other Windows programs can pick is not in this version.
4. Install on Linux
Extract the archive and run amarbaro-desktop. The client needs the FFmpeg 9 shared libraries and adb from your distribution. To make the phone show up as a webcam in OBS, Firefox or Chromium, load the v4l2loopback kernel module with exclusive_caps=1. The client then writes the video into that camera device.
5. Connect
There are three ways.
- USB with adb. The fastest setup, on a phone with developer options switched on. The desktop can also start the session itself.
- Wi-Fi or USB tethering. You do not need developer options. The client reads the phone at the address its Connection screen shows.
- Push. For guest networks and firewalls. Enter the computer's address in the phone app and the phone connects to the desktop. Allow that port in the desktop firewall.
Zoom, exposure, ISO, white balance and lens changes take effect while the stream is running.
How well does it run?
On a Galaxy Z Flip4, the Linux client received 1280x720 at about 35 frames per second. The Windows 11 client received about 34. That is one phone and one computer. Your numbers will depend on your phone, your cable or your Wi-Fi, and your computer.
What it does not do yet
- The Windows build has no system camera yet. You see the stream in the ABCam window.
- The phone app is still in closed testing.
- It needs developer options on the phone for the fastest USB route.
- Only Linux x86-64 and Windows 10 and 11 are built.
Tips before your first call
- Try the cable first. A USB cable has no Wi-Fi in the way and is the simplest route to a steady picture on a phone with developer options on.
- If you use Wi-Fi, keep the phone and the computer on the same network and note the address that the phone shows.
- On a guest network that blocks devices from seeing each other, use the push route, so the phone connects out to the computer.
- Prop the phone so the camera sits at eye level, and keep it plugged in to charge.
- Change zoom and exposure while the stream is running, and watch the result in the client window before you join a call.
Words you may not know
- Webcam: a camera that sends live video to a computer.
- Client: the program on your computer that receives the video.
- Encoder: hardware that squeezes video so it travels faster.
- adb: Android Debug Bridge, a tool that lets a computer talk to a phone over USB.
- Developer options: a hidden settings menu on Android.
- v4l2loopback: a Linux module that creates a virtual camera.
- Frame rate: how many pictures per second the video shows.
- SHA-256: a fingerprint of a file, used to check a download is intact.
Try it
- Read the ABCam page for the install steps and the file fingerprints.
- Download the client from the abcam-desktop releases.
- Join the AMARBARO tester group to reach the phone app.
- Read the ABCam privacy policy.
- The code is at github.com/amarbarosys/abcam-desktop.
Read next
- kinestride: physics for thousands of bodies at once: the previous tool in this series.
- The Mojo libraries: a shelf of small, checked parts: the next post.

Commenti
Ancora nessun commento.
Accedi per commentare.