FDH2 / UxPlay

AirPlay Unix mirroring server
GNU General Public License v3.0
1.53k stars 78 forks source link

No Video output on arch Linux #293

Closed PancakecatfromSpace closed 4 months ago

PancakecatfromSpace commented 4 months ago

I've been trying to get the Video output of uxplay going on my PC for a while now and I've encountered some issues regarding the Video output. There is a similar issue open #291 so I've looked into the version of gstreamer and I'm on gstreamer 1.24.3-1 and uxplay 1:1.68.3-1. The AUR has as mentioned been updated so I should not be affected by this issue. There is no issue connecting with uxplay though and it plays audio as expected, there is no video output. To me this apears like a dependency issue, so I've double checked the dependencies listed on the AUR and the manual listed here. The gstreamer plugins are installed and on the current version and I've also installed the packages mentioned under "building on non debian linux and *BSD" but I still get no Video output. I included the output of neofetch, nvidia-smi and the output of uxplay with the -d option enabled. (I connected my phone to my pc and played a video for a couple of secconds). I hope this is helpful. debug.zip

fduncanh commented 4 months ago

The debug output you sent show that what you were receiving was audio only. So it's not surprising that no video was shown.

maybe you tried to watch a youtube video in "videostreaming mode?" This is not supported. Use mirror mode. (which mirrors what is showing on the client's screen).

The README says

As UxPlay does not support non-Mirror AirPlay2 video streaming (where the client controls a web server on the AirPlay server that directly receives content to avoid it being decoded and re-encoded by the client), using the icon for AirPlay video in apps such as the YouTube app will only send audio (in lossless ALAC format) without the accompanying video.

At some point, videostreaming (where the client sends a html link to the server, which downloads the video directly from the internet, bypassing the client) might be supported: we now have access to the protocol details, but it would be a major coding job, perhaps for a uxplay 2.x)

PancakecatfromSpace commented 4 months ago

It was my fault, I assumed mirror mode was something concerning uxplay and not my phone. I was unfamiliar with the term mirror mode since my UI is in german where it is called "Bildschirmsynchonisation"