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

Re: UPnP MediaRenderer output | discussion

Reply #425
Dear Peter and HA folks ,
I used foorbar2000 upnp output plugin to cast to my hardware Yamaha streamer and software neutron player inside my hi-fi android DAP & audiophile smartphone LG G7 ThinQ. When I cast from my laptop in flac format to Yamaha it works good, but when to software renderer neutron player it plays first 20-30 secs only, then it gets stack then. Playing with settings I found WAV format works but FLAC don't work normally. I tried to investigate the issue and found content-length http header is absent in the response of the stream url when format is FLAC but present when format is WAV. Is this a bug?
My config
Code: [Select]
manufacturer=Neutron Code Limited
model=Neutron Music Player
forced-format=WAV
supports-pause=true

manufacturer=Yamaha Corporation
model=NP-S303
forced-format=WAV
supports-pause=true


Re: UPnP MediaRenderer output | discussion

Reply #426
Hi,

I have met the same problem for Neutron audio player. Checking the blog I found below info. The component has been optimized for a number of real world devices.
Peter: Reply #287
Case:  Reply #378

Re: UPnP MediaRenderer output | discussion

Reply #427
Hi,

I have met the same problem for Neutron audio player. Checking the blog I found below info. The component has been optimized for a number of real world devices.
Peter: Reply #287
Case:  Reply #378

sacduser, thank you! However  I haven't got your message. I understand that some tweaks were applied, but is this a valid reason to deny option having content length header with FLAC format as we have for WAV?

Re: UPnP MediaRenderer output | discussion

Reply #428
Hi
The current specification has been discussed in the blog and seems to suit a number of users. You can use foo_upnp if you want a more standard upnp component.

Re: UPnP MediaRenderer output | discussion

Reply #429
Hello,
I have a "reactivity" problem : I am using a Raspberry with the MoOde distribution. The MoOde UPnP renderer is immediately found by BubbleUPnP on my portable phone (which shows it is working correctly), but in using Foobar I must wait several minutes to let UPnP Mediarenderer Output find the renderer.
Once found it stays active without problem, but if I quit Foobar and start it again I have to wait several minutes until the MoOde renderer is found again.

The device properties are :
Friendly name : Moode UPNP
IP address : 192.168.1.12
Presentation URL : http://192.168.1.12:49152/upmpd/presentation.html
Manufacturer : JF Light Industries
Manufacturer URL : https://opensourceprojects.eu/u/medoc/profile/
Model : UpMPD
Model number : 1.0
Model description : UPnP front-end to MPD
Model URL : https://opensourceprojects.eu/p/upmpdcli/code/
Serial number : 42

Any way to improve ?
Thanks,
John


I use Moode also but haven't experienced these issues.  For its UPnP renderering capabilities it uses a version of upmpdcli and libupnpp which are now a bit dated.  I can't promise that updating these components will resolve things for you, but its probably worth trying. This is a relatively straighforward process that's set out here: https://www.lesbonscomptes.com/upmpdcli/downloads.html  (If you're using a recent version of Moode the 'upmpdcli.list' file will need to be edited for 'Buster - Raspbian AND other armhf Debian' systems).  Good luck

Re: UPnP MediaRenderer output | discussion

Reply #430
Have only just stumbled upon this component, and just like foobar it's amazing!

My only gripe (which I can live with) is that when starting a stream to Sonos (or manually switching tracks) there's a stutter at the beginning (when played to Openhome proxy that stutter is exaggerated).

Also, does anyone know a way of limiting the devices listed in the Output Switcher toolbar component, as with the UPnP devices it totals 12, but I’m only going to use two of them.

Thanks again for your time in providing these tools to the community for free.

Re: UPnP MediaRenderer output | discussion

Reply #431
I have a Sonos One and don't experience any stutter here. My config is
Code: [Select]
manufacturer=Sonos, Inc.
supports-FLAC=true
bitdepth-max=16

Re: UPnP MediaRenderer output | discussion

Reply #432
I have a Sonos One and don't experience any stutter here.

