Git Product home page Git Product logo

Comments (21)

FD- avatar FD- commented on August 16, 2024

I don't see a problem here. Seems to work fine so far. Did you try to connect to it?

from rpiplay.

Simplyha avatar Simplyha commented on August 16, 2024

Hello it was first a problem with the phone and jet I can connect put an other Problem:
I connect the RPI4 with HDMI and try to load a video but It is only a blackscreen. And console is this:

Accepted IPv4 client on socket 18
Local: 192.168.1.177
Remote: 192.168.1.149
Accepted IPv4 client on socket 20
Local: 192.168.1.177
Remote: 192.168.1.149
raop_rtp starting audio
raop_ntp receive timeout

from rpiplay.

Simplyha avatar Simplyha commented on August 16, 2024

Update:
Jet I'm also get metadata.
Anzeige

from rpiplay.

FD- avatar FD- commented on August 16, 2024

How are you starting the connection on the sender?

from rpiplay.

Simplyha avatar Simplyha commented on August 16, 2024

Thank you for your Answer now I've a Picture.
But I can't play a Video.
Whether youtube or a browser video.
And also the audio does not work with "-a hdmi" or "-a analog"

from rpiplay.

tuxx1112 avatar tuxx1112 commented on August 16, 2024

I'm having the same issue. Does this have something to do with the RPI 4? I'm running on an RPI 4 - 4GB. I can connect but can't seem to get a Youtube video or Spotify song to play.

from rpiplay.

FD- avatar FD- commented on August 16, 2024

Does playing music through the Music app work? Are you aware of #2 and #7?

from rpiplay.

tuxx1112 avatar tuxx1112 commented on August 16, 2024

Does playing music through the Music app work? Are you aware of #2 and #7?

I have checked the issues and have been able to connect Airplay through the dedicated button. The Screen Mirroring works just fine - I can even watch recorded videos from my phone - but the audio is not coming along. The output states "raop_rtp starting audio" every time I open a video. The same issue when playing music through the Music app: "raop_rtp starting audio" is printed, the phone thinks it is casting to the Pi, but audio is not coming along. I tried it with and without the '-a hdmi' parameter to force audio through HDMI.

I attached a debug log (first Music app, then recorded video).
logfile.txt

from rpiplay.

FD- avatar FD- commented on August 16, 2024

Does audio work if you use low-latency mode (the -l flag)?

from rpiplay.

tuxx1112 avatar tuxx1112 commented on August 16, 2024

I just tried it without result. I got the same output so didn't upload a new logfile.

from rpiplay.

Simplyha avatar Simplyha commented on August 16, 2024

I have also tested with the an analog cable but it is the same problem.
An other hint is that: I got metadata if I connect with the "white circle" but no audio and no Picture. And if I connect with the "green circle" I don't get metadata and no audio but a picture.
image

from rpiplay.

FD- avatar FD- commented on August 16, 2024

The white circle is for audio only AirPlay, and this protocol is not supported by RPiPlay (use Shairport-sync or Shairplay for that), so it's not supposed to work.
The green circle is for AirPlay mirroring, and this is supposed to work in that the iPhone's screen and audio output should be played on the Raspberry Pi.

Does the hello_audio sample (source should be shipped with Raspbian at /opt/vc/src/hello_pi/hello_audio) produce any sound output on your Pi 4?

from rpiplay.

Simplyha avatar Simplyha commented on August 16, 2024

I've change the HDMI Port and then the audio works but Youtube and Google Videos doesn't work.

from rpiplay.

FD- avatar FD- commented on August 16, 2024

Could you detail how exactly you changed the HDMI port? Do audio and video output on different HDMI ports?

from rpiplay.

fosple avatar fosple commented on August 16, 2024

@FD- Same issue here.

The rPi4 has 2 HDMI ports (see https://images.vogel.de/vogelonline/bdb/1580200/1580232/39.jpg ). If I use the left port (the one next to the USB-C port) I don't get video -only a black screen. If I use the right port (the one next to the audio-jack) I do get video but no audio.

from rpiplay.

FD- avatar FD- commented on August 16, 2024

@fosple Do you get audio on the port that has no video? IIRC Pi 4 only has audio output on one of the 2 HDMI ports.

from rpiplay.

fosple avatar fosple commented on August 16, 2024

@FD- Currently I don't have my rPi4 with me, so I can't check. Will let you know once I've access to it again.

from rpiplay.

SaltwaterC avatar SaltwaterC commented on August 16, 2024

@fosple by default, RPi 4 only outputs sound on HDMI0. You need to manually enable sound output for HDMI1, albeit that's not ideal. More details: raspberrypi/firmware#1243

from rpiplay.

fosple avatar fosple commented on August 16, 2024

@SaltwaterC Thanks a lot!

from rpiplay.

pallas avatar pallas commented on August 16, 2024

This is resolved?

from rpiplay.

dubaleeiro avatar dubaleeiro commented on August 16, 2024

Hello verybody, same issue here - video streaming through HDMI works pretty well but no sound:

pi@octopi:~ $ rpiplay -n MyRpiPlay -a hdmi -ar gstreamer -l Using low-latency mode 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 19 Local: 192.168.0.213 Remote: 192.168.0.164 Accepted IPv4 client on socket 21 Local: 192.168.0.213 Remote: 192.168.0.164 raop_rtp_mirror starting mirroring raop_ntp receive timeout raop_ntp receive timeout raop_ntp receive timeout raop_ntp receive timeout raop_rtp starting audio
I am using a Raspberry Pi 3 B+. Has anyone a hint?

from rpiplay.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.