Xmeye-linux
Let's put it all together. Suppose you have an XMeye DVR with 4 cameras, and you want a Linux server to record only when motion is detected, bypassing the DVR's internal motion handling.
All of this runs headless, consumes minimal CPU (since the video is not re-encoded), and is completely independent of the DVR's own recording schedule.
Date: October 26, 2023 | Category: Security & Open Source
For years, the security camera industry has been notoriously fragmented. Hardware manufacturers often lock users into proprietary Windows software or clunky mobile apps. Enter xmeye-linux—a game-changing solution for system administrators, IoT hobbyists, and privacy-focused users who want to manage their XMeye-based IP cameras (H.264/H.265) natively on Linux distributions like Ubuntu, Debian, CentOS, and Raspberry Pi OS. xmeye-linux
This article dives deep into what xmeye-linux is, how to install and compile it, advanced command-line tricks, and why this tool is essential for modern surveillance stacks.
| Feature | xmeye-linux | FFmpeg (RTSP) | openRTSP | | :--- | :--- | :--- | :--- | | P2P Cloud Bypass | Yes (Direct IP) | No (Needs RTSP URL) | No | | PTZ Control | Native | Requires CGI scripting | No | | Two-Way Audio | Supported | No | No | | Configuration Backup | Full binary | None | None | | Ease of Use | Moderate (CLI) | Easy (Known URLs) | Complex |
Verdict: Use FFmpeg if you just want the RTSP stream (rtsp://admin:pass@192.168.1.120:554). Use xmeye-linux if you need management (PTZ, firmware, events). Let's put it all together
Because xmeye-linux is not a packaged application in standard repositories (Debian/Ubuntu/Fedora), installation is usually from source or via third-party PPAs (Personal Package Archives) for Ubuntu/Debian.
Typical dependencies:
Basic build from source:
git clone https://github.com/username/xmeye-linux # Note: multiple forks exist
cd xmeye-linux
make
sudo make install
Many forks are single-file C/C++ projects, making cross-compilation for ARM (Raspberry Pi, Orange Pi, Rockchip) trivial—a major advantage for embedded Linux surveillance.
Once installed, the primary command is xmeye-cli. Here is a basic connection string:
xmeye-cli --ip 192.168.1.120 --port 34567 --user admin --pass 123456 --cmd get_info
Expected output:
Device Name: IPCamera_04F2
Firmware: V4.02.R12.00006510.10010.160900
Alarm Status: None
Disk Capacity: 32GB (14% used)
| Component | Description |
|-----------|-------------|
| xmeye binary | Command-line or GUI client for local/remote access |
| libxmeye.so | Core SDK library for decoding video (H.264/H.265) |
| Network protocol | Typically P2P (using XMeye's proprietary handshake) or direct IP/RTSP |
Note: Official packages vary. The most robust version is often found on GitHub repositories like mudomel/xmeye or OpenIPC/xmeye-client.