Reply To: can firefly resample to 48khz?

#17170
stretch
Participant

I’m not sure if it can but i did a bit of digging.

In mt-daapd-ssc.sh is a line that reads

$FFMPEG -vn -i "$FILE" -f wav - | $WAVSTREAMER -o $OFFSET $FORGELEN

ffmpeg documentation says that -vn is Disable Video, -i is Input filename, -f wav forces wav output.
The documentation also lists an -ar freq switch that sets the audio sampling frequency
http://ffmpeg.mplayerhq.hu/ffmpeg-doc.html#SEC11
http://wiki.fireflymediaserver.org/Transcoding_HOWTO

I haven’t tried this & have no idea if it will work as i have M2000’s that don’t upsample to 48kHz

I haven’t paid much attention to the M1001 noise problem but as i understand it, it’s an alias frequency problem from the 44.1 -> 48kHz conversion process.
You might get better results permanently converting the files to 48kHz using something like dBPower Amp and storing them in a separate library for use with the SB