pyvirtualcam如何随机推送不同的视频文件到虚拟摄像头?
网友回复
# This script plays back a video file on the virtual camera. # It also shows how to: # - select a specific camera device # - use BGR as pixel format import argparse import pyvirtualcam from pyvirtualcam import PixelFormat import cv2 parser = argparse.ArgumentParser() parser.add_argument("video_path", help="path to input video file") parser.add_argument("--fps", action="store_true", help="output fps every second") parser.add_argument("--device", help="virtual camera device, e.g. /dev/video0 (optional)") args =...
点击查看剩余70%