Best way to publish music from mpd (music player daemon) to mediamtx server? #3644
Unanswered
iconoclasthero
asked this question in
Questions
Replies: 2 comments
-
https://mpd.readthedocs.io/en/latest/plugins.html#output-plugins |
Beta Was this translation helpful? Give feedback.
0 replies
-
Also, how can I capture an rtsp stream with ffmpeg if there's no named file at the end of the url? I believe that I need some sort of named file for the stream to be able to use ffmpeg, e.g., Right now I'm using mpv (as vlc wouldn't/couldn't be bothered to work) but I'd much rather use a more basic cli like ffmpeg. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question
When the client Rhino Linux laptop is on the same lan as my Rhino Linux server I was using the client's pipewire-pulse's
pactl load-module module-native-protocol-tcp
to receive a stream from a mpd system daemon server which was sending it to the client IP:Now that they're not longer primarily on the same lan but I still want music that doesn't have large delays when I change tracks (e.g., icecast2), I've been looking for another way to do this.
So right now, the server's remote and I'm listening to Jerry for the end of Days Between...that's coming from the first of the two following mpd audio outputs and this running in
screen
:ffmpeg -loglevel error -nostdin -hide_banner -y -f s16le -ar 48000 -ac 2 -vn -i /tmp/mpd.fifo -c:a libopus -f rtsp rtsp://localhost:8554/mystream
Clearly, in the latter, it the intention was to just have that controlled by enabling/disabling the output with mpc making it a significantly simpler setup.
It seemed to me in my shot time comparing them that the former was more robust, but I'm interested in opinions about that.
Further, and more to the point of my actual question, is there some other audio protocol that is native to mpd that would work better to communicate with MediaMTX?
Beta Was this translation helpful? Give feedback.
All reactions