Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: UPnP MediaRenderer output | discussion (Read 242490 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: UPnP MediaRenderer output | discussion

Reply #475
found an error. it was necessary to disable the firewall
Thank you very much for this comment! The problem started after updating to Windows 11 and my problem has been resolved. But with the firewall turned on, the volume on my Pioneer VSX-528 receiver was controlled from the player, but there was no sound. Disabling the firewall solved the problem.

Re: UPnP MediaRenderer output | discussion

Reply #476
 Hello everyone! This is my first post, please don't judge me too harshly :)

I recently discovered that when playing DSD tracks, the process stops after a predictable interval of time from the start of playback.
For DSD128 this time is 1525 sec.
For DSD256 - exactly two times less.
When using Roon or JRiver64, this problem is not observed.

I'm assuming that the music stoppage is the result of a 1 gigabyte buffer overflow.
Really:    44100 * 128 * 1525 / 8 / 1024 / 1024 / 1024  = 1 
Perhaps this is due to the limitations of the 32-bit Windows architecture. Then I'm not the first to encounter this problem. If a solution already exists, please tell me where to find it.
My system:
PC(Win11) -> foobar2000(1.6.9) -> UPnP MediaRenderer Output -> Botic7 (BeagleBone Black with "Pure" firmware)



Re: UPnP MediaRenderer output | discussion

Reply #479
Im also unable to get it to work with Raspberry pi running Volumio, frustrating as it is the ideal tool for me.

It plays for 20 seconds + the length of foobar buffer then stops, tried just about everything to get it to work.
All other upnp and other streaming methods works fine, only that functionally they are all inferior to this plugin.

Re: UPnP MediaRenderer output | discussion

Reply #480
I have exactly the same problem since the last update of volumio. I am not sure if its the problem of volumio or plugin.
A quick solution is to unplug then plug rusberry Pi and then work normal.

Maybe someone else can help here.

Re: UPnP MediaRenderer output | discussion

Reply #481
I wonder if that means we should be reporting this to volumio devs?
I believe I was on one of the last of versions (installed around sept-nov 2021) of Volumio 2 and problem was the same, I tried updating to Volumio 3 after having the issues since it mentioned upnp renderer had been fixed in the update, nothing changed though, same problem persists after the update.


@zoumbro do you know what version it was before the update or when you had last updated before that? If any version will work that's good enough for me.

edit: just noticed it is working after disabling and then reenabling upnp in volumio settings, will see if it lasts.

Re: UPnP MediaRenderer output | discussion

Reply #482
Hi folks,
I'm trying to get this working with a Yamaha receiver. Model RX-V4A AD4F85.

I get the following in the console log when attempting to play a track.
Its says "PLAYING" with a time of 0 sec a couple of times then reports "STOPPED". I never hear any sound from the system.

Code: [Select]
Opening track for playback: "Various Artists - The Art Of Chill 4 - Mixed by The Orb\CD1 - 12 - Brian Eno - Taking Tiger Mountain (2004 Digital Remaster).mp3"
[UPnP] Opening device:
[UPnP] manufacturer=Yamaha Corporation
[UPnP] model=RX-V4A
[UPnP] name=RX-V4A AD4F85
[UPnP] Stream format: 16-bit 44100Hz 2ch
[UPnP] Device protocol info:
[UPnP] http-get:*:audio/L16;channels=2;rate=44100:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=44100:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=48000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=48000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=32000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=32000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=88200:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=88200:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=96000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=96000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=64000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=64000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=22050:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=22050:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=24000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=24000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=16000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=16000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=11025:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=11025:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=12000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=12000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=8000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=8000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16: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-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMDRM_WMABASE,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMDRM_WMAFULL,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_192,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_320,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_192,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO_192,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/x-ms-wma:*,http-get:*:audio/vnd.dlna.adts:*,http-get:*:audio/x-flac:*,http-get:*:audio/x-mpeg:*,http-get:*:audio/x-aac:*,http-get:*:audio/x-mp3:*,http-get:*:audio/x-mp4:*,http-get:*:audio/x-mpg:*,http-get:*:audio/x-wav:*,http-get:*:audio/3gpp:*,http-get:*:audio/aacp:*,http-get:*:audio/aiff:*,http-get:*:audio/x-aiff:*,http-get:*:audio/flac:*,http-get:*:audio/mpeg:*,http-get:*:audio/aac:*,http-get:*:audio/m4a:*,http-get:*:audio/mp3:*,http-get:*:audio/mp4:*,http-get:*:audio/dsd:*,http-get:*:audio/x-dsd:*,http-get:*:audio/x-dsf:*,http-get:*:audio/x-dff:*,http-get:*:audio/wav:*
[UPnP] Listening on: 192.168.1.2
[UPnP] Stream address: http://192.168.1.2:51918/1/stream.wav
[UPnP] transport op: Play
[UPnP] transport op OK, took 0:00.025109
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 0:00:00
[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
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: STOPPED

Does anyone know whats going on here?
Any advice?

Thanks in advance.

Re: UPnP MediaRenderer output | discussion

Reply #483
Resolved.... it was a Windows firewall issue.
The plugin works great :)

Re: UPnP MediaRenderer output | discussion

Reply #484
It has been working perfectly for me since, seemingly toggling upnp renderer was enough to fix the issue with Volumio, and somehow this issue still had persisted through restarts, power cycles and even a full update. I guess some error/bug was saved into the configuration files.

Re: UPnP MediaRenderer output | discussion

Reply #485
@zyclone Did you manage to solve the stop problem? I don't remember the software updated version of volumio since the problem starts.

Re: UPnP MediaRenderer output | discussion

Reply #486
Just another vote for looking in your Windows Firewall settings. I suddenly couldn't get this component to work after upgrading my PC and W11. It wasn't showing up in my FB2K iOS phone app, which I use to stream it to a Bluetooth speaker in the kitchen. Manually letting FB2K Windows app through the Windows Firewall fixed it for me.

Re: UPnP MediaRenderer output | discussion

Reply #487
@stasivin , try this - https://foobar.hyv.fi/?view=foo_upnp_workaround
At first the music stopped after 30 secs. After installing this workaround the music played for eg 4 minutes and then stopped with "Unrecoverable playback error: bad allocation".  .. after some retries it seems to be occasionally.
(picoreplayer/LMS device)

Re: UPnP MediaRenderer output | discussion

Reply #488
Hi all, I'm trying to output to my Sony STR-DN1080 receiver however it isn't showing in the controller device list. I've been into preferences>playback>output and the receiver is showing correctly in found devices, however it never appears in the controller list whereas every other device in the home does! I'm using win 11. Any ideas? Thanks

HQPlayer as Output Device - NAA

Reply #489
Hi,
UPnP Media Renderer Output works with HQPlayer as output device, but its very buggy. Sometimes it works flawlessly sometimes it stops playing and I have to restart HQPlayer and foobar2000 several times until it works again. It just happens by accident and until now I have no idea how to improve the realiability.
Are there users out there, who have experience with HQPlayer as output device? Is it possible to upgrade foo_out_upnp to let it work more stable in conjunction with HQPlayer?

Martin

Re: UPnP MediaRenderer output | discussion

Reply #490
Is this plugin need foo_upnp first?

Re: UPnP MediaRenderer output | discussion

Reply #491
Hi,
I have installed this plugin in hope that I will be able to play music directly from my laptop.
Unfortunately I cant hear anything on my Denon AVR-X2400H. When I try to play anything on Foobar it stops.

My configuration :
Hi,
I have installed this plugin in hope that I will be able to play music directly from my laptop.
Unfortunately I cant hear anything on my Denon AVR-X2400H. When I try to play anything on Foobar it stops.

My configuration :
# 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=FLAC
# 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=true
# 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=false

manufacturer=Denon
model= Denon AVR-X2400H
supports-FLAC=true
preferred-format=FLAC

Device info:
Friendly name : Denon AVR-X2400H
IP address : 192.168.1.251
Manufacturer : Denon
Manufacturer URL : http://www.denon.com
Model : Denon AVR-X2400H
Model number : Aios 4.025

Supported formats:
http-get:*:audio/mpeg:*
http-get:*:audio/vnd.dlna.adts:*
http-get:*:audio/x-ms-wma:*
http-get:*:audio/x-ms-wma:*
http-get:*:audio/L16;rate=48000;channels=2:*
http-get:*:audio/L16;rate=48000;channels=1:*
http-get:*:audio/L16;rate=44100;channels=2:*
http-get:*:audio/L16;rate=44100;channels=1:*
http-get:*:audio/wav:*
http-get:*:audio/mp3:*
http-get:*:audio/flac:*
http-get:*:audio/aac:*
http-get:*:audio/m4a:*

I've tried all formats and it doesn't work on anything. Just doesn't want to play. I can only control volume via Foobar.
I have tried "Stream What You Hear" program and it doesn't play a sound also.
Both programs Foobar and Stream What You Hear detects my AVR but give no sound.
I have also tried windows media player and option "render to device" works fine and I can hear sound but cant change volume and it always stops after one song.
What is wrong ?
Hello everyone! 

First post here.  I cannot figure out what I am doing wrong but none of my devices ate showing under the "Device" tab under "Output" in the "Playback" section of the preferences.  In BubbleUPnp I see my Denon, Plex, Foobar, and DirectTV as Servers, all enabled. I see Foobar, Denon (x4400h), Sheild and JBL Link in Renders also in the BubbleUPnP Server. I have the Foobar plugin installed.  I see the UPnp Section under tools. So I do not understand why nothing is showing under devices.

I would really appreciate any help I can get as I have been dying to leave apple and airplay2 for years.  Thanks in advance!
# 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=FLAC
# 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=true
# 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=false

manufacturer=Denon
model= Denon AVR-X2400H
supports-FLAC=true
preferred-format=FLAC

Device info:
Friendly name : Denon AVR-X2400H
IP address : 192.168.1.251
Manufacturer : Denon
Manufacturer URL : http://www.denon.com
Model : Denon AVR-X2400H
Model number : Aios 4.025

Supported formats:
http-get:*:audio/mpeg:*
http-get:*:audio/vnd.dlna.adts:*
http-get:*:audio/x-ms-wma:*
http-get:*:audio/x-ms-wma:*
http-get:*:audio/L16;rate=48000;channels=2:*
http-get:*:audio/L16;rate=48000;channels=1:*
http-get:*:audio/L16;rate=44100;channels=2:*
http-get:*:audio/L16;rate=44100;channels=1:*
http-get:*:audio/wav:*
http-get:*:audio/mp3:*
http-get:*:audio/flac:*
http-get:*:audio/aac:*
http-get:*:audio/m4a:*

I've tried all formats and it doesn't work on anything. Just doesn't want to play. I can only control volume via Foobar.
I have tried "Stream What You Hear" program and it doesn't play a sound also.
Both programs Foobar and Stream What You Hear detects my AVR but give no sound.
I have also tried windows media player and option "render to device" works fine and I can hear sound but cant change volume and it always stops after one song.
What is wrong ?

Hello, it can be that you need to open ports in firewall,
Hello everyone! 

First post here.  I cannot figure out what I am doing wrong but none of my devices ate showing under the "Device" tab under "Output" in the "Playback" section of the preferences.  In BubbleUPnp I see my Denon, Plex, Foobar, and DirectTV as Servers, all enabled. I see Foobar, Denon (x4400h), Sheild and JBL Link in Renders also in the BubbleUPnP Server. I have the Foobar plugin installed.  I see the UPnp Section under tools. So I do not understand why nothing is showing under devices.

I would really appreciate any help I can get as I have been dying to leave apple and airplay2 for years.  Thanks in advance!

Hello, it seems that many have this issue with not being able to play via upnp and dlna.
The Denon/Marantz AVR's and music players need these ports to be openend in firewall. This is quoted from Denons home page.
The following router ports should be open to ensure consistent network communication with your Denon network device.

Router Ports: 3813, 443, 80, 8080, 5020.

And you need also set so upnp ports to be open, like 1900 udp, 5350. And  you maybe need to enable igmp /icmp,, if you use Tidal you must enable this, cause Tidal relays heaily on this.
And if possible, like on Edge Router X, you must also enable IGMP downstream and upstream.
All these solved my issues complteley when i owned an Marantz SR7010 and wanted to use mconnext android app, and Tidal.
Try it and see if it solves your issues.
I hope for that, because Marantz and Denon are pratctily the same company these days.
I really hope you get it to work.

Re: UPnP MediaRenderer output | discussion

Reply #492
Anyone has experience with the ifi Zen Stream? I can select the Stream but can't play anything out of it. The visualizer doesn't move, but seek bar moves for 5 seconds then stops. I can play music if I download the UPnP server component and find it through the Stream, but can't push audio through foobar which is what I want.


Re: UPnP MediaRenderer output | discussion

Reply #494
In case anyone else wants it to work with Philips TV running Android (mine is OLED 806):

Code: [Select]
manufacturer=Philips
model=Philips TV DMR
forced-format=FLAC

or alternatively:

Code: [Select]
manufacturer=Philips
model=Philips TV DMR
preferred-format=FLAC
supports-FLAC=true


Of course I've tried all possible combinations of WAV/LPCM streams with associated tweaks, before discovering that the only format working perfectly is FLAC.

Re: UPnP MediaRenderer output | discussion

Reply #495
Code: [Select]
supports-pause=true

Also works on Philips TV with Android OS
Somewhere, there's someone dying in a foreign land
Meanwhile, the world is crying stupidity of man
Tell me why, tell me why

Re: UPnP MediaRenderer output | discussion

Reply #496
Hello - I am looking for a streaming solution that can stream to a Marantz NA7004 UPnP renderer.

The NA7004 does not have any form of volume control so I would like to incoporate a good software volume control in the signal path from the stream.

I would also like to include online Radio Stations into my stream - for example Radio Swiss Jazz.

This is my ideal solution signal path:

Streaming software >> stream online radio stations >> DSP volume control >> NA7004 UPnP renderer.

With the ability to control the audio stream and the volume with an iPhone app.

Is all the above possible?

Re: UPnP MediaRenderer output | discussion

Reply #497
Heads up Sonos appear to have broken FLAC stream support on some speakers with a recent update, specifically one of my rooms consisting of a pair of One SLs and a gen1 sub.

When I select the Sonos room (the primary One SL in the stereo pair) from the output dropdown and play a file, the room briefly shows 'stream.flac' then disappears entirely from the Sonos app for a second before reappearing. foobar2000 remains in a 'playing' state at timestamp 0:00:00 until I hit stop.

My older Sonos speakers (Play One and Playbar) both still work as foobar2000 UPnP outputs. Interestingly, the One SLs have always behaved slightly differently, not supporting pause whereas the older speakers do.

I was able to resolve this by updating the UPnP MediaRenderer config to disable FLAC for Sonos.

manufacturer=Sonos, Inc.
supports-FLAC=false

Now it shows 'stream.wav' and works perfectly again.

Hope someone finds this useful!

Re: UPnP MediaRenderer output | discussion

Reply #498
Would it be possible to route the audio through the local Foobar stack ( (volume?--or a preamp like plugin), DSP, Visualizations ) before outputting to a renderer?

I'm sending to another Foobar instance on a workstation connected to a PA, which I can't see, but while I'm working on my computer, it would be nice to have these features work locally.

Re: UPnP MediaRenderer output | discussion

Reply #499
Would it be possible to route the audio through the local Foobar stack ( (volume?--or a preamp like plugin), DSP, Visualizations ) before outputting to a renderer?(...)
I think it is doing that by default. Just try it.

 I am referring to two computers with foobar in the same network: first with foo_out_upnp sending the stream and the second with foo_upnp as the renderer. You can control volume with the first one, the effect is immediate. You can also select and apply DSP plugins, but the effect is slightly delayed depending on the size of stream buffers.
I don't use other upnp renderers, so I don't know whether such control possibilities apply to Marantz, IFI or any other streaming devices.