Hello,
i installed MPD and MPC. I can see the current played track with MPC. When i try to open the stream in an audio player i get the error listed below. That is happening with Mplayer. Audacious is giving an error the it can read the metadata.
Code:
bash-4.3$ mplayer http://127.0.0.1:8000
MPlayer 1.2.1-5.3.0 (C) 2000-2016 MPlayer Team
Playing http://127.0.0.1:8000.
Resolving 127.0.0.1 for AF_INET6...
Couldn't resolve name for AF_INET6: 127.0.0.1
Connecting to server 127.0.0.1[127.0.0.1]: 8000...
Cache size set to 320 KBytes
Cache fill: 19.39% (63530 bytes)
[Ogg] stream 0: audio (Vorbis), -aid 0
Ogg file format detected.
Clip info:
Artist: ...
Title: ...
Album: ...
Creation Date: ...
Genre: ...
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 56.60.100 (internal)
AUDIO: 44100 Hz, 2 ch, floatle, 192.0 kbit/6.80% (ratio: 24000->352800)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis)
==========================================================================
AO: [alsa] 44100Hz 2ch floatle (4 bytes per sample)
Video: no video
Starting playback...
A: -0.0 (unknown) of 0.0 (unknown) ??,?% 15%
Audio device got stuck!
A: -0.0 (unknown) of 0.0 (unknown) ??,?% 17%
Audio device got stuck!
A: -0.0 (unknown) of 0.0 (unknown) ??,?% 20%
Audio device got stuck!
...
sometimes it is giving me another error:
Code:
bash-4.3$ mplayer http://127.0.0.1:8000
MPlayer 1.2.1-5.3.0 (C) 2000-2016 MPlayer Team
Playing http://127.0.0.1:8000.
Resolving 127.0.0.1 for AF_INET6...
Couldn't resolve name for AF_INET6: 127.0.0.1
Connecting to server 127.0.0.1[127.0.0.1]: 8000...
Cache size set to 320 KBytes
Cache fill: 19.15% (62759 bytes)
[Ogg] stream 0: audio (Vorbis), -aid 0
Ogg : bad packet in stream 0
DEMUX_OGG: header n. 1 broken! len=82, code: -132
DEMUX_OGG: header n. 2 broken! len=79, code: -132
Ogg file format detected.
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 56.60.100 (internal)
[vorbis @ 0x560690bd5360]Third header is not the setup header.
Could not open codec.
ADecoder init failed :(
ADecoder init failed :(
Opening audio decoder: [libvorbis] Ogg/Vorbis audio decoder
OggVorbis: header n. 1 broken! len=82
ADecoder init failed :(
ADecoder init failed :(
Requested audio codec family [tremor] (afm=tremor) not available.
Enable it at compilation.
Cannot find codec for audio format 0x73627276.
Audio: no sound
Video: no video