GayHubUser / ios-screen-record

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

介绍

本应用程序使用 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

About

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

License:MIT License


Languages

Language:Python 99.7%Language:Shell 0.3%