• Stars
    star
    188
  • Rank 204,395 (Top 5 %)
  • Language
    Python
  • License
    MIT License
  • Created over 3 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

About A python based Apple Quicktime protocol,you can record audio and video from real iOS devices

介绍

本应用程序使用 python 实现,可以通过 USB 连接 iOS 设备进行屏幕共享

  • 高帧率(30〜60fps)
  • 高画质
  • 低延迟(<200ms)
  • 非侵入性
  • 支持多设备并行

Mac OSX 安装

python >=3.7

  1. brew install libusb pkg-config
  2. 如需使用 gstreamer 则需要安装 brew install gstreamer gst-plugins-bad gst-plugins-good gst-plugins-base gst-plugins-ugly
  3. pip install ioscreen

使用

# vlc 工具播放udp地址: udp/h264://@:8880
# 转发 h264 udp 广播,Mac 本身限制了 udp 发送,延迟会越来越大(仅测试使用)
$ ioscreen --udid=xxxx udp

# 录制 h264/wav 文件
$ ioscreen --udid=xxxx record -h264File=/home/out.h264  -wavFile=/home/out.wav

# gstreamer 渲染显示画面
$ ioscreen --udid=xxxx gstreamer

QQ 交流群:37042417