FD- / RPiPlay

An open-source AirPlay mirroring server for the Raspberry Pi. Supports iOS 9 and up.
GNU General Public License v3.0
4.91k stars 355 forks source link

Black Screen RaspberryPi 3B+ #223

Open Krathyn opened 3 years ago

Krathyn commented 3 years ago

I can connect in the sense that it sees it based on the name but I am unable to get it to actually display anything it shows connected and I get a black screen. Is there an option I am missing or maybe I’ve compiled it wrong?

joaodriessen commented 3 years ago

Same issue here Run with the option “-b off” and the screen won’t go black.

Specifically, no output on display of streamed video (and no audio). Display is connected to the HDMI output of my Raspberry Pi 3B+ running Rasbian Lite.

installed gstreamer requirements via apt-get (libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-libav gstreamer1.0-vaapi gstreamer1.0-plugins-bad)

But even with gstreamer enabled (-vr gstreamer) I don't get video output.

As for the audio problems. I have a HiFiBerry DAC+ card which I use for sound output. RPiPlay doesn't seem to have option to enable another sound card other than the built in one(?)

My system specs:

uname -a: Linux raspberrypi 5.10.17-v7+

rpiplay -h: RPiPlay 1.2 (pulled from git today)

Here's the output of RPIplay with verbose/log (-d) enabled: `

stream info: channel = 2 sample_rate = 44100 frame_size = 480 aot = 39 bitrate = 0 Initialized server socket(s) WARNING The program 'rpiplay' uses the Apple Bonjour compatibility layer of Avahi. WARNING Please fix your application to use the native API of Avahi! WARNING For more information see http://0pointer.de/blog/projects/avahi-compat.html Accepted IPv4 client on socket 15 Local: 192.168.0.180 Remote: 192.168.0.168 httpd receiving on socket 15 conn_request Handling request GET with URL /info INFO len = 1925158980 httpd receiving on socket 15 conn_request Handling request POST with URL /pair-setup httpd receiving on socket 15 conn_request Handling request POST with URL /pair-verify httpd receiving on socket 15 conn_request Handling request POST with URL /pair-verify httpd receiving on socket 15 conn_request Handling request POST with URL /fp-setup httpd receiving on socket 15 conn_request Handling request POST with URL /fp-setup httpd receiving on socket 15 conn_request Handling request SETUP with URL rtsp://192.168.0.180/15781581912212392267 DACP-ID: 48C499A56A37D911 Active-Remote: 977023130 Transport: null SETUP 1 eiv_len = 16 ekey_len = 72 fairplay_decrypt ret = 0 timing_rport = 52351 raop_ntp parse remote ip = 192.168.0.168 raop_ntp starting time raop_rtp parse remote ip = 192.168.0.168 raop_rtp_mirror parse remote ip = 192.168.0.168 raop_ntp send_len = 32 eport = 42519, tport = 53809 raop_ntp receive time type_t packetlen = 32 raop_ntp sync correction = -1616421912097038 Accepted IPv4 client on socket 17 Local: 192.168.0.180 Remote: 192.168.0.168 httpd receiving on socket 15 conn_request Handling request GET with URL /info INFO len = 1925158980 httpd receiving on socket 15 conn_request Handling request GET_PARAMETER with URL rtsp://192.168.0.180/15781581912212392267 httpd receiving on socket 15 conn_request Handling request RECORD with URL rtsp://192.168.0.180/15781581912212392267 raop_handler_record httpd receiving on socket 15 conn_request Handling request SET_PARAMETER with URL rtsp://192.168.0.180/15781581912212392267 httpd receiving on socket 15 conn_request Handling request POST with URL /feedback raop_handler_feedback raop_ntp send_len = 32 raop_ntp receive time type_t packetlen = 32 raop_ntp sync correction = 0 httpd receiving on socket 15 conn_request Handling request POST with URL /feedback raop_handler_feedback raop_ntp send_len = 32 raop_ntp receive time type_t packetlen = 32 raop_ntp sync correction = 0 httpd receiving on socket 15 conn_request Handling request POST with URL /feedback raop_handler_feedback httpd receiving on socket 15 conn_request Handling request POST with URL /feedback raop_handler_feedback raop_ntp send_len = 32 raop_ntp receive time type_t packetlen = 32 raop_ntp sync correction = 0 httpd receiving on socket 15 conn_request Handling request POST with URL /feedback raop_handler_feedback raop_ntp send_len = 32 raop_ntp receive time type_t packetlen = 32 raop_ntp sync correction = 0 httpd receiving on socket 15 conn_request Handling request POST with URL /feedback raop_handler_feedback httpd receiving on socket 15 conn_request Handling request POST with URL /feedback raop_handler_feedback raop_ntp send_len = 32 raop_ntp receive time type_t packetlen = 32 raop_ntp sync correction = 0 httpd receiving on socket 15 conn_request Handling request POST with URL /feedback raop_handler_feedback raop_ntp send_len = 32 raop_ntp receive time type_t packetlen = 32 raop_ntp sync correction = 0 httpd receiving on socket 15 conn_request Handling request POST with URL /feedback raop_handler_feedback httpd receiving on socket 15 conn_request Handling request POST with URL /feedback raop_handler_feedback raop_ntp send_len = 32 raop_ntp receive time type_t packetlen = 32 raop_ntp sync correction = 0 httpd receiving on socket 15 conn_request Handling request POST with URL /feedback raop_handler_feedback raop_ntp send_len = 32 raop_ntp receive time type_t packetlen = 32 raop_ntp sync correction = 26 httpd receiving on socket 15 conn_request Handling request POST with URL /feedback raop_handler_feedback httpd receiving on socket 15 conn_request Handling request POST with URL /feedback raop_handler_feedback raop_ntp send_len = 32 raop_ntp receive time type_t packetlen = 32 raop_ntp sync correction = 0 httpd receiving on socket 15 conn_request Handling request SET_PARAMETER with URL rtsp://192.168.0.180/15781581912212392267 httpd receiving on socket 15 conn_request Handling request TEARDOWN with URL rtsp://192.168.0.180/15781581912212392267 httpd receiving on socket 15 Connection closed for socket 15 Destroying connection raop_ntp stopping time thread raop_ntp exiting thread raop_ntp stopped time thread ^CStopping... `

rogercorrea commented 3 years ago

Same issue here. My airplay when run using "-b auto" I can select in my iPhone but my TV goes black. Running using "-b off" my TV doesn't black but I can't select my device in iPhone airplay.

rogercorrea commented 3 years ago

I tried to use Youtube or another app to video play and my TV goes black. Using "mirror display" in my iPhone, I can work fine.

cassioiks commented 2 years ago

@rogercorrea Youtube also works fine for me on both from my iPhone and MacBook, but not iPad.