Post Reply 
MinimServer w/Bubble UPnP Won't Play FLAC
05-09-2017, 20:44
Post: #2
RE: MinimServer w/Bubble UPnP Won't Play FLAC
Much to my embarrassment, I discovered that Bubble had lost my network configuration and I wasn't even accessing my FLAC files through the internet from my home media server. Instead, Bubble was pulling MP3s from the SD card in my phone. BRILLIANT!

Now that I'm actually connected to the server, I managed to get two FLACs to start, stutter, and eventually stop altogether. Now I can't get any FLAC files to do anything. The only indication I get from the Bubble player is that as soon as I press the start button, it changes it right back to the stop button, and so naturally the song never starts.

What I can't tell is whether MinimServer is doing the FLAC-to-WAV transcoding before transmitting the data to me. Being that Android can play FLAC natively, I can only assume that FLAC files are not well-structured for streaming which might explain why they are transcoded to WAV either before they get to my phone or on my phone, although I'm not seeing any RAM or CPU spikes that would suggest that my phone is doing any transcoding.

Further adding confusion is that when my phone is connected to my LAN via Wi-Fi, the Bubble player clearly displays "FLAC | 44.1 kHz" and it works beautifully. Sounds great, too. Why can this not be accomplished via a 4G cellular WAN?

When my phone is connected via a 4G mobile network, the Bubble player displays "WAV | 44.1 kHz" apparently due to the FLAC-to-WAV transcoding, but no matter how many times I hit the play button (the white arrow head pointed to the right), it changes right back to the stop icon (a white square). If I assume the file is somehow being transcoded and perhaps "buffered up" somewhere upstream.....nothing ever happens- not even after 15-30 minutes.

I checked in with the author of Bubble and he let me know that the cache setting on Bubble is not used at all when it comes to lossless formats such as FLAC "due to the size requirement". It makes me wonder if the cache setting on Universal Media Server matters at all (a separate issue).

I'm starting to suspect this is the root cause- due to the structure of FLAC/WAV files, there may be no way to effectively or efficiently stream them since they might not be playable or have any seek functionality until the ENTIRE file is present on the rendering device.

The disappointing workaround is to go to Network Settings, change the Mobile Max Bitrate to anything other than "Original" (select 320, 256, 192, etc...) and then check the box for "Lossless only" which says "If enabled, only lossless audio is possibly transcoded for playback, using Max Bitrate settings".

Once you implement that workaround, all of a sudden Bubble starts caching the incoming data just like you would expect for ANY kind of data.

The final result being that by using Universal Media Server, Bubble UPnP, and MinimServer, I can only listen to my FLAC library from my home server over a 4G network on my phone as transcoded 320 kHz MP3 files which actually sound worse than the 192 kHz MP3 (VBR encoding) that I already have on the SD card in my phone which contains well over 10,000 songs.

In other words, I've wasted almost two days of experimentation only to discover that my objective was impossible from the beginning, even though every piece of software involved in the signal path clearly and loudly proclaims to allow you listen to your FLAC files in their native format without destructive, convoluted transcoding.

Somebody please tell me I'm wrong. I know I've structured my question poorly and much of it has nothing to do with MinimServer, but there are so many parts, pieces, configurations, and hardware elements involved that it's virtually impossible to know where to start troubleshooting.

Problem is, I don't think this is a problem. I think it's something the devs knew from the beginning and carefully worked around it with some relatively clever techno-marketing speak.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: MinimServer w/Bubble UPnP Won't Play FLAC - funkyblimp - 05-09-2017 20:44

Forum Jump:


User(s) browsing this thread: 1 Guest(s)