Skip to main content
Topic: UPnP MediaRenderer output | discussion (Read 134735 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: UPnP MediaRenderer output | discussion

Reply #325
Re stream titles-
It's been requested before, I really wish I could do it but there doesn't seem to be a way - without breaking gapless playback at least.

What about HTTP streaming and metadata? For example: https://www.unified-streaming.com/blog/how-make-your-media-streams-smarter-using-timed-metadata

In the console there are messages like
[UPnP] HTTP request #3: HTTP/1.1 GET /3/stream.flac
[UPnP] HTTP concurrency: 1

Is the stream implemented as HTTP stream?

Re: UPnP MediaRenderer output | discussion

Reply #326
Thanks Peter, no more XML error, the playback still don't start.
the console is displaying this loop :
 [UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 00:00:00
Thanks for testing.

Looks like the device is trying to fetch the whole stream content, instead of playing it as a live stream.

Please try if one of these configs make any difference:
Code: [Select]
model=gmediarender
forced-format=LPCM

Code: [Select]
model=gmediarender
forced-format=FLAC

Re: UPnP MediaRenderer output | discussion

Reply #327
What about HTTP streaming and metadata? For example: https://www.unified-streaming.com/blog/how-make-your-media-streams-smarter-using-timed-metadata

In the console there are messages like
[UPnP] HTTP request #3: HTTP/1.1 GET /3/stream.flac
[UPnP] HTTP concurrency: 1

Is the stream implemented as HTTP stream?
Yes, it's a HTTP stream. A minimal HTTP server is started, presenting played audio as a live HTTP stream; the target device gets asked to play the stream.
I thought of shoutcast style live HTTP metadata before, but it's a long shot - UPnP AV specification requires metadata to be passed with the URL to be played; the devices will probably ignore HTTP metadata and just keep showing UPnP AV metadata. I'll keep this in mind for a future update.

Re: UPnP MediaRenderer output | discussion

Reply #328
Thanks Peter, no more XML error, the playback still don't start.
the console is displaying this loop :
 [UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 00:00:00
Thanks for testing.

Looks like the device is trying to fetch the whole stream content, instead of playing it as a live stream.

Please try if one of these configs make any difference:
Code: [Select]
model=gmediarender
forced-format=LPCM

Code: [Select]
model=gmediarender
forced-format=FLAC
"Unrecoverable playback error: This device does not support forced-format of LPCM"
Same error for forced FLAC

Re: UPnP MediaRenderer output | discussion

Reply #329
Yes, it's a HTTP stream. A minimal HTTP server is started, presenting played audio as a live HTTP stream; the target device gets asked to play the stream.
I thought of shoutcast style live HTTP metadata before, but it's a long shot - UPnP AV specification requires metadata to be passed with the URL to be played; the devices will probably ignore HTTP metadata and just keep showing UPnP AV metadata. I'll keep this in mind for a future update.

Depending on how challenging it would be to implement I think it could be worth a shot :)

Re: UPnP MediaRenderer output | discussion

Reply #330
"Unrecoverable playback error: This device does not support forced-format of LPCM"
Same error for forced FLAC
I'm sorry but I'm afraid that I can't be of any more help right now, without access to relevant device. I set up install of gmediarender in my lab but saw none of these issues with it; perhaps the device comes with an old or modified version of gmediarender tool.

Re: UPnP MediaRenderer output | discussion

Reply #331
Why do i see 2 identical devices Volumio with the same ip? I have squeezelite plugin installed on volumio, maybe because of that?

Re: UPnP MediaRenderer output | discussion

Reply #332
The same here, two volumio devices. I was searching in my house for the second one but nothing yet.
I think it happened after a recent update, not sure.

Re: UPnP MediaRenderer output | discussion

Reply #333
The same here, two volumio devices. I was searching in my house for the second one but nothing yet.
I think it happened after a recent update, not sure.


yes, after last update

Re: UPnP MediaRenderer output | discussion

Reply #334
By the way your plugin is not working as it expected, in settings I see # default to FLAC where supported
preferred-format=FLAC
but in volumio I see wav incoming format

Re: UPnP MediaRenderer output | discussion

Reply #335
Hi,
where i find the previews version of UPnP because with last version my Yamaha WXAD-10 stop play unexpected....

[UPnP] transferMode.dlna.org: Streaming
[UPnP] User-Agent: Network_Module/1.0 (WXAD-10)
[UPnP] Returned time: 0:00:13
[UPnP] Nonsensical timestamp - 0:13.000000 while maximum possible is 0:09.429333
[UPnP] HTTP request #2 finished
[UPnP] HTTP concurrency: 0
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 0:00:04
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: STOPPED
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: STOPPED
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: STOPPED

Re: UPnP MediaRenderer output | discussion

Reply #336
"Unrecoverable playback error: This device does not support forced-format of LPCM"
Same error for forced FLAC
I'm sorry but I'm afraid that I can't be of any more help right now, without access to relevant device. I set up install of gmediarender in my lab but saw none of these issues with it; perhaps the device comes with an old or modified version of gmediarender tool.
Ah ok.  For information, the other upnp plugin for foobar can make it play but it is a little bit old, not easy to use and have some glitches . Also many other audio players, including smartphone players are ok with the DP3 unit. Thanks anyway for your try.

Re: UPnP MediaRenderer output | discussion

Reply #337
Anyway, don't spend more time with the dp3 for me, I've sent it back to the shop and bought a Digione Signature who is sounding not so awesome but is 100% working with Foobar.

Re: UPnP MediaRenderer output | discussion

Reply #338
Using the previous official version, streaming was always LPCM.
With the latest version, it is FLAC ; although in confguration I have "preferred-format=LPCM".
It seems also that LPCM cannot be forced. Correction: the following gets accepted with no error message 
model=gmediarender
forced-format=LPCM
but it still plays FLAC according to the log:

[UPnP] Stream address: http://192.168.1.198:50644/5/stream.flac

[UPnP] HTTP request #9: HTTP/1.1 HEAD /5/stream.flac
[UPnP] HTTP concurrency: 1
[UPnP] Source: 192.168.1.115:57898
[UPnP] getcontentFeatures.dlna.org: 1
[UPnP] Host: 192.168.1.198:50644
[UPnP] HTTP request #9 finished
[UPnP] HTTP concurrency: 0
[UPnP] transport op: Play
[UPnP] transport op OK, took 0:00.063529
[UPnP] HTTP request #10: HTTP/1.1 GET /5/stream.flac
[UPnP] HTTP concurrency: 1
[UPnP] Source: 192.168.1.115:57899
[UPnP] Accept: */*
[UPnP] Accept-Encoding: deflate, gzip
[UPnP] Host: 192.168.1.198:50644
[UPnP] Range: bytes=0-
[UPnP] User-Agent: samsung-agent/1.1
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:00.522
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 0:00:05.564
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 0:00:10.605



See longer part of log:

[UPnP] Transport state: PLAYING
[UPnP] HTTP request #4 finished
[UPnP] HTTP concurrency: 0
Opening track for playback: "http://stream-eu1.radioparadise.com/aac-320"
[UPnP] Opening device:
[UPnP] manufacturer=Samsung Electronics
[UPnP] model=HW-MS750
[UPnP] name=[AV] Samsung Soundbar MS750
[UPnP] Device protocol info:
[UPnP] http-get:*:audio/L16:DLNA.ORG_PN=LPCM;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:audio/vnd.dolby.dd-raw:DLNA.ORG_PN=AC3;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AMR_3GPP;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/3gpp:DLNA.ORG_PN=AMR_WBplus;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/x-sony-oma:DLNA.ORG_PN=ATRAC3plus;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3X;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_320;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_LTP_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_LTP_MULT5_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_LTP_MULT7_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_MULT5_ADTS;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_MULT5_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=HEAAC_L2_ADTS;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=HEAAC_L2_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=HEAAC_L3_ADTS;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=HEAAC_L3_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=HEAAC_MULT5_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=HEAAC_L2_ADTS_320;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=HEAAC_L2_ISO_320;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=BSAC_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=BSAC_MULT5_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mpeg:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/mp4:*,http-get:*:audio/x-m4a:*,http-get:*:audio/3ga:*,http-get:*:audio/ogg:*,http-get:*:audio/x-wav:*,http-get:*:audio/midi:*,http-get:*:audio/aiff:*,http-get:*:audio/x-aiff:*,http-get:*:audio/x-ape:*,http-get:*:audio/x-monkeys-audio:*,http-get:*:audio/aac:*,http-get:*:audio/flac:*,http-get:*:audio/x-flac:*
Unrecoverable playback error: This device does not support forced-format of LPCM
Opening track for playback: "http://stream-eu1.radioparadise.com/aac-320"
[UPnP] Opening device:
[UPnP] manufacturer=Samsung Electronics
[UPnP] model=HW-MS750
[UPnP] name=[AV] Samsung Soundbar MS750
[UPnP] Device protocol info:
[UPnP] http-get:*:audio/L16:DLNA.ORG_PN=LPCM;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:audio/vnd.dolby.dd-raw:DLNA.ORG_PN=AC3;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AMR_3GPP;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/3gpp:DLNA.ORG_PN=AMR_WBplus;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/x-sony-oma:DLNA.ORG_PN=ATRAC3plus;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3X;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_320;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_LTP_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_LTP_MULT5_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_LTP_MULT7_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_MULT5_ADTS;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_MULT5_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=HEAAC_L2_ADTS;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=HEAAC_L2_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=HEAAC_L3_ADTS;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=HEAAC_L3_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=HEAAC_MULT5_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=HEAAC_L2_ADTS_320;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=HEAAC_L2_ISO_320;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=BSAC_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=BSAC_MULT5_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mpeg:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/mp4:*,http-get:*:audio/x-m4a:*,http-get:*:audio/3ga:*,http-get:*:audio/ogg:*,http-get:*:audio/x-wav:*,http-get:*:audio/midi:*,http-get:*:audio/aiff:*,http-get:*:audio/x-aiff:*,http-get:*:audio/x-ape:*,http-get:*:audio/x-monkeys-audio:*,http-get:*:audio/aac:*,http-get:*:audio/flac:*,http-get:*:audio/x-flac:*
[UPnP] Listening on: 192.168.1.198
[UPnP] Stream address: http://192.168.1.198:50644/3/stream.flac
[UPnP] HTTP request #5: HTTP/1.1 HEAD /3/stream.flac
[UPnP] HTTP concurrency: 1
[UPnP] Source: 192.168.1.115:57892
[UPnP] getcontentFeatures.dlna.org: 1
[UPnP] Host: 192.168.1.198:50644
[UPnP] HTTP request #5 finished
[UPnP] HTTP concurrency: 0
[UPnP] transport op: Play
[UPnP] transport op OK, took 0:00.057277
[UPnP] HTTP request #6: HTTP/1.1 GET /3/stream.flac
[UPnP] HTTP concurrency: 1
[UPnP] Source: 192.168.1.115:57893
[UPnP] Accept: */*
[UPnP] Accept-Encoding: deflate, gzip
[UPnP] Host: 192.168.1.198:50644
[UPnP] Range: bytes=0-
[UPnP] User-Agent: samsung-agent/1.1
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:00.888
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 0:00:05.903

Re: UPnP MediaRenderer output | discussion

Reply #339
Not sure why you're using "model=gmediarender" in your config when your device is clearly something else:
manufacturer=Samsung Electronics
model=HW-MS750

Is FLAC playback problematic with this device?

Re: UPnP MediaRenderer output | discussion

Reply #340
No problems with FLAC, but would prefer to have the choice.
The "preferred-format=LPCM" is not respected.
When trying to use "model=HW-MS750, forced-format=LPCM" (or only the second line), an error pops-up (the device does not support forced LPCM).
Although LPCM is declared as supported, and in fact working for 1-2 years with previous software version.

Re: UPnP MediaRenderer output | discussion

Reply #341
Try setting output bit depth to 16 ?

Re: UPnP MediaRenderer output | discussion

Reply #342
Try setting output bit depth to 16 ?
 
 
Bit depth 16 (dither or no) does not work (no output). Almost sure that this was the case before also (older software). Do not know why.
Only acceptable bit depth from Foobar is 24.

Just to cover the basics... O:) Configuration trying to get LPCM is as follows (hope is right)
# defaults that apply to every device
stream-title=foobar2000 audio stream
# default preferred format, can be overridden per-device; available are: FLAC, WAV, LPCM
# default to FLAC where supported
preferred-format=LPCM
# Various devices fail to pause on what they assume to be a live stream, require a stop command
# Can be overridden to true for specific devices
supports-pause=false
# Default to FLAC not supported even if the device claims otherwise
# Many report that they support FLAC yet fail to play an infinite length FLAC stream
supports-FLAC=true

#manufacturer=Samsung Electronics
#model=HW-MS750
#forced-format=LPCM

# Linn fixes
...


Re: UPnP MediaRenderer output | discussion

Reply #343
foobar2000 v1.4.4
UPnP MediaRenderer Output 1.3.1

Unfortunately, foo does not detect my player Pioneer N-70AE as a output device. On one of the earlier versions foobar I used to used this component and then my Pioneer was detected correctly.  :'(  :'(  :'(

Re: UPnP MediaRenderer output | discussion

Reply #344
foobar2000 v1.4.4
UPnP MediaRenderer Output 1.3.1

Unfortunately, foo does not detect my player Pioneer N-70AE as a output device. On one of the earlier versions foobar I used to used this component and then my Pioneer was detected correctly.  :'(  :'(  :'(
By not detecting your player, you mean that the player does not show on your output device list, correct?
Please make sure that foobar2000 is not being blocked by Windows Firewall.

I've uploaded various old versions here:
https://www.foobar2000.org/temp/foo_out_upnp/
If you could please tell me which of these work and which don't - specifically, what's the newest one that detects your device / what's the oldest one that no longer does.


Re: UPnP MediaRenderer output | discussion

Reply #345
If you could please tell me which of these work and which don't - specifically, what's the newest one that detects your device / what's the oldest one that no longer does.
Thanks for your quick response. I tested older versions of the plugin:

[06] foo_out_upnp-1.2.1.fb2k-component      WORKS
[07] foo_out_upnp-1.3b1.fb2k-component     WORKS
[08] foo_out_upnp-1.3b2.fb2k-component     WORKS
[09] foo_out_upnp-1.3b3.fb2k-component     WORKS
[10] foo_out_upnp-1.3b4.fb2k-component     NOT WORK
[11] foo_out_upnp-1.3b5.fb2k-component     NOT WORK
[12] foo_out_upnp-1.3.fb2k-component         NOT WORK
[14] foo_out_upnp-1.3.2b1.fb2k-component  NOT WORK




Re: UPnP MediaRenderer output | discussion

Reply #346
By not detecting your player, you mean that the player does not show on your output device list, correct?
Yes exactly, it does not appear on the list of output devices.

BTW
I apologize for two entries in a row but I have overlooked this question.  :-[

Re: UPnP MediaRenderer output | discussion

Reply #347
Tried 
  • supports-FLAC=false,   and
  • preferred-format=WAV
Both trials result in WAV output.

Together with (1) above I added:
#supports-WAV=false
These two together resulted in error, and no playback.

If it helps, there is also a Whitebear log, but cannot see how it can be uploaded here.

 

Re: UPnP MediaRenderer output | discussion

Reply #348
Thanks for your quick response. I tested older versions of the plugin:

(...)
Thanks, this is most useful.

Please install:
https://www.foobar2000.org/temp/foo_out_upnp-debug.fb2k-component
It's a mod of the last good build; provides a new command - "Debug device XML"

Please save an XML of the Pioneer device and upload it for me to look into.

Re: UPnP MediaRenderer output | discussion

Reply #349
Hi,
I'm trying to make it work with Sonos. I have a set of two Sonos:1 speakers linked as a stereo pair. The left speaker plays fine when selected, but the right speaker doesn't produce any sound; selecting the right speaker gives "Unrecoverable playback error: UPnPError" message. If separated, each speaker can be selected and would play, but obviously in mono.
Is there a way to make them play in stereo mode?
Thanks!

 
SimplePortal 1.0.0 RC1 © 2008-2019