On 7/6/07, Benoit Chesneau <[EMAIL PROTECTED]> wrote:
Hi all,

I have a problem with mpd while playing the stream url :
http://stream1.radiodeliro.net:8101

mpd start playing but hangs 5 seconds later. This stream works well
with mplayer. Mpd launch esd when needed. Any idee what could be the
problem. Whart can I start to check ? Any idee appreciated.

Find encloses log and mpd.conf. If you need anything else tell me.
- BenoƮt

log :
=======================================================================
binding to address for localhost
flushing warning messages
done flushing warning messages
setFsCharset: fs charset is: ISO8859-15
reading DB
using ao driver "esd" for "Libao Audio Device"
opening pid file
writing pid file
add to playlist: http://stream1.radiodeliro.net:8101
get song: http://stream1.radiodeliro.net:8101
playlist: play 0:"http://stream1.radiodeliro.net:8101";
closeAllListenSockets called
closing listen socket 0
took 0.000000 to init player
decoder PID: 22001
copyMpdTagToOB: !acceptMetadata || !tag
inputStream_http.c: Port: 8101
inputStream_http: metaName: Radio Deliro
copyMpdTagToOB: copiedTag
inputStream_http: metaTitle: Claude Bolling - L'homme En Colere
copyMpdTagToOB: copiedTag
player: metadata change
player: new metadata from decoder!
playerCurrentDecodeSong: caught new metadata!
player: metadata change
player: new metadata from decoder!
playerCurrentDecodeSong: caught new metadata!
interface 0: opened from 127.0.0.1
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "playlistinfo "-1""
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
interface 0: process command "status"
interface 0: command returned 0
main process got SIGINT or SIGTERM, exiting
player (or child) got SIGTERM
decoder (or child) got SIGTERM
interface 0: closed
closeAllListenSockets called
closing listen socket 0
closeMp3Directory took 0.000000 seconds
cleaning up pid file
main process got SIGCHLD


=======================================================================

mpd.conf :
=======================================================================
music_directory                 "/home/music"
playlist_directory              "/var/spool/mpd/playlists"
db_file                         "/var/spool/mpd/mpd.db"
log_file                        "/var/log/mpd/mpd.log"
error_file                      "/var/log/mpd/mpd.error"
pid_file                        "/var/spool/mpd/mpd.pid"
state_file                      "/var/spool/mpd/mpdstate"
user                            "_mpd"
bind_to_address                 "localhost"
audio_output {
        type                    "ao"
    driver          "esd"
        name                    "Libao Audio Device"
}
mixer_type                      "software"
=======================================================================

--
bchesneau.info | neurofriends.net | osbud.net


After testing, I noticed the problem appear when I use esd to relay
sound. Some latency somewhere that hangs on this stream and maybe
other. Problem is solved when you use sun audio driver or pulseaudio
sound server.

I don't know where is the problem exactly, if it's in esd or libao esd
support. For now I don't see exactly where to see. It works well with
pulseaudio I put on ports@ though.

Benoit.

--
bchesneau.info | neurofriends.net | osbud.net

Reply via email to