rahul-thakoor / balena-rpiplay Goto Github PK
View Code? Open in Web Editor NEWTurn a Raspberry Pi into an Airplay server using RPiPlay to enable screen mirroring on tvs, monitors and projectors.
Home Page: https://github.com/FD-/RPiPlay
Turn a Raspberry Pi into an Airplay server using RPiPlay to enable screen mirroring on tvs, monitors and projectors.
Home Page: https://github.com/FD-/RPiPlay
I am using balen fleet os for the first time and its great! However trying to run the rpiplay app I get this error in the logs when starting:
https://photos.app.goo.gl/872w6SgxtfpWYH6R7
This is a screen shot of what I am experiencing. This is a clean install running Raspberry Pi 4.
I would like to know what are these lines about
Log file displayed:
Failed to download image 'registry2.balena-cloud.com/v2/a1894565efe9c6a7cffd04daa430ae75@sha256:0f9952c640715de9e1a0a5fc6b2b98e268b58ed2c12e1d7d60133450b27afecf' due to '(HTTP code 500) server error - Get https://registry2.balena-cloud.com/v2/: net/http: TLS handshake timeout '
Hardware:
Raspberry Pi 1 Model A+ (2014)
Sandisk Edge 16GB
I get "rpiplay aacDecoder_DecodeFrame error : 0x4002" in the log, and no streaming happens.
screen shows the balena logo, device shows up as an airplay device
when I tap it, screen goes black but no video or audio.
iPhone 6 iOS v12.5.5
rPi 3B.
Connected with ethernet cable to same router as iPhone wifi.
I did not create an account, I flashed directly from the Get Started button here
I am attempting to combine this repo with ha and everything works.... except RPiPlay. Any chance someone here can help me?
Here is the source I am using to build my releases:
I have turned low latency mode off, then restarted my device and then the audio sound goes all weird
Hi, I'm currently using an Amp which works perfectly with balena-sound. But when it comes to balena-rpiplay, the only audio output options I see are HDMI and Analog. Please let me know if there's a plan to support Amp.
Hello, I would prefer if my general location wasn't broadcasted to balena.io when I use the device.
So I was using Air Pi Play since January and it worked seamlessly. I went for a vacation for 2 weeks and ever since it's not working. I tried making a new fork of the fleet and adding devices but nothing works. I get a blank screen and nothing shows up. The device doesn't get registered to fleet even via ethernet. Tried only connecting to 2.4Ghz band even though my raspi 3b+ supports 5ghz.
Devices used: Raspi 3B+, MacBook Pro 2020 Intel (MacOS 12.3)
Please look into this ASAP @rahul-thakoor @MrStonedOne @Jazzagi
It seems like environment variables set in Balena cloud are not being applied to the image or the application. I set AIRPIPLAY_NAME to a value that I would prefer and it still shows the default value in the AirPlay menu on my Mac. I restarted the services and the devices several times. This was done in both the Fleet view and in the Device view using instructions here:
https://www.balena.io/docs/learn/manage/variables/
This may be an issue with Balena cloud or my specific set up. I am using an RPI 3 with the latest production air-pi-play image. Nothing in the device logs indicate the desired variable being set:
Supervisor starting
Applying configuration change {"SUPERVISOR_POLL_INTERVAL":"900000","SUPERVISOR_DELTA":"1","SUPERVISOR_DELTA_VERSION":"3"}
Applying boot config: {"gpu_mem":"256","gpu_mem_512":"128","avoid_warnings":"1","disable_overscan":"1","disable_splash":"1","dtoverlay":["vc4-fkms-v3d"],"dtparam":["audio=on","i2c_arm=on","spi=on","audio=on"]}
Applied boot config: {"gpu_mem":"256","gpu_mem_512":"128","avoid_warnings":"1","disable_overscan":"1","disable_splash":"1","dtoverlay":["vc4-fkms-v3d"],"dtparam":["audio=on","i2c_arm=on","spi=on","audio=on"]}
Applying boot config: {}
Applied configuration change {"SUPERVISOR_POLL_INTERVAL":"900000","SUPERVISOR_DELTA":"1","SUPERVISOR_DELTA_VERSION":"3"}
Applied boot config: {}
Rebooting
Thanks for all your work containerizing this amazing piece of software!
This is a great tool, easy to use and quick.
I have tried under 3B+ and 4, both of them had frame lost, I can watch the video but not quite smooth, how can I improve that?
Tested on 11.6 Big Sur. Works like a charm. Same unit on iPhone 11 iOS 15.1: screen goes black but no video or audio.
Nice project!
Hope I can get it to work on one of my Raspberry Pi's (currently tying wired on a 3B), but I don't see my Pi as an AirPlay receiver. Instead I see this error (repeating over and over again) on my Balena dashboard:
standard_init_linux.go:211: exec user process caused "exec format error"
Service exited 'rpiplay sha256:<redacted>'
Restarting service 'rpiplay sha256:<redacted>'
I can't access the rpiplay
terminal (also repeating over and over again, except for the first line):
Connecting to <redacted>...
Spawning shell...
Error response from daemon: Container <redacted> is restarting, wait until the container is running
Error response from daemon: Container <redacted> is restarting, wait until the container is running
SSH session disconnected
SSH reconnecting...
What can be wrong here? How to fix it?
(Note: I'm completely new to balenaCloud; apologies upfront if I make a rookie mistake)
Using a new Belena account, forked the fleet and deployed the image on Rpi3B
Shows up on the network, and my iPhone happily selected it as a target as is sending data.
The log files show the "aacDecoder_DecodeFrame error" once in a while, so I now it is receiving data.
I have it connected with an audio out cable to a receiver which I know is working.
I've set the device AIRPIPLAY_AUDIO_OUT variable to 'analog' (without quotes).
I've tested with headphones, still no sound.
Is there someway to check what the level it thinks its putting out?
I would like to use your image with a Pi Zero but connect to the Pi without using a router - Peer-Peer by using WiFi Access point
From https://github.com/FD-/RPiPlay/issues/9
I could set up the pi zero as a WiFi access point.
Is this possible with your image or should I build using rpiplay?
I am already using balena-rpiplay with a Pi4 and as a teacher I really like your image for dedicated mirroring with my ipad.
I've recently noticed this project while flashing something onto a USB drive and thought I would check it out, as I have recently been looking to implement such a thing for a tech-illiterate family member.
I recently snagged a couple of the new Zero 2 W's, and was just curious if there are plans to add an additional option for device images to accommodate this new board to utilize the Cortex-A53 that is has. If not, would you consider making the changes to add a new image for this board?
Many Thanks!
Hi i have try your project but i receive the following errors
Supervisor starting
Downloading image 'registry2.balena-cloud.com/v2/5f425bb56cd807866eb0ed443fac3299@sha256:88c0d709e705ca6fd6e419ce7a7c826d82a612174de7d181915efe4de9e62124'
Failed to download image 'registry2.balena-cloud.com/v2/5f425bb56cd807866eb0ed443fac3299@sha256:88c0d709e705ca6fd6e419ce7a7c826d82a612174de7d181915efe4de9e62124' due to 'error pulling image configuration: errors:
denied: requested access to the resource is denied
unauthorized: authentication required
Thank you for solving #16!
With this fix I now indeed see a RPiPlay AirPlay receiver on my iOS devices.
However, I'm unable to stream any video to it. Instead my log fills up with either of these two lines:
rpiplay aacDecoder_DecodeFrame error : 0x4002
rpiplay aacDecoder_DecodeFrame error : 0x400c
Sources tried:
Setup:
Hope you can fix this too!
Hello!
The project is great! Congratulations! I want to use external USB card for audio output, because of better sound.
Do you have an idea how to achieve that?
Thanks!
Martin
I tried to deploy the docker image. But it yields this output and does stop running immediately:
Air-Pi-Play v0.3.1 powered by RpiPlay
Device is discoverable as Air-Pi-Play@572761756fa1
* failed to open vchiq instance
I have tested it on a RPi 4B and a Pi Zero (1.3)
Hi.
When trying to airplay connection from my iPad, the iPad requires a code that should appear on the airplay screen. This code does not appear.
Thanks.
Hi,
I could see the device on the Airplay option but connecting to it does not do anything.
The balenaEtcher logo displays
Thanks for your product.
I try to use with VGA666 DPI dtoverlays module :
https://fr.aliexpress.com/i/4001290019780.html
Is it possible ?
Thanks
Thierry (From France)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.