应该使用哪个VisioForge .NET SDK?
四款多媒体SDK,各自针对不同场景设计。通过本指南为您的C#或.NET项目找到最合适的SDK。
快速选择指南
找到您的使用场景,查看最适合的SDK。
| 您想要构建的内容 | 推荐SDK |
|---|---|
| 将网络摄像头或USB摄像头录制到文件 | Video Capture SDK |
| 采集IP摄像头流(RTSP/ONVIF) | Video Capture SDK |
| 录制屏幕或应用程序窗口 | Video Capture SDK |
| 在应用中播放视频和音频文件 | Media Player SDK |
| 在应用中流式传输RTSP或HLS视频 | Media Player SDK |
| 裁剪、剪切和合并视频文件 | Video Edit SDK |
| 在视频片段间添加转场效果 | Video Edit SDK |
| 为视频添加文字或图像叠加层 | Video Edit SDK |
| 用图片和音乐创建幻灯片 | Video Edit SDK |
| 构建自定义管道:源 → 处理 → 编码 → 输出 | Media Blocks SDK |
| 多源实时视频合成 | Media Blocks SDK |
| RTSP采集与实时后处理 | Media Blocks SDK |
| 跨平台媒体应用(Avalonia或MAUI) | Media Blocks SDK |
| 集成Decklink、GenICam或NVIDIA硬件 | Media Blocks SDK |
SDK概览
Video Capture SDK .Net
从网络摄像头、IP摄像头(RTSP/ONVIF)、屏幕和HDMI设备采集视频。录制为MP4、AVI、MKV或推流至RTMP/YouTube Live。采集过程中实时应用特效和叠加层。
Media Player SDK .Net
播放视频和音频文件(MP4、AVI、MKV、MP3)及网络流(RTSP、HLS、MPEG-DASH),支持硬件加速解码。支持定位、变速、帧提取和播放控制。
Video Edit SDK .Net
基于时间线的视频编辑 — 裁剪、剪切、合并文件、转场、文字和图像叠加层、音频混合。支持硬件加速编码,输出为MP4、AVI、MKV、WebM。
Media Blocks SDK .Net
模块化管道框架 — 连接源、处理和输出模块,构建自定义多媒体工作流。完全控制编码、解码、特效链和多路输出路由。
功能对比
| 功能 | Video Capture SDK .Net | Media Player SDK .Net | Video Edit SDK .Net | Media Blocks SDK .Net |
|---|---|---|---|---|
| 网络摄像头 / USB摄像头采集 | ✔ | — | — | ✔ |
| IP摄像头(RTSP / ONVIF) | ✔ | playback | — | ✔ |
| 屏幕采集 | ✔ | — | — | ✔ |
| 文件播放 | — | ✔ | — | ✔ |
| 时间线编辑 | — | — | ✔ | — |
| 视频转场 | — | — | ✔ | — |
| 文字 / 图像叠加层 | ✔ | ✔ | ✔ | ✔ |
| 实时视频合成 | ✔ | — | — | ✔ |
| 自定义处理管道 | — | — | — | ✔ |
| 硬件加速(GPU) | ✔ | ✔ | ✔ | ✔ |
| 网络流媒体输出 | ✔ | — | ✔ | ✔ |
| 跨平台(Win / Mac / Linux) | ✔ | ✔ | ✔ | ✔ |
| 移动端(Android / iOS) | ✔ | ✔ | ✔ | ✔ |
| Unity 6 支持 | ✔ | ✔ | ✔ | ✔ |
可以组合使用SDK吗?
可以。每个SDK都是独立的NuGet包。您可以在同一项目中使用多个SDK — 例如用Video Capture SDK采集视频,再用Video Edit SDK编辑录像。所有SDK共享相同的平台依赖,因此组合使用只会带来极小的额外开销。
Build with AI coding agents
Pairing with an AI agent — Claude Code, Cursor, GitHub Copilot, Gemini CLI, OpenAI Codex? VisioForge publishes machine-readable surfaces for VisioForge .NET SDKs so your agent gets the integration right the first time: the right NuGet packages, license registration, project setup, and the cross-platform deployment details it would otherwise have to guess at.
Connect the MCP server
MCPAdd the VisioForge MCP server to your agent for contextual help — search the API, look up classes and members, fetch working code examples, and pull deployment guides, directly inside your editor.
Claude Code
claude mcp add --transport http visioforge-sdk https://mcp.visioforge.com/mcpVS Code (.vscode/mcp.json)
{
"servers": {
"visioforge-sdk": {
"type": "http",
"url": "https://mcp.visioforge.com/mcp"
}
}
}Load an Agent Skill
Agent SkillsWe publish a downloadable skill for every (SDK, platform) combination — for VisioForge .NET SDKs, a ready-made SKILL.md per platform (which NuGet packages, license code, csproj setup, common pitfalls) plus a working sample project your agent can copy from. Compatible with Claude Code, Cursor, OpenAI Codex, Gemini CLI and 30+ other agents (Cloudflare Agent Skills RFC).
Point your agent at the skills index
https://www.visioforge.com/.well-known/agent-skills/index.jsonPrefer to feed the entire documentation to your agent? It is also available as plain markdown: /llms.txt · /llms-full.txt
准备好开始了吗?
选择您的SDK,浏览文档,或查看GitHub上的代码示例。
