# 使用 Homebrew 安装 somagic

查看 somagic 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:somagic
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install somagic
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:somagic
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/somagic>
- **版本:** 1.1
- **来源摘要:** Linux capture program for the Somagic variants of EasyCAP
- **主页:** <https://code.google.com/archive/p/easycap-somagic-linux/>
- **上游文档:** <https://code.google.com/archive/p/easycap-somagic-linux/>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/easycap-somagic-linux/somagic-easycap_1.1.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- somagic-capture (cli)
- somagic-init (cli)
- somagic-capture (别名)
- somagic-init (别名)

## 依赖

- libgcrypt
- libusb
- somagic-tools

## 安装行为

- post-install 钩子: 未定义
- 注意事项: Before running somagic-capture you must extract the official firmware from the CD. See https://code.google.com/archive/p/easycap-somagic-linux/wikis/GettingStarted.wiki for details.
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.1
- 本地数据: OK
- 上游仓库: https://code.google.com/archive/p/easycap-somagic-linux/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

somagic is the Linux capture package for Somagic variants of EasyCAP USB video capture devices. It provides `somagic-init` to upload firmware and reconnect the device, and `somagic-capture` to initialize registers and stream video.

### 项目历史

The somagic-easycap 1.0 changelog records an initial release on 24 February 2012. Version 1.1 followed on 10 March 2013 with support for the 1c88:003f EasyCAP002 variant, a skip-check option in `somagic-init`, input-selection options in `somagic-capture`, and support for the 1c88:003d EzCAP USB 2.0 capture path.

The README and manual pages present the project as a small C/libusb toolchain rather than a desktop video app: upload firmware, initialize hardware, then write captured video data for another program to consume.

### 采用历史

The upstream project is archived on Google Code, but the Homebrew formula still packages version 1.1 with libusb, libgcrypt, and `somagic-tools` dependencies. Formula analytics show very small but continuing usage, typical for old hardware support packages.

### 使用方式

Before using `somagic-capture`, users must extract the official firmware from the device CD with `somagic-tools`. The man pages note that `somagic-init` and `somagic-capture` usually need root access because they interact directly with the USB capture device.

### 为什么软件包爱好者会关心

somagic matters because package managers often become the last clean distribution path for obscure but useful hardware utilities. The split between firmware extraction and capture also shows a common packaging pattern: ship the open tool, require the user to supply vendor firmware.

### 时间线

- 2012: somagic-easycap 1.0 initial release.
- 2013: somagic-easycap 1.1 adds EasyCAP002 and EzCAP USB 2.0 support.
- Current: Homebrew packages version 1.1 as `somagic` with a dependency on `somagic-tools`.

### Related projects

- `somagic-tools` extracts firmware for use by `somagic-init`.
- libusb provides USB device access.
- libgcrypt is listed as a build/runtime dependency in the upstream README and Homebrew formula.

### 来源

- <https://code.google.com/archive/p/easycap-somagic-linux>
- <https://formulae.brew.sh/api/formula/somagic.json>
- <https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/easycap-somagic-linux/somagic-easycap_1.1.tar.gz>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** somagic
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Archive and compression packages](https://pkg.so/zh-hans/archive-compression-tools/) - Matched archive or compression metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://pkg.so/zh-hans/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [libgcrypt](https://pkg.so/zh-hans/brew/libgcrypt/) - Runtime dependency declared by Homebrew.
- [somagic-tools](https://pkg.so/zh-hans/brew/somagic-tools/) - Runtime dependency declared by Homebrew.
- [alsa-lib](https://pkg.so/zh-hans/brew/alsa-lib/) - Shares pkgdb curated category or tags: cli, linux, media.
- [pulseaudio](https://pkg.so/zh-hans/brew/pulseaudio/) - Shares pkgdb curated category or tags: cli, linux, media.
- [pipewire](https://pkg.so/zh-hans/brew/pipewire/) - Shares pkgdb curated category or tags: cli, linux, media.
- [libgphoto2](https://pkg.so/zh-hans/brew/libgphoto2/) - Shares pkgdb curated category or tags: cli, media, usb.
- [minidlna](https://pkg.so/zh-hans/brew/minidlna/) - Shares pkgdb curated category or tags: cli, linux, media.
- [airspy](https://pkg.so/zh-hans/brew/airspy/) - Shares pkgdb curated category or tags: cli, media, usb.
- [airspyhf](https://pkg.so/zh-hans/brew/airspyhf/) - Shares pkgdb curated category or tags: cli, media, usb.
- [clamz](https://pkg.so/zh-hans/brew/clamz/) - Local package facts share a topical domain. Shared terms: cli, libgcrypt, media.
- [lib3ds](https://pkg.so/zh-hans/brew/lib3ds/) - Local package facts share a topical domain. Shared terms: cli, media.

## Combined YAML source

View the package source record on GitHub. [combined/somagic.yml](https://github.com/mxcl/pkgdb/blob/main/combined/somagic.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
