Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
jasonsalex
/
Virtual-Device-Camera
Public
Notifications
You must be signed in to change notification settings
Fork
83
Star
144
Code
Issues
1
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Files
Expand file tree
master
Breadcrumbs
Virtual-Device-Camera
/
使用说明.txt
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
15 lines (13 loc) · 768 Bytes
master
Breadcrumbs
Virtual-Device-Camera
/
使用说明.txt
Copy path
Top
File metadata and controls
Code
Blame
15 lines (13 loc) · 768 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
这个是开发符合UVC标准的USB模拟数据包来模拟虚拟摄像头。
首先进入“虚拟端驱动-最新-2016-10月份”, 按照里边的说明安装USB虚拟总线驱动,
64位驱动没签名,若要安装成功,需要你自己签名处理.
然后,就可以编译运行程序xusb_vcam,会生成2个虚拟实例摄像头,
摄像头是符合UVC协议标准的免驱的。
可以按照正常使用摄像头的用法来使用虚拟摄像头。
src 目录里边的 old-drv-interface 目录是使用发布到CSDN上的
http://download.csdn.net/detail/fanxiushu/9538188 驱动代码的接口部分代码,
若想开发自己的虚拟USB总线驱动,和自己的USB虚拟摄像头,
则可下载上边连接提供的驱动代码,并且编译测试。
代码作为例子,并没提供实际的数据源,只是在main.cpp代码中简单的动态模拟了一段文字大小不断变化。
你若有实际需要,可自行扩展功能,
但是慎重申明,请勿使用本代码作为基础开发出具有欺骗性功能的摄像头从事欺诈活动.
You can’t perform that action at this time.