sam0402 / ArchQ

ArchQ Linux for Audiophiles
13 stars 3 forks source link

Playing a radion stream causes "Failed to decode" Error. #7

Open d3m0naz opened 5 months ago

d3m0naz commented 5 months ago

Hi sam0402, trying to stream some webradio causes "Failed to decode https://stream.url/something" Error. Maybe libmad missing?

mpd --version gives:

Music Player Daemon 0.23.14 (0.23.14) Copyright 2003-2007 Warren Dukes warren.dukes@gmail.com Copyright 2008-2021 Max Kellermann max.kellermann@gmail.com This is free software; see the source for copying conditions. There is NO warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Database plugins: simple

Storage plugins: local

Decoders plugins: [oggflac] ogg oga [flac] flac [sndfile] wav aiff aif au snd paf iff svx sf voc w64 pvf xi htk caf sd2 [dsdiff] dff [dsf] dsf [hybrid_dsd] m4a [pcm]

Filters:

Tag plugins: id3tag

Output plugins: null fifo alsa httpd

Encoder plugins: null wave flac

Input plugins: file io_uring alsa curl mms cdio_paranoia

Playlist plugins: extm3u m3u pls flac cue embcue

Protocols: file:// alsa:// cdda:// ftp:// ftps:// gopher:// http:// https:// mms:// mmsh:// mmst:// mmsu:// scp:// sftp:// smb://

Other features: epoll icu inotify ipv6 systemd tcp un

Thanks in advance, d3m0naz

sam0402 commented 5 months ago

The mpd-stream only supports for flac & wav code, using mpd-ffmpeg for all code.

wget -P /tmp https://raw.githubusercontent.com/sam0402/ArchQ/main/pkg/mpd-ffmpeg-0.23.14-12-x86_64.pkg.tar.zst sudo pacman -U --noconfirm /tmp/mpd-ffmpeg-0.23.14-12-x86_64.pkg.tar.zst