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 1.0 has reverse stereo-channels! (Read 2041 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

UPnP MediaRenderer Output 1.0 has reverse stereo-channels!

Hi,

I'm wondering that nearly nobody noticed our discussion here that UPnP MediaRenderer Output 1.0 has reverse stereo-channels, which has been confirmed!

Martin

Re: UPnP MediaRenderer Output 1.0 has reverse stereo-channels!

Reply #1
The discussion was noticed. Thanks for reporting the problem and making sure that it gets my attention.

I'm afraid that there is no such bug with any of my devices: Linn DS, Kodi/OpenELEC.

It might be that specific devices mishandle LPCM streams and reverse the channels in them, which is their bug not ours.

There are troubleshooting options available for the UPnP output, under Preferences / Advances / Playback / UPnP MediaRenderer Output. Possibly setting stream format to "prefer WAV" will help with this issue.
I can add an option to reverse stereo channels there also, if there's no better workaround.
Microsoft Windows: We can't script here, this is bat country.

Re: UPnP MediaRenderer Output 1.0 has reverse stereo-channels!

Reply #2
Hi Peter,

thanks for your attention and your answer. But how can you explain the fact, that the old component "UPnP/DLNA Renderer, Server, Control Point 0.99.49" doesn't have reverse stereo channels?

Martin

Re: UPnP MediaRenderer Output 1.0 has reverse stereo-channels!

Reply #3
The foo_upnp component streams the files as they are. My UPnP output component launches a minimal UPnP media server that presents the output being played as a live stream.

From the posted console log, I see the bug occurs with WAV rather than LPCM, so you can disregard what I wrote above about LPCM channel order.
One potential issue is apparent from the console log:
Code: [Select]
Accept-Ranges: none
(...)
Range: bytes=46-
The device asks for partial content after I just specifically told it that it's not supported. Perhaps it then misreads the returned content somehow. I'll investigate this further.
Microsoft Windows: We can't script here, this is bat country.

Re: UPnP MediaRenderer Output 1.0 has reverse stereo-channels!

Reply #4
Yes, this appears to be asking for a WAV stream to skip its header, but the header is 44 bytes, so it's also skipping half of a sample frame?

 

Re: UPnP MediaRenderer Output 1.0 has reverse stereo-channels!

Reply #5
Hi Peter, appreciate your support. I an happy to provide follow up info or test any options, do ask if needed. I had previously tested the WAV and LPCM options but made no difference.


Re: UPnP MediaRenderer Output 1.0 has reverse stereo-channels!

Reply #7
Just to confirm - this has fixed the reversal issue on my setup. Thanks, Peter.

Re: UPnP MediaRenderer Output 1.0 has reverse stereo-channels!

Reply #8
Hi Peter,
after installing your fix, channels are in right order again.

Thanks

Martin

Re: UPnP MediaRenderer Output 1.0 has reverse stereo-channels!

Reply #9
Thanks for confirming. The official version will be updated with this fix shortly.
Microsoft Windows: We can't script here, this is bat country.