pi-apps icon indicating copy to clipboard operation
pi-apps copied to clipboard

rpi-play app request

Open CleanMachine1 opened this issue 3 years ago • 80 comments

Hi, this is my first real commit for your project other than changing txt! I may have a few errors you can iron out! I haven't tested my work as I couldn't get pi-apps settings to work very well on LM x86, sorry in advance!

I have only followed the template, so you may need to add some edits to separate files to make it appear in the menu

Also I didn't understand how the "${DIRECTORY}/pkg-install" bit works so I have installed the dependencies just through apt.

Sorry/You're welcome

CleanMachine1 avatar Mar 20 '21 20:03 CleanMachine1

zips are prefered for apps, read the readme part about creating apps and use pi-apps's app creation tool.

Itai-Nelken avatar Mar 20 '21 20:03 Itai-Nelken

Does this mean I have to rewrite?

CleanMachine1 avatar Mar 20 '21 20:03 CleanMachine1

to write a app that is eligible script-wise for pi-apps you have to use the pi-apps app creator.

for example RPi-play only works on 32bit, that means that the install script has to be named install-32 and pi-apps will hide the app on 64bit systems.

and you have to use pkg-install to install any dependencies and purge-installed to remove them. a side note: cmake isn't a run-time dependency, meaning its not needed to run the app.

@CleanMachine1 if you want I will copy and slightly modify your script into a zip (you will be in the credits of course), but I suggest you do it so you learn for the next time.

I highly recommend you read the official pi-apps documentaion on how to create apps: https://github.com/Botspot/pi-apps#to-do scroll down and click on creating an app to expand them.

Itai-Nelken avatar Mar 20 '21 21:03 Itai-Nelken

Ah I fixed the issue with using the settings, give me 10 mins

PS: I would have really liked the contribution but the credits is good enough i guess :)

CleanMachine1 avatar Mar 20 '21 21:03 CleanMachine1

In the progress of making it right now

The feeling of a PR getting accepted is a nice feeling!

CleanMachine1 avatar Mar 20 '21 21:03 CleanMachine1

to write a app that is eligible script-wise for pi-apps you have to use the pi-apps app creator.

Well not necessarily, but this is how it works in practice. You will have a harder time getting the scripts working without the App Creator Wizard Tool Utility Widget Application thing.
Is it possible to live without it? Sure. But why would you?

