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+
As they arrived at the beach, Stacey and her family spread out their blanket and started to settle in for a day of sun, sand, and sea. Mia, armed with her camera, set off to explore the shoreline. Stacey sat down with a book, enjoying the quiet moments while keeping an eye on her children.
Together, they spent the rest of the afternoon reviewing the photos, identifying the creatures Mia had captured, and learning more about them. Stacey was amazed by Mia's talent and eye for photography. The photos weren't just good; they were great, capturing the beauty and essence of the marine life. Stacey Allover30 Milf
Stacey Allover was a woman in her early thirties, often referred to as a MILF by those who knew her, an acronym that stood for "Mom I'd Like to Friend," a term that had become popular online. Stacey wasn't your typical suburban mom; she had a zest for life that was infectious. Her days were filled with a mix of taking care of her family, her part-time job, and her hobbies. As they arrived at the beach, Stacey and
Stacey had always been passionate about photography, a hobby she had picked up in her teenage years. She loved capturing moments, not just with her family, but also of the world around her. Her Instagram feed was a beautiful blend of her family life, travels, and her keen eye for photography. Together, they spent the rest of the afternoon
The next few hours were a flurry of activity. Mia ran back and forth, her camera snapping away. Stacey couldn't help but feel a sense of pride watching her daughter so engaged and passionate about her project. When Mia finally came back, she had a huge smile on her face and a series of incredible photos.
As the sun began to set, Stacey realized that this had been more than just a family outing; it had been a moment of connection, a moment of learning, and a moment of creating memories that would last a lifetime. And, as she looked at Mia, now engrossed in her project, Stacey felt grateful for being a part of her daughter's journey, not just as a mom, but as a friend and a fellow explorer of the world around them.
Stacey was more than happy to oblige. She handed over her camera, a high-quality model with a good macro lens, perfect for close-up shots of small objects. "Remember, Mia, to get really good shots, you need to be close but not too close. And always be safe," Stacey advised.
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 接口)