Don't you just hate technology...sometimes!
I tried the bitdepth-max setting but no joy, then I turned the speaker off and on again and it works fine going direct to the speaker, with the stutter whilst using it as OpenHome.
I'm also having problems playing to a Google Home/Chromecast Audio through BubbleUPnP. Proxied to a DLNA speaker it works fine, but as an OpenHome speaker it cuts out after 25 seconds. It's probably related to the fact it's not getting a time fed back ([UPnP] Returned time: 0) but I've tried 'reports-time=false' and it makes no difference.

I guess using with OpenHome is a little unstable at present.

Re: UPnP MediaRenderer output | discussion

Reply #433
I am late to the game but absolutely love this plugin. It has made playing music in my room of choice incredibly easy. So far, it has been working very well with my two Yamaha receivers (RX-A3070 and an RX-A2050). I do have a question though. For those of you using your receviers as the output device, does the artist and song name show on the display device conencted to your receiver? In my case, it is a tv. Mine only shows "foobar2000 audio stream".

Re: UPnP MediaRenderer output | discussion

Reply #434
I found my answer about displaying artist and/or title. Unfortunately it doesn't look like any way to currently do it. Lots of others have asked also.

I am late to the game but absolutely love this plugin. It has made playing music in my room of choice incredibly easy. So far, it has been working very well with my two Yamaha receivers (RX-A3070 and an RX-A2050). I do have a question though. For those of you using your receviers as the output device, does the artist and song name show on the display device conencted to your receiver? In my case, it is a tv. Mine only shows "foobar2000 audio stream".

Re: UPnP MediaRenderer output | discussion

Reply #435
Cannot play 96.0 kHz audio on Yamaha R-N301

It is not possible to play 96.0 kHz audio using foo_out_upnp on my Yamaha R-N301 network amplifier, although this frequency rate is supported by Yamaha’s specs. Actually, my amplifier is capable to play MP3, WMA, MPEG4, AAC, WAV, FLAC up to 192kHz/24-bit Audio. Using foo_upnp, I can stream successfully AAC and FLAC 96.0kHz without converting to WAV or LPCM.

Is it possible to fix it by modifying the foo_out_upnp configuration?

Report for Yamaha R-N301:
Device Properties:
Friendly name : YAMAHA R-N301
IP address : 192.168.1.11
Presentation URL : http://192.168.1.11/
Manufacturer : Yamaha Corporation
Manufacturer URL : http://www.yamaha.com/
Model : R-N301
Model number : N301
Model description : Network Player
Model URL : https://my.yamaha.com/en/products/audio_visual/hifi_components/r-n301/specs.html#product-tabs
Serial number : 0E6CC6F3

Supported formats:
http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM
http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM
http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM
http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM
http-get:*:audio/mpeg:DLNA.ORG_PN=MP3
http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE
http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL
http-wavetunes:*:audio/x-ms-wma:*

Re: UPnP MediaRenderer output | discussion

Reply #436
How do I uninstall UPnP MediaRenderer Output from my Windows 10 computer,  I see the component added to the foobar, this was not even the app i wanted now everyday when I boot my computer I have to address firewalls rules because of this app, I went to control panel to try and remove, it not listed, I total regret adding this component should have no better since developer had basically nothing to say about component. Please anyone had to get rid of this annoying app  the developer leaving you hanging on how to remove?

Re: UPnP MediaRenderer output | discussion

Reply #437
^ I assume the same as uninstalling any component -
In foobar Preferences > Components, right-click component name > Remove.

Re: UPnP MediaRenderer output | discussion

Reply #438
Hi!
I installed "UPnP MediaRenderer Output" and "UPnP/DLNA Renderer, Server, Control Point" and work great with Soundmate, but there is no sound through Jongo A2. Is there a matter of setting?

Re: UPnP MediaRenderer output | discussion

Reply #439
Hello everybody!

I'm trying to stream audio to a kodi with this plugin. Windows cast to device works fine, and the plugin finds the kodi player, but when I try to stream, it buffers for a while and timeouts. The file in question is a .mp3, but this doesn't work with any other file either.