PS. @CleanMachine1 if you are confused by anything on the documentation for creating an app, let me know. (I had a hard time balancing informational content, with readability.

Botspot avatar Mar 20 '21 21:03 Botspot

OK I have finished copying files to the zip! RPi-Play.zip

I will learn, and may work on this project in the future Remember I haven't tested this at all because I don't know where to begin but they seemed to go through the script checking thing with only warnings

CleanMachine1 avatar Mar 20 '21 21:03 CleanMachine1

This is actually really good for a first try.
Comments on your install script:

wget https://github.com/chunky-milk/raspbian_repository/blob/master/debian/pool/rpiplay_20210320-1_armhf.deb -O /tmp/rpiplay.deb|| error 'Failed to download .deb file'

I think it'll be necessary to put a space between the deb and the ||.

sudo apt install libavahi-compat-libdnssd-dev libplist-dev libssl-dev -y || error 'Failed to install dependencies'

Here's the pkg-install equivalent:

"${DIRECTORY}/pkg-install" "libavahi-compat-libdnssd-dev libplist-dev libssl-dev" "$(dirname "$0")" || exit 1

sudo apt install /tmp/rpiplay.deb --fix-missing -y > || error 'Failed to install rpiplay.deb'

I'm not sure why there's a > there, but I'll remove it as it does nothing.

sudo rm /tmp/rpiplay.deb || error 'Failed to remove rpiplay.deb due to it not being required'

Let's think objectively: what permissions does the rpiplay.deb file have? We downloaded it with wget. No sudo was used to run wget, so it shouldn't be necessary to remove the file with sudo either.

That's it for the install script! Great job.

Uninstall script:
Again I'm implementing the Pi-Apps pkg-install standard.
Original uninstall script:

sudo apt purge rpiplay libavahi-compat-libdnssd-dev libplist-dev libssl-dev -y || error 'Failed to remove dependencies'
sudo apt autoremove -y && sudo apt clean || error 'Failed to clean system'

New uninstall script:

sudo apt purge rpiplay || error "apt failed to remove rpiplay"

"${DIRECTORY}/purge-installed" "$(dirname "$0")" || exit 1

Botspot avatar Mar 21 '21 00:03 Botspot

First error:

Installing RPi-Play with install script
--2021-03-20 19:11:10--  https://github.com/chunky-milk/raspbian_repository/blob/master/debian/pool/rpiplay_20210320-1_armhf.deb
Resolving github.com (github.com)... 140.82.112.4
Connecting to github.com (github.com)|140.82.112.4|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-03-20 19:11:10 ERROR 404: Not Found.

Failed to download .deb file

Botspot avatar Mar 21 '21 00:03 Botspot

@Botspot new link: https://github.com/chunky-milk/raspbian-addons/raw/master/raspbian-addons/pool/main/r/rpiplay/rpiplay_20210320-1_armhf.deb

Itai-Nelken avatar Mar 21 '21 00:03 Itai-Nelken

Anyway to keep the file updated from @chunky-milk?

CleanMachine1 avatar Mar 21 '21 00:03 CleanMachine1

@Botspot new link: https://github.com/chunky-milk/raspbian-addons/raw/master/raspbian-addons/pool/main/r/rpiplay/rpiplay_20210320-1_armhf.deb

Didn't work.

Installing RPi-Play with install-32 script
--2021-03-20 19:13:54--  https://github.com/chunky-milk/raspbian_repository/blob/master/debian/pool/rpiplay_20210320-1_armhf.deb
Resolving github.com (github.com)... 140.82.113.3
Connecting to github.com (github.com)|140.82.113.3|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-03-20 19:13:54 ERROR 404: Not Found.

Failed to download .deb file

Botspot avatar Mar 21 '21 00:03 Botspot

Give me a min, and I'll get teh raw.github....

CleanMachine1 avatar Mar 21 '21 00:03 CleanMachine1

here is the raw link: https://github.com/chunky-milk/raspbian-addons/raw/master/raspbian-addons/pool/main/r/rpiplay/rpiplay_20210320-1_armhf.deb?raw=true

Itai-Nelken avatar Mar 21 '21 00:03 Itai-Nelken

here is the raw link: https://github.com/chunky-milk/raspbian-addons/raw/master/raspbian-addons/pool/main/r/rpiplay/rpiplay_20210320-1_armhf.deb?raw=true

Still!

Installing RPi-Play with install-32 script
--2021-03-20 19:18:51--  https://github.com/chunky-milk/raspbian_repository/blob/master/debian/pool/rpiplay_20210320-1_armhf.deb
Resolving github.com (github.com)... 140.82.112.4
Connecting to github.com (github.com)|140.82.112.4|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-03-20 19:18:51 ERROR 404: Not Found.

Failed to download .deb file

Botspot avatar Mar 21 '21 00:03 Botspot

Oh. I figured out what happened.

  1. Open the install file with a text editor.
  2. Rename the file to install-32.
  3. Proceed to continue making edits to the install file and wonder why nothing's working.

Botspot avatar Mar 21 '21 00:03 Botspot

@Botspot that's a different link, use https://github.com/chunky-milk/raspbian-addons/raw/master/raspbian-addons/pool/main/r/rpiplay/rpiplay_20210320-1_armhf.deb?raw=true

ryanfortner avatar Mar 21 '21 00:03 ryanfortner

https://raw.githubusercontent.com/chunky-milk/raspbian-addons/master/pool/main/r/rpiplay/rpiplay_20210320-1_armhf.deb

CleanMachine1 avatar Mar 21 '21 00:03 CleanMachine1

@Botspot that's a different link, use https://github.com/chunky-milk/raspbian-addons/raw/master/raspbian-addons/pool/main/r/rpiplay/rpiplay_20210320-1_armhf.deb?raw=true

Yes, I know. The problem was on my end, as I was editing the wrong file. After opening install-32 and changing the url there, it downloaded fine.

Botspot avatar Mar 21 '21 00:03 Botspot

Oh. I figured out what happened.

  1. Open the install file with a text editor.
  2. Rename the file to install-32.
  3. Proceed to continue making edits to the install file and wonder why nothing's working.

Ohhh, I thought I was doing something wrong because it was creating a install32 file, so I changed it to just install as it made more sense to me, but now thinking about it, having a 32bit only file makes sense for it to say

CleanMachine1 avatar Mar 21 '21 00:03 CleanMachine1

It installed successfully.

How do I run/test this now?

Botspot avatar Mar 21 '21 00:03 Botspot

you need an iOS device...

CleanMachine1 avatar Mar 21 '21 00:03 CleanMachine1

However, running it should change your entire screen to a black screen, waiting for an input from an iOS device (I think its esc or alt+f4 to escape)

CleanMachine1 avatar Mar 21 '21 00:03 CleanMachine1

you need an iOS device...

Well I don't have any of those.

But is there supposed to be a menu button somewhere? How would I test that it installed successfully and is usable?

Botspot avatar Mar 21 '21 00:03 Botspot

We could have the script create a desktop shortcut.

ryanfortner avatar Mar 21 '21 00:03 ryanfortner

However, running it should change your entire screen to a black screen, waiting for an input from an iOS device (I think its esc or alt+f4 to escape)

That's what I'm trying to ask. How can I run it?

Botspot avatar Mar 21 '21 00:03 Botspot

try running rpi-play or rpiplay in the terminal

CleanMachine1 avatar Mar 21 '21 00:03 CleanMachine1

Been 5 mins, must be stuck on a black screen :laughing:

CleanMachine1 avatar Mar 21 '21 00:03 CleanMachine1

You could probably check its working by switch to tty1 and running sudo apt install nmap nmap localhost and checking for 443 and 554 in the ports because they are the open ports required for airplay/rpiplay

CleanMachine1 avatar Mar 21 '21 00:03 CleanMachine1

Been 5 mins, must be stuck on a black screen 😆

It worked. rpiplay caused a black screen like you said it would.

But I was not able to find a way to exit.

Alt+F4 did nothing. I managed to close all my windows (text editors, virtual machines, Libreoffice, Discord...) and still nothing happened.
I tried doing the keyboard shortcut that runs xkill to terminate the process. Nothing.
I tried going to the console, but even that was covered in black.
Finally, I went back to the desktop framebuffer and by slowly moving my mouse, I located the terminal that had launched rpiplay and pressed Ctrl+C.
Aftermath: I'm never going to run rpiplay again! (just kidding, but before I run it again, I want to know it'll be easier to close next time)

