Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PipeWire over DLNA/UPNP: Streaming audio PC [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
cafaia
n00b
n00b


Joined: 11 Oct 2014
Posts: 54
Location: Frederico Westphalen/Brasil

PostPosted: Wed May 31, 2023 5:26 pm    Post subject: PipeWire over DLNA/UPNP: Streaming audio PC [SOLVED] Reply with quote

Hello everybody!

I had installed 'pulseaudio-dlna' and 'pulseaudio' to transmit the audio from the PC to my receiver, and now that I only have 'pipewire/wireplumber', what should I do?

I looked it up and now it seems to me that I can do this with Rygel through the Gst-Launch module, could anyone help me?

Thank you very much in advance!


Last edited by cafaia on Wed Feb 28, 2024 10:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 572
Location: Scotland

PostPosted: Sun Jul 02, 2023 12:38 am    Post subject: Reply with quote

If you are using GNOME then this

https://wiki.gnome.org/Projects/Rygel/Pulseaudio

may help.
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
cafaia
n00b
n00b


Joined: 11 Oct 2014
Posts: 54
Location: Frederico Westphalen/Brasil

PostPosted: Sun Jul 02, 2023 1:30 am    Post subject: Reply with quote

Thistled wrote:
If you are using GNOME then this

https://wiki.gnome.org/Projects/Rygel/Pulseaudio

may help.


Hi, Thistled!

I want to first of all thank you for your attention, thank you!

But that's what I used and it always worked, but now I'm not using pulseaudio anymore... So now I would like something like 'pipewiresrc'...

Big hug!
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 572
Location: Scotland

PostPosted: Sun Jul 02, 2023 1:55 am    Post subject: Reply with quote

You're welcome! Just trying to help.
I seem to remember I still needed to have pulseaudio installed even though pipewire is the new way of dealing with sound.
You may still need to have an element of pulseaudio installed.
Just to be sure, are you aware of this?
https://www.gentoo.org/support/news-items/2022-07-29-pipewire-sound-server.html
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
flexibeast
Guru
Guru


Joined: 04 Apr 2022
Posts: 324
Location: Naarm/Melbourne, Australia

PostPosted: Sun Jul 02, 2023 2:08 am    Post subject: Reply with quote

Thistled wrote:
I seem to remember I still needed to have pulseaudio installed even though pipewire is the new way of dealing with sound.
You may still need to have an element of pulseaudio installed.

Yes, many (most?) applications don't yet use PipeWire natively, and instead still expect Pulse, so it's typically necessary to use the pipewire-pulse.conf configuration to make the Pulse libraries available.

More generally, i strongly encourage people to read the PipeWire page on the wiki carefully, as i'm regularly working on improving it. :-)
Back to top
View user's profile Send private message
cafaia
n00b
n00b


Joined: 11 Oct 2014
Posts: 54
Location: Frederico Westphalen/Brasil

PostPosted: Sun Jul 02, 2023 3:31 pm    Post subject: Reply with quote

Hi, Thistled and flexibeast!

I appreciate both of you for your help, thank you!

Maybe there's my mistake, because I have in 'make.conf' '-pulseaudio' USE flag... Although I don't find another error...

I'm going to do some more research as I found some comments about the 'pipewiresrc path=xy' variable in the 'gst-launcher' command. Anything I report here and if anyone gets something I thank you in advance!

Big hug to all!
Back to top
View user's profile Send private message
cafaia
n00b
n00b


Joined: 11 Oct 2014
Posts: 54
Location: Frederico Westphalen/Brasil

PostPosted: Wed Feb 28, 2024 10:53 pm    Post subject: Reply with quote

Hello everybody!

I like to publish the solution to the problem, so I can help other users...

To transmit audio from the PC to a Receiver using PipeWire, you must build the media-video/pipewire program with the 'zeroconf' flag enabled and create the following file '/etc/pipewire/pipewire.conf.d/raop-discover .conf' with this content:

Code:

context.modules = [
{ name = libpipewire-module-raop-discover
    args = {
        # Set the remote address to tunnel to
        #raop.hostname = "my-raop-device"
        #raop.port = 7000
        #raop.transport = "udp"
        #raop.transport = "tcp"
        raop.encryption.type = "none"
        raop.audio.codec = "PCM"
        #raop.password = "****"
        audio.format = "S32"
        audio.rate = 48000
        audio.channels = 2
        audio.position = [ FL FR ]
        stream.props = {
            # extra sink properties
        }
    }
}
]


More details on the configuration of the file above can be found at: https://docs.pipewire.org/page_module_raop_discover.html

Big hug to everyone!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum