philippe_44 wrote: > So why mp3? Here is an example of the rules decision making with my > system when 'flc' codec is disabled. Because there is no wav-pcm rule > that allows resampling, LMS has to go through a codec of some sort and > it can only be mp3 in this case > > Code: -------------------- > > > [18-08-25 11:43:54.1893] Slim::Player::Song::open (363) file:///D:/Users/.../Dropbox/Development/Musique/Tests/L16-192-wav.wav > [18-08-25 11:43:54.1901] Slim::Player::TranscodingHelper::enabledFormat (209) Checking to see if wav-pcm-*-* is enabled > [18-08-25 11:43:54.1903] Slim::Player::TranscodingHelper::checkBin (250) enabled > [18-08-25 11:43:54.1904] Slim::Player::TranscodingHelper::checkBin (252) Found command: - > [18-08-25 11:43:54.1905] Slim::Player::TranscodingHelper::getConvertCommand2 (382) Rejecting - because required capability D not supported: > [18-08-25 11:43:54.1911] Slim::Player::TranscodingHelper::enabledFormat (209) Checking to see if wav-mp3-*-* is enabled > [18-08-25 11:43:54.1912] Slim::Player::TranscodingHelper::checkBin (250) enabled > [18-08-25 11:43:54.1913] Slim::Player::TranscodingHelper::checkBin (252) Found command: [lame] --silent -q $QUALITY$ $RESAMPLE$ $BITRATE$ $FILE$ - > [18-08-25 11:43:54.1915] Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched: wav->mp3 via: [lame] --silent -q $QUALITY$ $RESAMPLE$ $BITRATE$ $FILE$ - > [18-08-25 11:43:54.1921] Slim::Player::TranscodingHelper::enabledFormat (209) Checking to see if wav-pcm-*-* is enabled > [18-08-25 11:43:54.1923] Slim::Player::TranscodingHelper::checkBin (250) enabled > [18-08-25 11:43:54.1924] Slim::Player::TranscodingHelper::checkBin (252) Found command: - > [18-08-25 11:43:54.1925] Slim::Player::TranscodingHelper::getConvertCommand2 (382) Rejecting - because required capability T not supported: > [18-08-25 11:43:54.1930] Slim::Player::TranscodingHelper::enabledFormat (209) Checking to see if wav-mp3-*-* is enabled > [18-08-25 11:43:54.1931] Slim::Player::TranscodingHelper::checkBin (250) enabled > [18-08-25 11:43:54.1932] Slim::Player::TranscodingHelper::checkBin (252) Found command: [lame] --silent -q $QUALITY$ $RESAMPLE$ $BITRATE$ $FILE$ - > [18-08-25 11:43:54.1934] Slim::Player::TranscodingHelper::getConvertCommand2 (382) Rejecting [lame] --silent -q $QUALITY$ $RESAMPLE$ $BITRATE$ $FILE$ - because required capability T not supported: > [18-08-25 11:43:54.1935] Slim::Player::TranscodingHelper::getConvertCommand2 (443) Error: Didn't find any command matches for type: wav > [18-08-25 11:43:54.1936] Slim::Player::Song::open (387) seek=false time=0 canSeek=1 > [18-08-25 11:43:54.1942] Slim::Player::TranscodingHelper::enabledFormat (209) Checking to see if wav-pcm-*-* is enabled > [18-08-25 11:43:54.1943] Slim::Player::TranscodingHelper::checkBin (250) enabled > [18-08-25 11:43:54.1945] Slim::Player::TranscodingHelper::checkBin (252) Found command: - > [18-08-25 11:43:54.1946] Slim::Player::TranscodingHelper::getConvertCommand2 (382) Rejecting - because required capability D not supported: > [18-08-25 11:43:54.1952] Slim::Player::TranscodingHelper::enabledFormat (209) Checking to see if wav-mp3-*-* is enabled > [18-08-25 11:43:54.1953] Slim::Player::TranscodingHelper::checkBin (250) enabled > [18-08-25 11:43:54.1954] Slim::Player::TranscodingHelper::checkBin (252) Found command: [lame] --silent -q $QUALITY$ $RESAMPLE$ $BITRATE$ $FILE$ - > [18-08-25 11:43:54.1956] Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched: wav->mp3 via: [lame] --silent -q $QUALITY$ $RESAMPLE$ $BITRATE$ $FILE$ - > [18-08-25 11:43:54.1957] Slim::Player::Song::open (408) Transcoder: streamMode=I, streamformat=mp3 > -------------------- > > > > (extract from convert.conf) > > Code: -------------------- > > > # 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 (not yet implemented) > # 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 > -------------------- > > > > Now, if flc was enabled in codecs list , here what's happening which > is what you'd expect > > Code: -------------------- > > > [18-08-25 11:49:57.3548] Slim::Player::Song::open (363) file:///D:/Users/.../Dropbox/Development/Musique/Tests/L16-192-wav.wav > [18-08-25 11:49:57.3565] Slim::Player::TranscodingHelper::enabledFormat (209) Checking to see if wav-flc-*-* is enabled > [18-08-25 11:49:57.3567] Slim::Player::TranscodingHelper::checkBin (250) enabled > [18-08-25 11:49:57.3569] Slim::Player::TranscodingHelper::checkBin (252) Found command: [flac] -cs --totally-silent --compression-level-0 $START$ $END$ -- $FILE$ | [sox] -q -t flac - -t flac -C 0 $RESAMPLE$ - > [18-08-25 11:49:57.3573] Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched: wav->flc via: [flac] -cs --totally-silent --compression-level-0 $START$ $END$ -- $FILE$ | [sox] -q -t flac - -t flac -C 0 $RESAMPLE$ - > [18-08-25 11:49:57.3587] Slim::Player::TranscodingHelper::enabledFormat (209) Checking to see if wav-flc-*-* is enabled > [18-08-25 11:49:57.3590] Slim::Player::TranscodingHelper::checkBin (250) enabled > [18-08-25 11:49:57.3592] Slim::Player::TranscodingHelper::checkBin (252) Found command: [flac] -cs --totally-silent --compression-level-0 $START$ $END$ -- $FILE$ | [sox] -q -t flac - -t flac -C 0 $RESAMPLE$ - > [18-08-25 11:49:57.3595] Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched: wav->flc via: [flac] -cs --totally-silent --compression-level-0 $START$ $END$ -- $FILE$ | [sox] -q -t flac - -t flac -C 0 $RESAMPLE$ - > [18-08-25 11:49:57.3598] Slim::Player::Song::open (387) seek=false time=0 canSeek=2 > [18-08-25 11:49:57.3611] Slim::Player::TranscodingHelper::enabledFormat (209) Checking to see if wav-flc-*-* is enabled > [18-08-25 11:49:57.3614] Slim::Player::TranscodingHelper::checkBin (250) enabled > [18-08-25 11:49:57.3616] Slim::Player::TranscodingHelper::checkBin (252) Found command: [flac] -cs --totally-silent --compression-level-0 $START$ $END$ -- $FILE$ | [sox] -q -t flac - -t flac -C 0 $RESAMPLE$ - > [18-08-25 11:49:57.3620] Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched: wav->flc via: [flac] -cs --totally-silent --compression-level-0 $START$ $END$ -- $FILE$ | [sox] -q -t flac - -t flac -C 0 $RESAMPLE$ - > [18-08-25 11:49:57.3622] Slim::Player::Song::open (408) Transcoder: streamMode=F, streamformat=flc > [18-08-25 11:49:57.3629] Slim::Player::TranscodingHelper::tokenizeConvertCommand2 (617) Using command for conversion: "C:\PROGRA~2\SQUEEZ~1\server\Bin\MSWin32-x86-multi-thread\flac.exe" -cs --totally-silent --compression-level-0 -- "D:\Users\...\Dropbox\Development\Musique\Tests\L16-192-wav.wav" | "C:\PROGRA~2\SQUEEZ~1\server\Bin\MSWin32-x86-multi-thread\sox.exe" -q -t flac - -t flac -C 0 -r 96000 - | > [18-08-25 11:49:57.3632] Slim::Player::Song::open (558) Tokenized command: "C:\PROGRA~2\SQUEEZ~1\server\Bin\MSWin32-x86-multi-thread\flac.exe" -cs --totally-silent --compression-level-0 -- "D:\Users\...\Dropbox\Development\Musique\Tests\L16-192-wav.wav" | "C:\PROGRA~2\SQUEEZ~1\server\Bin\MSWin32-x86-multi-thread\sox.exe" -q -t flac - -t flac -C 0 -r 96000 - | > -------------------- > > > > So, at the end of the day, one way or the other, maybe through some > C3PO interaction, I have no idea, the wav->flc rule cannot apply on > your system (I saw that the 'flc' codec is enabled in your bridge > config file, so it's the rule that does not work, not the missing > codec in <codecs>). > > I can't tell more because I don't have such log or convert.conf I've not disabled flac in the bridge, so I still fail to understand - I probably never will. Why LMS would goes lossy from lossless is baffling. I still think LMS must be being told something wrong about my player. :(
I'll look into C3PO some other time. LMS 7.9.1 on VortexBox Midi box, Xubuntu 17.10, FLACs 16->24 bit, 44.1->192kbps. Touch & EDO. 2nd Touch standard. LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to A308CR amp & ESLs) & Marantz CR603 UPnP renderers. Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC renderers. Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones. Wireless Xubuntu 17.10 laptop firefox/upplay or Android 'phone with Squeeze-Commander/BubbleUPnP controls LMS/Minimserver. ------------------------------------------------------------------------ PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=103728 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins