Quantcast
Channel: Squeezebox : Community : Forums - Logitech Media Server
Viewing all articles
Browse latest Browse all 5300

mp3 to pcm conversion

$
0
0
Hi - For some of my plugins, in order to be able to use ReplayGain, all audio data must be pcm. By default, LMS does not have a rule to do that. I've added in custom-convert.conf :

Code:

mp3 pcm * <mac of player>       
        [lame] --mp3input --decode -t 44.1 --silent $FILE$ -

This works fine with local files, but with stream, there is something wrong with sampling rate when it is not 44.1: LMS always tells the player that PCM rate is 44100 and obviously it is not. I've tried to force --resample 44100 on the command line but no luck.

Thanks

Viewing all articles
Browse latest Browse all 5300

Trending Articles