A lightweight, high-performance cross-platform camera capture library with video file playback support, plus Rust bindings.
轻量级、高性能的跨平台相机捕获库,支持视频文件播放,并提供 Rust bindings。
Hardware-accelerated conversion with AVX2, Apple Accelerate, NEON
支持 AVX2、Apple Accelerate、NEON 硬件加速
Pre-built binaries for all supported platforms
所有支持平台的预编译二进制文件
Loading release information...
正在加载版本信息...
Hardware-accelerated pixel format conversion with up to 10x speedup using AVX2, Apple Accelerate, and NEON.
硬件加速的像素格式转换,使用 AVX2、Apple Accelerate 和 NEON 可提升高达 10 倍性能。
No third-party dependencies - uses only system frameworks for maximum portability.
无第三方库依赖,仅使用系统框架,实现最大可移植性。
Native support for Windows dual backends (DirectShow by default, Media Foundation also supported), macOS/iOS (AVFoundation), and Linux (V4L2).
原生支持 Windows 双后端(默认 DirectShow,同时支持 Media Foundation)、macOS/iOS (AVFoundation) 和 Linux (V4L2)。
Support for RGB, BGR, YUV (NV12/I420) with automatic format conversion.
支持 RGB、BGR、YUV(NV12/I420)及自动格式转换。
Both modern C++ API and pure C99 interface for various project integration and language bindings.
同时提供现代 C++ API 和纯 C99 接口,支持各种项目集成和语言绑定。
Comprehensive test suite with 95%+ accuracy validation and 50+ test cases.
完整测试套件,95%+ 精度验证,50+ 测试用例。
DirectShow default + Media Foundation support
MSVC 2019+
AVFoundation
Xcode 11+, macOS 10.13+
AVFoundation
Xcode 11+, iOS 13.0+
V4L2
GCC 7+ / Clang 6+
Tony stands in the open desert, presses a button, and a single missile splits into dozens, creating a beautiful, deadly firework display. “Is it better to be feared or respected?” he quips. “I say, is it too much to ask for both?”
: The production blended practical rubber and metal armor suits with cutting-edge CGI to ground the character in reality.
In captivity, Stark meets fellow prisoner Yinsen, a brilliant physicist. Yinsen creates a magnetic chest plate powered by a car battery to keep the shrapnel from killing Stark. The terrorists demand that Stark build them a Jericho missile. Instead, Stark and Yinsen secretly construct a crude suit of armor powered by a miniature "Arc Reactor." Iron Man 1 Full Movi
The visual effects created by ILM still look spectacular today. 5. The Legacy: Launching the MCU
Jon Favreau insisted on grounding the movie in reality. The mechanical assembly of the suits, the tactile clanking of metal, and the heavy use of physical prop suits mixed with Industrial Light & Magic's CGI made the armor feel real. Character-Driven Narrative Tony stands in the open desert, presses a
Unlike many CGI-heavy films of the era, Iron Man took a grounded approach. Director Jon Favreau utilized practical effects wherever possible, giving the Mark I and Mark III suits a tangible, heavy presence on screen.
Stark is critically wounded by shrapnel and taken captive. To save his life, a fellow prisoner named Yinsen implants an electromagnet in Stark's chest to keep the shrapnel from entering his heart. Forced to build a missile for his captors, Stark instead secretively creates a miniaturized "Arc Reactor" to power his heart and a crude, armored exoskeleton—the —to escape. In captivity, Stark meets fellow prisoner Yinsen, a
He suits up, flies across the world, and lands in the middle of the warzone. The terrorists are stunned. Tony blasts their tanks, disarms them, and saves the villagers. As he flies away, a little boy watches in awe. The world sees grainy footage of the “metal man.”
: Stark faces off against his business partner and mentor, Obadiah Stane , who secretly orchestrated the kidnapping and later builds his own massive suit, the Iron Monger, to seize control of the company. Notable Features and Production
The script was not fully finished during filming. Favreau and Downey Jr. improvised much of the witty banter, creating a uniquely natural tone.
Tony unleashes the Mark I. Flamethrowers, repulsor blasts, and brute strength tear through the cave. He escapes into the desert just as the suit breaks apart. He collapses, staring at the sky.
git clone https://github.com/wysaid/CameraCapture.git
cd CameraCapture
./scripts/build_and_install.sh
include(FetchContent)
FetchContent_Declare(ccap
GIT_REPOSITORY https://github.com/wysaid/CameraCapture.git
GIT_TAG main)
FetchContent_MakeAvailable(ccap)
target_link_libraries(your_app PRIVATE ccap::ccap)
brew tap wysaid/ccap
brew install ccap
cargo add ccap-rs
# Recommended in Cargo.toml:
# ccap = { package = "ccap-rs", version = "<latest>" }
find_package(ccap REQUIRED)
target_link_libraries(your_app ccap::ccap)
| Platform平台 | Compiler编译器 | Requirements要求 |
|---|---|---|
| Windows | MSVC 2019+ | DirectShow default + Media Foundation support |
| macOS | Xcode 11+ | macOS 10.13+ |
| iOS | Xcode 11+ | iOS 13.0+ |
| Linux | GCC 7+ / Clang 6+ | V4L2 (Linux 2.6+) |
Build Requirements: CMake 3.14+, C++17 (C++ interface), C99 (C interface) 构建要求:CMake 3.14+,C++17(C++ 接口),C99(C 接口)