The main difference between unpacking into WAV vs PCM. WAV is a PCM stream with a header which gives details about sample size(e.g. 1ch vs 2ch 16bit vs 24 vs 32 bitt) and sample rate (44.1kHz, 48Khz, 96KHz etc). A PCM is by default always 44.1Khz 16 Bit 2 ch. So if a WAV stream is fed into Sox or Flac exes - it will keep the stream acharacteristics but is a 96Khzz PCM stream is fed into Sox or Flac exes then it will be output as 44.1Khz unless you have override using command line params. Therefore it is best use WAV format as that will enable the conversion to deal with different sample rates & sample sizes automatically.
> > [17-09-09 09:01:31.6667] > Slim::Player::TranscodingHelper::tokenizeConvertCo mmand2 (627) Using > command for conversion: "/usr/local/bin/Decode" -F wvp-wav-daphile-* -m > 5a-9a-7a-e3-c0-c0 -p daphile -f wav -s 2 -d 193.106666666667 -r 176400 > "/srv/mediaserver/music/Network Drives/MyMusic/Yo-Yo Ma/2005 - Yo-Yo Ma > Plays Ennio Marricone SACD/CDImage.wv" & | > This is the key conversion line. It uses an application called Decode (no idea - Daphile special but I sispect is a shell script which call wvunpack - look ) converts the file name coloured in red into a wav output stream. Looks like it forces WAV to encode stream as 176kBits. Very strange to have Player ID and Client MAC address in a format conversion - must be a Daphile special. /usr/local/bin/Decode" -F wvp-wav-daphile-* -m 5a-9a-7a-e3-c0-c0 -p daphile -f wav -s 2 -d 193.106666666667 -r 176400 /srv/mediaserver/music/Network Drives/MyMusic/Yo-Yo Ma/2005 - Yo-Yo Ma Plays Ennio Marricone SACD/CDImage.wv I suspect Decode is a shell script - if it is copy the file */usr/local/bin/Decode* to a post and it can be examined. with LMS 7.9.1 > > C:\PROGRA~2\SQUEEZ~1\server\Bin\MSWin32-x86-multi-thread\wvunpack.exe" > "E:\MyMusic\Yo-Yo Ma\2005 - Yo-Yo Ma Plays Ennio Marricone > SACD\CDImage.wv" -wq --skip=0:02.00 --until=3:15.10 -o - | > "C:\PROGRA~2\SQUEEZ~1\server\Bin\MSWin32-x86-multi-thread\sox.exe" -q -t > wav - -t flac -C 0 - | > Conversion in two parts Blue and red. The blue p[art is wvunpack into a wav stream. This WAv stream is a PCM stream with a header. The red part is Sox just encoding wav stream into flac - no resampling or anything - don;t know why sox is used as Flac exe would be just as good. If you have wavepack file which is not a real PCM stream such as DSD then you will need an intermediate strep between wvunpack and soix to convert the output of wvunpack from DSD into PCM. ------------------------------------------------------------------------ bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=107942 _______________________________________________ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter