Skip to content

iPad

Mirroring iPad screen on linux using AirPlay

Source: https://www.reddit.com/r/ipad/comments/g7suqg/mirroring_ipad_screen_on_linux/

# Install gstreamer
$ sudo apt install libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio
# Download gst plugin found in that reddit thread, put it in Downloads folder
$ wget https://drive.google.com/open?id=1VV53J9N3ebKOQewwvRH6Q-rhHhke0dGt -O libgstairplay.so
# Install other dependencies
$ sudo apt install autoconf automake libtool
$ sudo apt install libltdl-dev libao-dev libavahi-compat-libdnssd-dev
$ sudo apt install avahi-daemon
# Start gstreamer
$ gst-launch-1.0 --gst-plugin-load="/home/waynee95/Downloads/libgstairplay.so" airplaysrc ! queue ! h264parse ! avdec_h264 max-threads=1 ! autovideosink
# Now iPad can be connected via AirPlay (gstairplay)

Last update: December 20, 2020