Here's the console logs.
Code: [Select]
[UPnP] Opening device:
[UPnP] manufacturer=XBMC Foundation
[UPnP] model=Kodi
[UPnP] name=Kodi (tipe)
Track scanned in 7431.833 ms
[UPnP] Detached transport op failure: network timeout
[UPnP] Device protocol info:
[UPnP] http-get:*:*:*,xbmc-get:*:*:*,http-get:*:audio/mkv:*,http-get:*:audio/mpegurl:*,http-get:*:audio/mpeg:*,http-get:*:audio/mpeg3:*,http-get:*:audio/mp3:*,http-get:*:audio/mp4:*,http-get:*:audio/basic:*,http-get:*:audio/midi:*,http-get:*:audio/ulaw:*,http-get:*:audio/ogg:*,http-get:*:audio/DVI4:*,http-get:*:audio/G722:*,http-get:*:audio/G723:*,http-get:*:audio/G726-16:*,http-get:*:audio/G726-24:*,http-get:*:audio/G726-32:*,http-get:*:audio/G726-40:*,http-get:*:audio/G728:*,http-get:*:audio/G729:*,http-get:*:audio/G729D:*,http-get:*:audio/G729E:*,http-get:*:audio/GSM:*,http-get:*:audio/GSM-EFR:*,http-get:*:audio/L8:*,http-get:*:audio/L16:*,http-get:*:audio/LPC:*,http-get:*:audio/MPA:*,http-get:*:audio/PCMA:*,http-get:*:audio/PCMU:*,http-get:*:audio/QCELP:*,http-get:*:audio/RED:*,http-get:*:audio/VDVI:*,http-get:*:audio/ac3:*,http-get:*:audio/vorbis:*,http-get:*:audio/speex:*,http-get:*:audio/flac:*,http-get:*:audio/x-flac:*,http-get:*:audio/x-aiff:*,http-get:*:audio/x-pn-realaudio:*,http-get:*:audio/x-realaudio:*,http-get:*:audio/x-wav:*,http-get:*:audio/x-matroska:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/x-mpegurl:*,http-get:*:application/x-shockwave-flash:*,http-get:*:application/ogg:*,http-get:*:application/sdp:*,http-get:*:image/gif:*,http-get:*:image/jpeg:*,http-get:*:image/ief:*,http-get:*:image/png:*,http-get:*:image/tiff:*,http-get:*:video/avi:*,http-get:*:video/divx:*,http-get:*:video/mpeg:*,http-get:*:video/fli:*,http-get:*:video/flv:*,http-get:*:video/quicktime:*,http-get:*:video/vnd.vivo:*,http-get:*:video/vc1:*,http-get:*:video/ogg:*,http-get:*:video/mp4:*,http-get:*:video/mkv:*,http-get:*:video/BT656:*,http-get:*:video/CelB:*,http-get:*:video/JPEG:*,http-get:*:video/H261:*,http-get:*:video/H263:*,http-get:*:video/H263-1998:*,http-get:*:video/H263-2000:*,http-get:*:video/MPV:*,http-get:*:video/MP2T:*,http-get:*:video/MP1S:*,http-get:*:video/MP2P:*,http-get:*:video/BMPEG:*,http-get:*:video/xvid:*,http-get:*:video/x-divx:*,http-get:*:video/x-matroska:*,http-get:*:video/x-mkv:*,http-get:*:video/x-ms-wmv:*,http-get:*:video/x-ms-avi:*,http-get:*:video/x-flv:*,http-get:*:video/x-fli:*,http-get:*:video/x-ms-asf:*,http-get:*:video/x-ms-asx:*,http-get:*:video/x-ms-wmx:*,http-get:*:video/x-ms-wvx:*,http-get:*:video/x-msvideo:*,http-get:*:video/x-xvid:*
[UPnP] Listening on: 192.168.100.14
[UPnP] Stream address: http://192.168.100.14:62202/9/stream.flac
[UPnP] transport op: Play
[UPnP] transport op OK, took 0:00.005144
[UPnP] Transport state: PLAYING

It repeats the Transport state: PLAYING for a while, and the playback continues according to Foobar (No sound comes out tho). Then, after roughly 30 seconds, the console starts logging [UPnP] Transport state: PAUSED_PLAYBACK for a while, before throwing out a popup error, which says
Quote
Unrecoverable playback error: network timeout

I have the default configurations in the plugin settings.

ATM I'm getting by with the windows cast feature, but I'd really like to get this plugin working since foobar2k is my primary music player :)

