ralphy wrote: 
> Search these forums, it's been discussed many times in the past.
> 
> Clue: squeezeslave only supports 44100Hz sample rate.

Sorry I have read about that, but I thought that something else was the
problem (maybe some special danish letters etc) I didn't know how to
actually check the sample rate of the stream.

But after your guidance I made a custom-convert.conf file which I placed
in the plugin directory, and now the streams are playing fine. The
content of the custom-convert.conf is:

# Capabilities
# I - can transcode from stdin
# F - can transcode from a named file
# R - can transcode from a remote URL (URL types unspecified)
# 
# O - can seek to a byte offset in the source stream
# T - can seek to a start time offset
# U - can seek to start time offset and finish at end time offset
#
# D - can downsample 
# B - can limit bitrate
#
# Substitution strings for variable capabilities
# %f - file path (local files)
# %F - full URL (remote streams)
#
# %o - stream start byte offset
# 
# %S - stream samples start offset
# %s - stream seconds start offset
# %t - stream time (m:ss) start offset
# %U - stream samples end offset
# %u - stream seconds end offset
# %v - stream time (m:ss) end offset
# %w - stream seconds duration

#
# %b - limit bitrate: b/s
# %B - limit bitrate: kb/s
# %d - samplerate: samples/s
# %D - samplerate: ksamples/s

# For one player with this MAC address.
# mp3 flc * 00:00:00:00:00:01

# All squeezeslave players.
mp3 flc squeezeslave *
# FRT:{START=-ss %s}U:{DURATION=-endpos %w}
[mplayer.sh] -really-quiet -vc null -vo null $START$ $DURATION$
-cache 128 -af volume=0,resample=44100:0:1,channels=2 -ao
pcm:file=/dev/fd/3 $FILE$ | [flac] -cs --totally-silent
--compression-level-0 -

flc flc squeezeslave *
# FT:{START=--skip=%t}U:{END=--until=%v}
[flac] -dcs $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t flac -C 0
-b 16 -r 44.1k -


------------------------------------------------------------------------
sbp's Profile: http://forums.slimdevices.com/member.php?userid=37237
View this thread: http://forums.slimdevices.com/showthread.php?t=93607

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to