$ rpiplay -h
RPiPlay 1.2: An open-source AirPlay mirroring server for Raspberry Pi
Usage: rpiplay [-n name] [-b (on|auto|off)] [-r (90|180|270)] [-l] [-a (hdmi|analog|off)] [-vr renderer] [-ar renderer]
Options:
-n name Specify the network name of the AirPlay server
-b (on|auto|off) Show black background always, only during active connection, or never
-r (90|180|270) Specify image rotation in multiples of 90 degrees
-f (horiz|vert|both) Specify image flipping (horiz = horizontal, vert = vertical, both = both)
-l Enable low-latency mode (disables render clock)
-a (hdmi|analog|off) Set audio output device
-vr renderer Set video renderer to use. Available renderers:
dummy: Dummy renderer; does not actually display video [Default]
-ar renderer Set audio renderer to use. Available renderers:
dummy: Dummy renderer; does not actually play audio [Default]
-d Enable debug logging
-v/-h Displays this help and version information
● Error: Unable to locate video renderer "gstreamer".
$ cmake ..
-- OpenMAX libraries not found, skipping compilation of Raspberry Pi renderer
-- Checking for modules 'gstreamer-1.0>=1.4;gstreamer-sdp-1.0>=1.4;gstreamer-video-1.0>=1.4;gstreamer-app-1.0>=1.4'
-- No package 'gstreamer-1.0' found
-- No package 'gstreamer-sdp-1.0' found
-- No package 'gstreamer-video-1.0' found
-- No package 'gstreamer-app-1.0' found
-- GStreamer not found, skipping compilation of GStreamer renderer
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/RPiPlay/build
$ rpiplay -vr gstreamer
Error: Unable to locate video renderer "gstreamer".
Solution:
sudo apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
---
$ cmake ..
-- OpenMAX libraries not found, skipping compilation of Raspberry Pi renderer
-- Checking for modules 'gstreamer-1.0>=1.4;gstreamer-sdp-1.0>=1.4;gstreamer-video-1.0>=1.4;gstreamer-app-1.0>=1.4'
-- Found gstreamer-1.0, version 1.18.4
-- Found gstreamer-sdp-1.0, version 1.18.4
-- Found gstreamer-video-1.0, version 1.18.4
-- Found gstreamer-app-1.0, version 1.18.4
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/RPiPlay/build
[Unit]
Description=RPi Play Service
After=network.target
StartLimitIntervalSec=0
[Service]
Type=simple
Restart=always
RestartSec=1
User=pi
ExecStart=/usr/local/bin/rpiplay -b auto
[Install]
WantedBy=multi-user.target
sudo systemctl enable rpiplay
sudo reboot
$ sudo systemctl start rpiplay
Warning: The unit file, source configuration file or drop-ins of rpiplay.service changed on disk. Run 'systemctl daemon-reload' to reload units.
sudo systemctl daemon-reload
$ sudo raspi-config
2 Display Options
D4 Screen Blanking
Would you like to enable screen blanking? <No>
Screen blanking is disabled <Ok>
Raspberry Pi Software Configuration Tool (raspi-config) <Finish>
Would you like to reboot now? <Yes>