https://github.com/luke-cha/ios-screen-mirror
ios-screen-mirror
https://github.com/luke-cha/ios-screen-mirror
go ios ios-minicap ios-mirror ios-streaming iphone iphone-mirror mirror stream streaming
Last synced: about 1 year ago
JSON representation
ios-screen-mirror
- Host: GitHub
- URL: https://github.com/luke-cha/ios-screen-mirror
- Owner: luke-cha
- License: mit
- Created: 2020-06-11T07:11:34.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-27T10:49:55.000Z (about 2 years ago)
- Last Synced: 2025-05-08T03:08:20.311Z (about 1 year ago)
- Topics: go, ios, ios-minicap, ios-mirror, ios-streaming, iphone, iphone-mirror, mirror, stream, streaming
- Language: Go
- Size: 63.5 KB
- Stars: 68
- Watchers: 7
- Forks: 10
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ios-screen-mirror
This project is about the tool to transfer the screen of ios device in jpeg format to the designated place in tcp method.
- For source development, the following github contents were referenced.
- https://github.com/danielpaulus/quicktime_video_hack
- https://github.com/nanoscopic/ios_video_pull
### Environment & Build
The test was performed on macos, and it was not confirmed whether it could be performed on other os.
- go version : 1.14 (Recommended for version 1.12 or higher)
- setup
```
brew install libusb
brew install pkg-config
brew install ffmpeg
brew install gstreamer gst-plugins-bad gst-plugins-good gst-plugins-base gst-plugins-ugly
go get -v
go build
```
### Run
0. prepare ios device and connect to your mac
1. clone ios-video-stream(https://github.com/nanoscopic/ios_video_stream.git), build and run
```
git clone https://github.com/nanoscopic/ios_video_stream.git
cd ios_video_stream
go get
go build
./ios-video-stream -stream
```
2. clone this project, build and run
```
git clone https://github.com/jjunghyup/ios-screen-mirror.git
cd ios-screen-mirror
go get
go build
./ios-screen-mirror -pull
```
3. go to `http://localhost:8000` on your browser and click `open` button
### Usage
```
Usage of ./ios-screen-mirror:
-devices
List devices then exit
-file string
File to save h264 nalus into
-pull
Pull video
-pushSpec string
push image to tcp address (default "tcp://127.0.0.1:7879")
-screenRatio float
Screen reduction ratio (default 0.5)
-udid string
Device UDID
-v Verbose Debugging
```
### ETC
[in detail](https://velog.io/@chacha/아이폰-미러링-툴-소개)