Botspot avatar Mar 21 '21 00:03 Botspot

@Botspot did you try pressing Ctrl+C while at the black screen? That always worked for me.

ryanfortner avatar Mar 21 '21 00:03 ryanfortner

@Botspot did you try pressing Ctrl+C while at the black screen? That always worked for me.

That's what I finally ended up doing, but it was the last thing I tried.

Botspot avatar Mar 21 '21 00:03 Botspot

Maybe we should add something inbetween the .desktop file pointing to rpiplay eg: parameters.desktop < rpiplayerlauncher.desktop -- rpiplay

I feel this is required as there are a lot of useful parameters inside of rpiplay

-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.

-l: Enables low-latency mode. Low-latency mode reduces latency by effectively rendering audio and video frames as soon as they are received, ignoring the associated timestamps. As a side effect, playback will be choppy and audio-video sync will be noticably off.

-a (hdmi|analog|off): Set audio output device

-vr renderer: Select a video renderer to use (rpi, gstreamer, or dummy)

-ar renderer: Select an audio renderer to use (rpi, gstreamer, or dummy)

-d: Enables debug logging. Will lead to choppy playback due to heavy console output.

-v/-h: Displays short help and version information.
```

CleanMachine1 avatar Mar 21 '21 00:03 CleanMachine1

For a basic start, I think we should just default it to use -a hdmi as most probably use hdmi sound, right?

CleanMachine1 avatar Mar 21 '21 01:03 CleanMachine1

For a basic start, I think we should just default it to use -a hdmi as most probably use hdmi sound, right?

Who made this software? It ought to automatically select the global default audio output device. (ALSA or Pulseaudio settings)

Botspot avatar Mar 21 '21 01:03 Botspot

For a basic start, I think we should just default it to use -a hdmi as most probably use hdmi sound, right?

Who made this software? It ought to automatically select the global default audio output device. (ALSA or Pulseaudio settings)

FD- was the creator, maybe check the gh for all the answers

CleanMachine1 avatar Mar 21 '21 01:03 CleanMachine1

zenity.sh.zip Here contains a zenity GUI which should be the part executed in the desktop file

Its a small zenity GUI which asks for the input from radiobuttons and depending on the output will run rpiplay

CleanMachine1 avatar Mar 21 '21 16:03 CleanMachine1

Sorry for being a little obnoxious with message spam but, how long does it take for an app to be approved

CleanMachine1 avatar Mar 21 '21 21:03 CleanMachine1

Sorry for being a little obnoxious with message spam but, how long does it take for an app to be approved

It really depends on how much time I have, and what needs to be done.

Its a small zenity GUI which asks for the input from radiobuttons and depending on the output will run rpiplay

Oh fascinating. But I think more importantly, if rpiplay was being run from the menu, there would be no terminal to send a Ctrl+C to.
How would it be possible to exit rpiplay?

Botspot avatar Mar 22 '21 14:03 Botspot

I believe its just Ctrl+C, regardless of the terminal

However I put an issue in RPi-Play a few days back Issue but haven't received any replies, just like most issues

CleanMachine1 avatar Mar 22 '21 15:03 CleanMachine1

I believe its just Ctrl+C, regardless of the terminal

However I put an issue in RPi-Play a few days back Issue but haven't received any replies, just like most issues

No, Ctrl+C only works if you ran it from a terminal.
If you ran rpi-play from Start menu -> Run, there would literally be no possible way to exit rpiplay.
Same with a menu launcher: there would be no possible way to exit rpiplay.

I think that if this app was added now, users would find it very frustrating to have to unplug their Pies in order to exit rpiplay.

This app needs to be improved before it can be added to pi-apps. I'd like to see a feature where pressing any key or wiggling the mouse will exit rpiplay.
Wait, that's it! Maybe it would work to run rpiplay as a screensaver. Then the screensaver daemon would kill rpiplay when the user pressed a key or wiggled the mouse. IDK how to do that though.

Botspot avatar Mar 22 '21 15:03 Botspot

I have a different idea, we can run RPi-Play from a script that traps ctrl+c and kills rpi-play. though I'm not sure if it will work without the terminal window open.

Itai-Nelken avatar Mar 22 '21 15:03 Itai-Nelken

Or just run it with a terminal..

Use the terminal run config thing to use a terminal

CleanMachine1 avatar Mar 22 '21 15:03 CleanMachine1

I have a different idea, we can run RPi-Play from a script that traps ctrl+c and kills rpi-play. though I'm not sure if it will work without the terminal window open.

Think about it this way: how many beginner users would ever think to use Ctrl+C? Few.
I think it would be a lot safer for it to exit when pressing any key or moving the mouse.

Oh I just realized: we could use xprintidle and a simple bash script.

Botspot avatar Mar 22 '21 15:03 Botspot

I have a different idea, we can run RPi-Play from a script that traps ctrl+c and kills rpi-play. though I'm not sure if it will work without the terminal window open.

Think about it this way: how many beginner users would ever think to use Ctrl+C? Few. I think it would be a lot safer for it to exit when pressing any key or moving the mouse.

Oh I just realized: we could use xprintidle and a simple bash script.

Sorry to say but have you thought about the consequences of that

Anyone with a trackpad: ruined with a nudge

Anyone with a broken mouse: ruined

Anyone near a keyboard: ruined with a nudge

Later I will test on one of my pis to see what exits the program

CleanMachine1 avatar Mar 22 '21 16:03 CleanMachine1

I have found a great solution after reading the documentation again -b (on|auto|off): Show black background always, only during active connection, or never.

don't know whether auto or off is better, have to test in an hour

CleanMachine1 avatar Mar 22 '21 16:03 CleanMachine1

OK, I am back with great results how ever they come at a cost

Opening through run (without terminal): Nothing happens, the server doesn't show up onto airplay

Opening through terminal with command rpiplay -l -b auto: (the L stands for low latency as it tends to work cleaner) CTRL+C allows for exit (because of terminal) the black screen only appears during active connections from the ios device as soon as the connection is ended, the black border goes away

Opening through terminal with command rpiplay -l -b off (Same L applies from prev command) Ctrl+C still works if needed Without black border, it makes the output on the pi very ugly as it overlaps what ever is beneath

Personally I think we have struck gold here with -b auto The auto command seems the most sensible and I will add an update to the zenity.sh.zip folder to add a note regarding exiting

CleanMachine1 avatar Mar 22 '21 17:03 CleanMachine1

Is there anything missing from this app going live?

CleanMachine1 avatar Mar 22 '21 22:03 CleanMachine1

Is there anything missing from this app going live?

My time. And the fact that this app seems incomplete still.
Your latest zip only contained a single bash script for zenity. How does that integrate with the existing app? Where is the menu button that runs it in a terminal?

Botspot avatar Mar 23 '21 03:03 Botspot

Well I suppose I require your help with this part, I have made the bash zenity script which be run (still needs to be updated which a terminal bit but that can be done in the desktop file)

The menu button will have to be done by you as I wouldn't even know how to begin

CleanMachine1 avatar Mar 23 '21 15:03 CleanMachine1

Hi, I have been working for another hour and have packaged a new version for the actual .deb file

I don't know whether you trust where ever chunky-milk got his .deb from but I packaged it from a RPi-4B 2GB from source

Also I have made a .desktop file and here is its contents to add to the install32 file

[Desktop Entry] Type=Application Name=RPi-Play Comment=Share your iOS device to your screen! Exec=/bin/bash -c '$HOME/Desktop/zenity.sh' (THIS WORKS BUT NEEDS CHANGING TO WHERE ZENITY.sh WILL BE) Icon= ? FILL ME Terminal=true X-KeepTerminal=true

#Unaware whether the icon will appear as to get #Unaware what the directory to the zenity script will be (Please fill in)

Finally I have also edited the zenity script to launch rpiplay into a terminal for people to use to escape, thats in the zip as well

CleanMachine1 avatar Mar 23 '21 22:03 CleanMachine1

PS the way the chunky-milk executable was compiled was with checkinstall while I used dpkg-deb --build rpiplay/

Unaware which is better but you can see my method of learning by visiting my RPi-Stuff repo and looking in makingdebs for a link

Also if wanted I have put the .deb file inside of one of my repos

heres the command you can use in the install script

wget https://raw.githubusercontent.com/CleanMachine1/RPi-Stuff/main/debfiles/rpiplay.deb

I'll keep it updated whenever I see it getting an update

CleanMachine1 avatar Mar 23 '21 22:03 CleanMachine1

@Botspot I think my part is done, you can find here A desktop entry with some fill the gaps, WHICH WILL RUN THE ZENITY SCRIPT.sh A final version of rpiplay.deb if needed A zenity script which now works and opens a terminal containing the chosen command

(The caps are just to make sure its remembered, not trying to be rude)

CleanMachine1 avatar Mar 24 '21 14:03 CleanMachine1

We'll see what this issue turns up: https://github.com/FD-/RPiPlay/issues/237

Botspot avatar Mar 24 '21 18:03 Botspot

@Botspot Whats wrong with the official airplay logo?

Apple link regarding airplay logo

CleanMachine1 avatar Mar 24 '21 18:03 CleanMachine1

@Botspot Whats wrong with the official airplay logo?

Apple link regarding airplay logo

I wasn't happy with how it was both blurry and unnecessarily small.
For the time being, I've re-done the icons and made them pixel-perfect.
icon-24 icon-64

But if someone on RPi-Play wants to make their own custom icon, we'll switch to that then.

Botspot avatar Mar 24 '21 18:03 Botspot

@Botspot

NoozAbooz avatar Apr 05 '21 22:04 NoozAbooz

The deb is being worked on. https://github.com/CleanMachine1/RPi-Stuff/issues/1

Botspot avatar Apr 28 '21 21:04 Botspot

The deb is being worked on. CleanMachine1/RPi-Stuff#1

Nope, sorry can't get checkinstall to work nicely with cmake...

CleanMachine1 avatar Apr 28 '21 21:04 CleanMachine1

@Botspot Could you provide what files you currenly have since I have lost the updated files for the install

CleanMachine1 avatar Apr 28 '21 21:04 CleanMachine1

Heres a guide to everything

I have the zenity script - we need to setup so that it uses terminal run The desktop entry needs run zenity.sh, since this is the config menu for the user to pick audio output The deb file can be fetched from chunky-milks repo

I have currently lost the installation files (the app install files and deletion files :( )

CleanMachine1 avatar Apr 28 '21 21:04 CleanMachine1

If no one has the install files it should be pretty easy to setup since we have everything now,

I can make the install files make a desktop entry then install the deb from chunky's repo

CleanMachine1 avatar Apr 28 '21 21:04 CleanMachine1

@Botspot Could you provide what files you currenly have since I have lost the updated files for the install

My zip: RPi-Play.zip Other files you attached in the past can still be downloaded from your links above.

Botspot avatar Apr 28 '21 23:04 Botspot

Ok, I don't need the 24 hours I asked for

Instead you can help me a little

RPi-Play.zip

All is untested however should work The zenity.sh need to be setup with the terminal run thing

CleanMachine1 avatar Apr 28 '21 23:04 CleanMachine1

This PR has been open for 3 months.

Does any one intend to work on it or should I close it

CleanMachine1 avatar Jun 22 '21 15:06 CleanMachine1

Just wait until someone that wants and/or has time to work on this works on this in my opinion

Itai-Nelken avatar Jun 22 '21 16:06 Itai-Nelken

Half a year :partying_face:

CleanMachine1 avatar Sep 12 '21 19:09 CleanMachine1

I made a icon piplay

everypizza1 avatar Dec 29 '21 14:12 everypizza1

Wow, this PR's been open for 10 months lol!

Here's an easy way to generate debs for rpiplay. You'll need the debian devscripts installed sudo apt install devscripts

mkdir rpiplay-build && cd rpiplay-build
git clone https://github.com/FD-/RPiPlay && cd RPiPlay
# download debuild files
wget https://transfer.sh/get/dNOlzG/rpiplay-debuild.zip && unzip rpiplay-debuild.zip && mv rpiplay-debian debian
rm rpiplay-debuild.zip
# install build deps
sudo mk-build-deps -i debian/control
sudo rm rpiplay-build-deps_*
# build package (will be in the parent directory
dpkg-buildpackage -us -uc -nc

ryanfortner avatar Jan 21 '22 22:01 ryanfortner

Here are the debs I compiled. They both work on Debian Buster but I haven't tried Bullseye.

https://apt.raspbian-addons.org/debian/pool/main/r/rpiplay/rpiplay_0.1.0_arm64.deb

https://apt.raspbian-addons.org/debian/pool/main/r/rpiplay/rpiplay_0.1.0_armhf.deb

ryanfortner avatar Jan 21 '22 23:01 ryanfortner

armhf deb on bullseye: rpiplay: error while loading shared libraries: libopenmaxil.so: cannot open shared object file: No such file or directory

Botspot avatar Jan 21 '22 23:01 Botspot

armhf deb on bullseye: rpiplay: error while loading shared libraries: libopenmaxil.so: cannot open shared object file: No such file or directory

@Botspot are there any files present in /opt/vc? if not, does installing libraspberrypi-dev change anything?

ryanfortner avatar Jan 22 '22 00:01 ryanfortner

armhf deb on bullseye: rpiplay: error while loading shared libraries: libopenmaxil.so: cannot open shared object file: No such file or directory

@Botspot are there any files present in /opt/vc? if not, does installing libraspberrypi-dev change anything?

Bullseye doesn't use /opt/vc anymore.

Botspot avatar Jan 22 '22 00:01 Botspot

@Botspot i think bullseye uses usr/bin now

SnarkyDeveloper avatar Apr 18 '22 18:04 SnarkyDeveloper

I realize this is a very old PR and it doesn't work anyway (the repo hosting the deb is long gone)

but just wanted to post the link to the github with the project itself: https://github.com/FD-/RPiPlay

according to the documentation in the github its just using gstreamer, so as long as the defaults are properly hardware accelerated on the pi, then this should still work fine. just make sure the dependencies are installed.

theofficialgman avatar Jun 14 '22 02:06 theofficialgman

I will do some work on this PR later today if I get time.

ryanfortner avatar Jun 14 '22 11:06 ryanfortner

Best thing to do is restart this. Close this PR and make a new issue or PR, since his one has way too much history

CleanMachine1 avatar Jun 14 '22 14:06 CleanMachine1

actually looks like this project has an all around better alternative. I'm not sure if its related to the original one, but here it is: https://github.com/FDH2/UxPlay it supports both screen mirroring (with audio) and the audio only airplay

I was able to get this working on my switch (with non-standard settings to specify the correct video sink -vd nvv4l2decoder -vs nv3dsink) using NVDEC even. I'd still prefer a ffmpeg based option though instead of gstreamer

theofficialgman avatar Jun 14 '22 14:06 theofficialgman

actually looks like this project has an all around better alternative. I'm not sure if its related to the original one, but here it is: https://github.com/FDH2/UxPlay it supports both screen mirroring (with audio) and the audio only airplay

I was able to get this working on my switch (with non-standard settings to specify the correct video sink -vd nvv4l2decoder -vs nv3dsink) using NVDEC even. I'd still prefer a ffmpeg based option though instead of gstreamer

yeah that looks a lot better than RPiPlay

Jai-JAP avatar Jun 15 '22 06:06 Jai-JAP