That's correct.
All the players has its own different mac address correct? The key for settings is the player id (mac address).
No, it should not, it should instead give you a warning if you choose to resample and decode to pcm, as only squeezelite is (was) capable to handle this situation,
This afternoon I had a problem and I'll have no time to check this untill tomorrow. Let me try to simulate your scenario and see what's happening.
Results 21 to 30 of 558
-
2016-03-09, 12:31 #21
- Join Date
- Dec 2009
- Location
- Albinea (RE) Italy
- Posts
- 819
__________________________________________________ ______________________
Author of C-3PO plugin, Squeezelite-R2, Falcon Web interface - See www.marcoc1712.it
-
2016-03-09, 12:55 #22
- Join Date
- Dec 2009
- Location
- Albinea (RE) Italy
- Posts
- 819
Sure is my fault with english, but this is what we have:
GENERAL SETTINGS:
Resaple when: "Always"
Resample to "max"
PLAYER SETTINGS:
PLAYER A:
SAMPE RATES: 44100, 48000, 88200, 96000
Enable Resample (FLAC) NO
Enable Decode (FLAC) NO
is exactly the same as setting "Resample when" at Never for that player AND FLAC, you are STILL using general setting, BUT not upsampling nor decoding for that player when input format is FLAC.
PLAYER B:
SAMPE RATES: 44100, 48000
Enable Resample (FLAC) YES
Enable Decode (FLAC) YES
Think is clear.
If, instead, you need to , say, use Ditering for player A and not for all the others, you need to set
GENERAL SETTINGS:
...
Dithering NO.
PLAYER A:
Use general settings NO
SHOW ->
Use dithering YES
APPLY
FOR ALL OTHER PLAYERS:
Use general settings YES.
In Your scenario You don't need to change the resampling parameters, but just enable or disable resampling and decoding and this could and should be done using specific per codec settings for every player.
Settings are stored in C-3PO.prefs in the .../preference/plugins folder (see info in settings) as c3po.pref I suggest you not to edi the file directly.
As said before, I'havent had time to better check why settings are broken for you, i suspect is related to the mac address, could you check please if every player has its own mac address different than 00:00:00:00:00...?__________________________________________________ ______________________
Author of C-3PO plugin, Squeezelite-R2, Falcon Web interface - See www.marcoc1712.it
-
2016-03-09, 13:08 #23
- Join Date
- Dec 2009
- Location
- Albinea (RE) Italy
- Posts
- 819
I assume that, as for all other players, is going to work only when STRM and 'real' format is the same, adding a sonore "click" at the beginning, when trying to play the header as a chunk of audio data, in other situations result is impredictable (pops, clicks, with noise, slow motion, fast forward...).
That's why C-3PO spots a warning message when the detected player is not Squeezelite-R2 compliant and decode to wav/aiff is selected togheter with resampling. Please consider that the same is going to happen (but without any warning message) if using custom-convert.conf decoding and upasmpling commands.__________________________________________________ ______________________
Author of C-3PO plugin, Squeezelite-R2, Falcon Web interface - See www.marcoc1712.it
-
2016-03-09, 13:39 #24
- Join Date
- Nov 2010
- Location
- Hertfordshire, UK
- Posts
- 3,167
Is 'Enable Resampling' TO the selected (possibly transcoded) output formats or FROM the original formats? I assumed that it was FROM the selected formats since further down you can select the single output (TO) format. Enable Transcoding specifically says for the output format, which seems to duplicate the setting below, which confuses me. There's only one output format isn't there? I think it's obvious to me that I've failed to understand what you are trying to achieve and why the various parameters are as they are.
As said before, I'havent had time to better check why settings are broken for you, i suspect is related to the mac address, could you check please if every player has its own mac address different than 00:00:00:00:00...?
I really must let this rest now, at least for a while. If it makes sense to use it with squeeze2upnp in future I'll come back to it, but until then it doesn't really serve a purpose for me as far as I can see, and has got me confused and not a little frustrated at myself for being that way. Again - apologies.LMS 8.1 on PC, Xubuntu 20.04, FLACs 16->24 bit, 44.1->192kbps. 2 Touches & EDO.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (A308CR amp & ESLs) & Marantz CR603 UPnP renderers.
Also Minimserver & Upplay to same & to upmpdcli/mpd PC renderers.
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
Wireless Xubuntu 20.04 laptop firefox/upplay or Android mobile with Squeeze-Ctrl/BubbleUPnP controls LMS/Minimserver.
-
2016-03-09, 14:19 #25
- Join Date
- May 2008
- Location
- Canada
- Posts
- 6,486
LMS 7.9 on Pi 3B+ & Odroid-C2 - SqueezeAMP!, 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, Riva 1 & 3
-
2016-03-09, 15:53 #26
- Join Date
- Nov 2010
- Location
- Hertfordshire, UK
- Posts
- 3,167
Hi philippe. No, not really. I started looking for a current version of squeezelite (to make sure I could get one when googlecode goes away) and was just trying this out at the same time. After a while I reckoned that C-3PO would only work with upsampling for squeezelite (but am still not sure why it wouldn't work with sq2u if upsampling to flac - if that works). I then got into a muddle I never really got out of, and decided that unless sq2u was fully compatible the exercise was mostly not worth my while since most of my listening is through sq2u (for which still many thanks). If sq2u and C-3PO were compatible, then I might use it to upsample tracks as wav 24/192000 to my M1 CLiC renderer Of course it's possible that wouldn't work due to some renderer limitation but I believe it should (one never knows.....).
Having said that, I can't suggest it's worth your effort just for me to play around with, unless others want something like it as well (putting the processing load on the server, although increasing the network load on the renderer). I'm also somewhat concerned that I might get other issues using C-3PO. It seems to disable several transcodings, which could give me other problems. For instance, my M1 CLiC isn't very happy with aac, so I transcode that to flac (for use with the BBC iPlayer).LMS 8.1 on PC, Xubuntu 20.04, FLACs 16->24 bit, 44.1->192kbps. 2 Touches & EDO.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (A308CR amp & ESLs) & Marantz CR603 UPnP renderers.
Also Minimserver & Upplay to same & to upmpdcli/mpd PC renderers.
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
Wireless Xubuntu 20.04 laptop firefox/upplay or Android mobile with Squeeze-Ctrl/BubbleUPnP controls LMS/Minimserver.
-
2016-03-10, 09:34 #27
- Join Date
- Dec 2009
- Location
- Albinea (RE) Italy
- Posts
- 819
Is Resampling FROM the actual sample rate of the track being played (unkown at the moment of settings) TO the sample rate calculated runtime, considering the "Resample At" setting AND the list of supported sample rate. Take place only if Resample is enabled for the player AND the format (codec) of that track.
Is Transcoding FROM the actual format of the track being played, always TO the format selected in "Output format" setting. Take place only if Transcoding is enabled for the player AND the format (codec) of that track.
If you need player A always transcode to WAV and Player B always transcode to Aiff, then you need to use specific player settings, if you just need palyer B not to trascode, but mantain in output same codec than in input, just disable transcoding for player B and all imput codecs, no needs to specify "Output format" per player in this case.Last edited by marcoc1712; 2016-03-10 at 10:27.
__________________________________________________ ______________________
Author of C-3PO plugin, Squeezelite-R2, Falcon Web interface - See www.marcoc1712.it
-
2016-03-10, 10:26 #28
- Join Date
- Dec 2009
- Location
- Albinea (RE) Italy
- Posts
- 819
Just two notes:
1. C-3PO isn't disabling anything, it just leave LMS handle Lossy codecs 'as usual', as if it was not there. You could arrange to decode aac to flac via custom-convert.conf (or any other way you are used to) no matter if C-3PO is installed or not.
I personally don't think is a valuable practice to upsample or decode lossy formats, that's why is not in C-3PO, but this is up to you.
Anyway, adding support to other codecs in C-3PO it's feasible, if there is a real needs I could think about it.
2. C-3PO could upsample and encode to flac (this is what is going to happen: decode to pcm, upsample, encode pcm to flac) and in that case LMS is also producing correct strm messages. Any player capable to play flac at that output sample rate and bit depth could play that stream, included 'normal' versions of squeezelite.
Was the 'normal' way we used to upsample server side before squeezelite-R2.
I personally think is quite a waste of power (you then have your client decode a much bigger stream to pcm, in order to play it), but is still there.__________________________________________________ ______________________
Author of C-3PO plugin, Squeezelite-R2, Falcon Web interface - See www.marcoc1712.it
-
2016-03-10, 10:35 #29
- Join Date
- Nov 2010
- Location
- Hertfordshire, UK
- Posts
- 3,167
So the codecs listed next to Enable Resampling are the FROM codecs? ie only Resample for tracks that are already in the codecs listed on the same line?
Is Transcoding FROM the actual format of the track being played, always TO the format selected in "Output format" setting. Take place only if Transcoding is enabled for the player AND the format (codec) of that track.
If you need player A always transcode to WAV and Player B always transcode to Aiff, then you need to use specific player settings, if you just need palyer B not to trascode, but mantain in output same codec than in input, just disable transcoding for player B and all imput codecs, no needs to specify "Output format" per player in this case.LMS 8.1 on PC, Xubuntu 20.04, FLACs 16->24 bit, 44.1->192kbps. 2 Touches & EDO.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (A308CR amp & ESLs) & Marantz CR603 UPnP renderers.
Also Minimserver & Upplay to same & to upmpdcli/mpd PC renderers.
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
Wireless Xubuntu 20.04 laptop firefox/upplay or Android mobile with Squeeze-Ctrl/BubbleUPnP controls LMS/Minimserver.
-
2016-03-10, 10:47 #30
- Join Date
- Nov 2010
- Location
- Hertfordshire, UK
- Posts
- 3,167
I need to transcode aac to flac because my renderer hardly plays at all with aac (it should work, but it doesn't properly). To do this I just set the File Types in the Settings to support aac to flac transcoding, and make sure that my renderer does not announce its ability to support aac (I can do this with squeeze2upnp settings). I have no need to tinker with custom-convert.conf for this to work. I think you are saying this will still work.
2. C-3PO could upsample and encode to flac (this is what is going to happen: decode to pcm, upsample, encode pcm to flac) and in that case LMS is also producing correct strm messages. Any player capable to play flac at that output sample rate and bit depth could play that stream, included 'normal' versions of squeezelite.
Was the 'normal' way we used to upsample server side before squeezelite-R2.
I personally think is quite a waste of power (you then have your client decode a much bigger stream to pcm, in order to play it), but is still there.LMS 8.1 on PC, Xubuntu 20.04, FLACs 16->24 bit, 44.1->192kbps. 2 Touches & EDO.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (A308CR amp & ESLs) & Marantz CR603 UPnP renderers.
Also Minimserver & Upplay to same & to upmpdcli/mpd PC renderers.
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
Wireless Xubuntu 20.04 laptop firefox/upplay or Android mobile with Squeeze-Ctrl/BubbleUPnP controls LMS/Minimserver.