Re: UPnP MediaRenderer output | discussion

Reply #440
Hi,

I do not know Kodi, so I can only come up with suggestions:

- using standard Foobar upnp configuration for Kodi the streamed format will be Flac for all input kodecs. In Foobar Output Preferences you can check it output is 16bit or 24 bit
- you can check Kodi errorlog, https://www.firesticktricks.com/check-kodi-log-for-more-information.html for more information

Re: UPnP MediaRenderer output | discussion

Reply #441
Hi,

I do not know Kodi, so I can only come up with suggestions:

- using standard Foobar upnp configuration for Kodi the streamed format will be Flac for all input kodecs. In Foobar Output Preferences you can check it output is 16bit or 24 bit
- you can check Kodi errorlog, https://www.firesticktricks.com/check-kodi-log-for-more-information.html for more information

Thanks for the advice!

This did not fix the issue. What did, however, was setting a new firewall rule allowing all traffic in foobar2k.

Re: UPnP MediaRenderer output | discussion

Reply #442
Visualization on Peakmeter Spectrum and others, does not work when using streaming with the UPnP MediaRenderer Output v1.3.2 plugin. Please tell me, is it possible to somehow fix this?

Re: UPnP MediaRenderer output | discussion

Reply #443
Hello!
I have this error on Windows 10, running last foobar2000 with upnp plugin... Windows player upnp works normally.

Code: [Select]
Opening track for playback: "C:\Users\User\Desktop\Audio files\201596.mp3"
[UPnP] Opening device:
[UPnP] manufacturer=Devialet
[UPnP] model=Gold Phantom
[UPnP] name=Salon
[UPnP] Stream format: 16-bit 44100Hz 2ch
<truncated>
[UPnP] Listening on: 127.0.0.1
[UPnP] Stream address: http://127.0.0.1:50153/5/stream.l16
[UPnP] SetAVTransportURI failure: Resource not found
[UPnP] == LAST REPLY XML ==
[UPnP] <?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>716</errorCode><errorDescription>Resource not found</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>
[UPnP] == XML END ==
Unrecoverable playback error: Resource not found
Thanks in advance!

Re: UPnP MediaRenderer output | discussion

Reply #444
Hello, GGMM M3 WiFi Bluetooth Speaker. It reports x-flac is suppoted
Quote
Friendly name : GGMM_M3_8fe
IP address : 192.168.111.222
Presentation URL : http://192.168.111.222
Manufacturer : GGMM
Manufacturer URL : http://www.savitech-ic.com
Model : GGMM_M4
Model description : AV Media Renderer
Model URL : http://www.savitech-ic.com/
Serial number : 000001

Supported formats:
http-get:*:audio/mpegurl:*
http-get:*:audio/mp3:*
http-get:*:audio/mpeg:*
http-get:*:audio/mpeg3:*
http-get:*:audio/x-ms-wma:*
http-get:*:audio/wma:*
http-get:*:audio/wav:*
http-get:*:audio/x-flac:*
http-get:*:audio/x-aac:*
http-get:*:audio/mp4:*
http-get:*:audio/x-ape:*
http-get:*:audio/ape:*
http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM
http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM

once I try to play flac file, it won't start

Code: [Select]
[UPnP] Opening device:
[UPnP] manufacturer=GGMM
[UPnP] model=GGMM_M4
[UPnP] name=GGMM_M3_8fe
[UPnP] Stream format: 16-bit 44100Hz 2ch
[UPnP] Device protocol info:
[UPnP] http-get:*:audio/mpegurl:*,http-get:*:audio/mp3:*,http-get:*:audio/mpeg:*,http-get:*:audio/mpeg3:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/wma:*,http-get:*:audio/wav:*,http-get:*:audio/x-flac:*,http-get:*:audio/x-aac:*,http-get:*:audio/mp4:*,http-get:*:audio/x-ape:*,http-get:*:audio/ape:*,http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM
[UPnP] Listening on: 192.168.111.22
[UPnP] Stream address: http://192.168.111.22:52056/58/stream.flac
[UPnP] transport op: Play
[UPnP] transport op OK, took 0:00.040186
[UPnP] HTTP request #84: HTTP/1.1 GET /58/stream.flac
[UPnP] HTTP concurrency: 1
[UPnP] Source: 192.168.111.222:53052
[UPnP] Host: 192.168.111.22
[UPnP] Referer: http://192.168.111.22:52056/58/stream.flac
[UPnP] User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
[UPnP] Returned time: 00:00:00
[UPnP] Transport state: PLAYING
[UPnP] HTTP request #84 finished
[UPnP] HTTP concurrency: 0
[UPnP] Returned time: 00:00:00
[UPnP] Transport state: STOPPED
[UPnP] Returned time: 00:00:00
[UPnP] Transport state: STOPPED
[UPnP] Returned time: 00:00:00
[UPnP] Transport state: STOPPED

