This stuff gets very tangled. I decided to completely remove the C3PO plugin, rather than just disable it for this player, and re-run some tests to see if it made a difference. It does, and I'll ask why on the appropriate thread. For your information, if C3PO is installed, the flc transcode entry in convert.conf is ignored, and the logic drops through to use mp3. If C3PO is not installed, the flc to flac transcode entry is used appropriately, LMS downsamples 192000 flac to 96000 flac and that's what the UPnP bridge sees.
For your info, two server logs are attached, one without C3PO installed, and with it installed. In the latter case it's not enabled for the player, but it does mess up the transcoding. This clearly isn't your problem.
I use C3PO to good effect with other players, so I'll keep it installed and find a way round the problems it has created. I believe setting the UPnP player's ability to 192000 removes the unnecessary mp3 conversion, so will try that.
I still haven't got C3PO to work with UPnP, but that's for another day.
Results 2,061 to 2,070 of 3155
-
2018-08-26, 02:30 #2061
- Join Date
- Nov 2010
- Location
- Hertfordshire, UK
- Posts
- 3,244
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.
-
2018-08-26, 09:36 #2062
- Join Date
- May 2008
- Location
- Canada
- Posts
- 6,922
LMS 8.1.x on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3
-
2018-08-26, 09:46 #2063
- Join Date
- Nov 2010
- Location
- Hertfordshire, UK
- Posts
- 3,244
I think I have now worked my thoughts on this into a workable solution for me.
1. I'd quite like gapless on my Marantz (if not, I don't think there's any point in my using the new features)
2. I don't want transcoding twice anywhere - so I just need C3PO to keep out of the way, and LMS to send stuff through unchanged
3. So I set the UPnP config for my Marantz UPnP to declare that it can do pretty much anything I want - aac, pcm, flc, mp3 at up to 24/192000 quality (the most I ever use), even though the player can't actually do some of those things
4. I then use the new UPnP bridge transcoding to get the best out of the player, all at the same quality so that 'flow' works
For my Marantz I think that means transcoding to wav (not raw), 24/96000, Packed Type 1, and setting 'flow' but NOT 'No Higher'. I don't miss the track details display since it's a very basic one on this player, and my controlling browser is in the same room, showing me what I am playing.
I tried transcoding to flac, but 'flow' doesn't work on my system with flac. I don't know why - maybe I misunderstood the manual
I believe there are size limitations on gapless and wav, but it's probably OK for my purposes. Only some things I play need it - for instance Rachmaninov's "Rhapsody on a theme of Paganini", where it's much better gapless.
It's taken me far too long to get my head round all this. At least some of my confusion has been caused by another plugins doing subtle things that I really didn't want to happen. ANd some of it is the sheer number of options now available. I had not, for instance, realised that the UPnP player audio capabilities settings were pretty irrelevant once one uses transcoding in the bridge, and so should be set to the best possible options, letting the transcoding in the bridge do the rest.
And once again please accept my apologies for my rants and raves and time-wasting posts.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.
-
2018-08-26, 09:48 #2064
- Join Date
- Nov 2010
- Location
- Hertfordshire, UK
- Posts
- 3,244
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.
-
2018-08-26, 13:54 #2065
- Join Date
- Nov 2010
- Location
- Hertfordshire, UK
- Posts
- 3,244
In case anyone thinks I have unfairly maligned the C-3PO plugin, it turns out that the issue is in LMS, not C-3PO. For reasons no doubt buried in history, LMS does not look for FLAC transcoding rules for specific player MACs, although it does look at other rules by MAC. When C-3PO is installed it makes sure that every file conversion rule is specified of each and every MAC, rather than just generic rules, because it can change the rules for each and every individual MAC.
Unfortunately LMS does not look for a specific FLAC to FLAC transcoding rule for the UPnP player MAC (or any other MAC, just the generic * MAC), even though C-3PO has created one, and so drops down to the FLAC to MP3 rule which does not specify 'transcode' in the name of the rule. Bother.
Confused? You will be, after next weeks episode of SOAP. (Sorry, a deliberate mis-quote showing my age....)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.
-
2018-08-26, 21:34 #2066
- Join Date
- May 2008
- Location
- Canada
- Posts
- 6,922
I've added the following flow diagrams - not sure it helps
1/ general comment son player registration & track playback from LMS point of view
2/ how the bridge selects a format to send to the UPnP player
3/ how the audio stream is processed
Last edited by philippe_44; 2018-08-26 at 23:19.
LMS 8.1.x on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3
-
2018-08-26, 21:39 #2067
- Join Date
- May 2008
- Location
- Canada
- Posts
- 6,922
LMS 8.1.x on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3
-
2018-08-26, 22:48 #2068
- Join Date
- May 2008
- Location
- Canada
- Posts
- 6,922
1.2.1
While backporting some modifications, I left a problem with flac re-encoding. Please update to 1.2.1 (true for Castbridge as well)
LMS 8.1.x on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3
-
2018-08-26, 23:08 #2069
- Join Date
- May 2008
- Location
- Canada
- Posts
- 6,922
You can also add "ogg" as it's natively supported by the bridge.
For my Marantz I think that means transcoding to wav (not raw), 24/96000, Packed Type 1, and setting 'flow' but NOT 'No Higher'. I don't miss the track details display since it's a very basic one on this player, and my controlling browser is in the same room, showing me what I am playing.
I tried transcoding to flac, but 'flow' doesn't work on my system with flac. I don't know why - maybe I misunderstood the manual
I believe there are size limitations on gapless and wav, but it's probably OK for my purposes. Only some things I play need it - for instance Rachmaninov's "Rhapsody on a theme of Paganini", where it's much better gapless.
It's taken me far too long to get my head round all this. At least some of my confusion has been caused by another plugins doing subtle things that I really didn't want to happen. ANd some of it is the sheer number of options now available. I had not, for instance, realised that the UPnP player audio capabilities settings were pretty irrelevant once one uses transcoding in the bridge, and so should be set to the best possible options, letting the transcoding in the bridge do the rest.
And once again please accept my apologies for my rants and raves and time-wasting posts.
And in addition, these concepts are complicated and I have not found a good way so far to communicate them.
To some extend, the pcm mode, with raw, wav and all that is adding an extraordinary level of permutations & combinations that do not exist with flac & mp3. My opinion is that the best configuration is either the thru (through) mode with it's uncertainties or a flac/mp3. Using pcm is probably looking for troubes and headaches (and it's very visible in the flow diagrams I've added)
Last edited by philippe_44; 2018-08-26 at 23:20.
LMS 8.1.x on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3
-
2018-08-27, 02:24 #2070
- Join Date
- Nov 2010
- Location
- Hertfordshire, UK
- Posts
- 3,244
I think that once you decide you need to transcode (for flow, replay gain or whatever), the upnp player abilities are almost entirely irrelevant, and you should just set a sensible codec and fixed rate for your player.
flac and flow now works - thanks. I've now picked flac 96000, 0 compression, 24 bit for my Marantz and that seems fine.
I have never, ever, used replay gain and so on, so haven't tested that.
What limitation do you have in mind?
Please don't apologize, as said before I really appreciate you take the time for these tests and I know this is very frustrating because I left a lot of errors and you don't know if this is a problem with the version or if this is a wrong setting. I have the chance to be able to discriminate these from source code and with a debugger, which makes that much less "infuriating" (although there are some other painful moments).
And in addition, these concepts are complicated and I have not found a good way so far to communicate them.
To some extend, the pcm mode, with raw, wav and all that is adding an extraordinary level of permutations & combinations that do not exist with flac & mp3. My opinion is that the best configuration is either the thru (through) mode with it's uncertainties or a flac/mp3. Using pcm is probably looking for troubes and headaches (and it's very visible in the flow diagrams I've added)
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.