also time reported is still 00:00:00

So I added block to configuration
Quote
manufacturer=GGMM
model=GGMM_M4
supports-FLAC=false
supports-pause=true
reports-time=false

and now it plays well (still wouldn't report time, so I set it to false)
Code: [Select]
[UPnP] Opening device:
[UPnP] manufacturer=GGMM
[UPnP] model=GGMM_M4
[UPnP] name=GGMM_M3_8fe
[UPnP] Stream format: 16-bit 44100Hz 2ch
[UPnP] Device protocol info:
[UPnP] http-get:*:audio/mpegurl:*,http-get:*:audio/mp3:*,http-get:*:audio/mpeg:*,http-get:*:audio/mpeg3:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/wma:*,http-get:*:audio/wav:*,http-get:*:audio/x-flac:*,http-get:*:audio/x-aac:*,http-get:*:audio/mp4:*,http-get:*:audio/x-ape:*,http-get:*:audio/ape:*,http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM
[UPnP] Listening on: 192.168.111.22
[UPnP] Stream address: http://192.168.111.22:52056/62/stream.l16
[UPnP] transport op: Play
[UPnP] transport op OK, took 0:00.040911
[UPnP] HTTP request #88: HTTP/1.1 GET /62/stream.l16
[UPnP] HTTP concurrency: 1
[UPnP] Source: 192.168.111.222:51423
[UPnP] Host: 192.168.111.22
[UPnP] Referer: http://192.168.111.22:52056/62/stream.l16
[UPnP] User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
[UPnP] Serving LPCM
[UPnP] Accept-Ranges: none
[UPnP] Connection: close
[UPnP] Content-Type: audio/L16;rate=44100;channels=2
[UPnP] Server: UPnP/1.0 DLNADOC/1.50, foobar2000/1.x
[UPnP] TransferMode.dlna.org: Streaming
[UPnP] Transport state: PLAYING
[UPnP] Transport state: PLAYING





Re: UPnP MediaRenderer output | discussion

Reply #445
Hi,

I like to thank you Peter for this fine code. I have just tried this UPnP plugin, it works well for me with Yamaha WXC-50 and Foobar 1.3.15 on Win10. As someone before me, I noticed the visualizations don't work anymore, I guess this has something to do with buffer size, which seem not to be accessible for adjustment anymore when directing Foobar to stream. Not a big deal for me.

While I am enjoying this plugin very much and now been hyped up I tried to convince other windows applications such as Firefox to use the WXC-50. No luck and no chance to make it work.

So please excuse me as I might be well off topic here, but I was wondering if there is such a thing as a Foobar (virtual) input plugin.
I am thinking the audio of any windows application could be re-routed to foobar input and foobar then re-routes it to DLNA such as the WXC-50.

This software - Virtual Audio Cable - could be useful for that.
https://vac.muzychenko.net/en/index.htm

Re: UPnP MediaRenderer output | discussion

Reply #446
For a Foobar  input component you can download Case's Recorder component from https://foobar.hyv.fi/.

Cheers

Re: UPnP MediaRenderer output | discussion

Reply #447
Hi sacduser,

Thanks for pointing me to the recorder component. I tried but unfortunately, this is not working for me. Looks like the only thing one can specify is recording length but not from which input.

Cheers

Re: UPnP MediaRenderer output | discussion

Reply #448
You specify input in Preferences / Tools / Recorder.

Cheers

 
SimplePortal 1.0.0 RC1 © 2008-2020