yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] bubbleguuum:
Ok, I will look at your log in a few days in more detail but this is unusual and likely a problem specific to your renderer.
[Android Apps and Games] biohazark:
You can find here a short TV show :

https://we.tl/VR0XoljlNP

I cannot cast this .m2ts file correctly thanks to BubbleUPnP neither from a local neither from a network directory, same display issue.

Something is interesting, first when the file is in a local directory (interne storage) :

When I play the movie in Google Photos app and then I cast it, it works perfectly ! No lag, full screen display. BUT if I decide to open it with BubbleUPnP and choose to play it with the local player Google Photos, it doesn't load !

Secondly, if I open the file from a network directory (with ES explorer for instance) and play it with Google Photos directly, it's the same situation,it won't load. I advised Google for this issue but I don't know if the interfacing issue with BubbleUPnP is from their or from your app.

Anyway, Google Photos seems to transcode perfectly from a local file.

Yes it has downloaded 20 mb of additional files during the first start, but as you can see here, ffmpeg audio and video transcoding are not ready, ffmpeg library is not recognized :

Thank you in advance.
[Android Apps and Games] EddyManowar:
iptv max 30 sec.

Hi friends!

I'm looking an free iptv channel, but can play max 30 sec.

Only casting.

What can I do?

Thanks eddy
[Android Apps and Games] bubbleguuum:
[MENTION=2725824]biohazark[/MENTION]

I've reproduced this issue with this sample on a Chromecast 2.

The transcoded video generated by BubbleUPnP can be played by VLC but not by Chromecast (without artefacts on Chromecast 2 and not at all on Chromecast Ultra).

This is because the MPEG-TS stream has some errors specific to iptv and it would required to reencode the h264 video

to h264 to fix them. It's possible to force such reencode in 'Settings > Chromecast transcoding > Force video transcode' (and it works - I've tested it) but this setting is only available with the desktop/NAS version of BubbleUPnP Server.

Long story short: such iptv videos are giving a hard time to FFmpeg/BubbleUPnP/Chromecast for live transcoding. Google Photos has no issue

because it reencodes it fully and not on the fly.

The failure is because your "FreeTVBox" on which you installed BubbleUPnP Server is probably using a x86 CPU and the Android version of BubbleUPnP Server does not have

an x86 version of FFmpeg. Since Android BubbleUPnP Server was released, I have now an Android x86 build of FFmpeg but I need to update the Android BubbleUPnP Server APK to make use it. However Android x86 FFmpeg is dead slow for transcoding because x86 assembler optimizations must be disabled (this is an Android specific restriction).

Can you send me a page with the spec of this "FreeTVBox" so I can check its CPU ?
[Android Apps and Games] bubbleguuum:
The max 30s is due to some iptv streams that requires looping on the stream URL.

This cannot be supported by Chromecast, so you need to find proper iptv streams

that are continuous.
[Android Apps and Games] EddyManowar:
I solved

Apply all settings on chromecast transcodng

Disabling all on tweajs

Vet 3 beta

I thingk do not make other changes

Now work very well

Eddy
[Android Apps and Games] biohazark:
Thank you very much for your explanations. Such a bad news :(

Indeed I have tested with an other chromcast (an older one !) and artefacts doesn't appears.

Since I'm using an Android to transcode, I'm disappointed that it cannot reencode h264 videos.

In fact FreeTVBox is a UPNP Library but I cannot install anything on it, I would like to use an Android TV BUT currently I perform the test from my Sony Z3+ phone that has an arm64 processor (snapdragon 810)

Here the specs :
[Android Apps and Games] intermis:
Hello, I have question about streaming music from Tidal or Internet BubbleUPnP Server to renderer which have no access to the Internet. I tried stream music from Tidal or BubbleUPnP demo server to renderer (Android phone with BubbleUPnP or Raspberry Pi with installed Gmrenderer) and it not working if renderer have no access to the Internet (is only in the same LAN as my streamer (Android phone with installed BubbleUPNP). I can stream only offline files. Streamer of course have access to the Internet and in local renderer I can play everything. When I turn on Internet access on renderer, then streaming works correctly. There is any way to change it?
[Android Apps and Games] Adilost:
Dear XDA Community,

Latetly i'm experiencing issues with BubbleUpnp whiles casting to ChromeCast Ultra.

Not sure why, since it worked always perfectly before..

Here is the scenario: Every video I watch on my TV using the BubbleUpnp App, and using my ChromeCast Ultra as renderer, all videos freez about exactly 30 minutes.

Could it be a rendering of transcoding issue whitin the BubbleUpnp App after the latest update?

I've also tried other Apps who support ChromeCast, for instance YouTube, Netflix & LocalCast.

LocalCast streams just fine (without freezing from begin to end of a movie).

It's just BubbleUpnp (my favorite of them all) which freezes all videos on the TV every 30 minutes when Casting.

I am using the latest version (2.9.4 arm64-v8a)

I am on a Lenovo Tab 4 8" Tablet (Android Version 7.1)

All settings from the BubbleUpnp App are, and have always been factory settings. Never changed a option in settings.

Just wondering if i'm the only one who's experiencing this problem whit BubbleUpnp, and if the developers have heard it before.
[Android Apps and Games] bubbleguuum:
[MENTION=7121826]Adilost[/MENTION]

Are the video stored on your Android device ? If they are (or if BubbleUPnP does any sort of local transcoding), you must disable Doze for BubbleUPnP: go to Android Settings > Battery > 3-dot menu > Battery optimization, then add BubbleUPnP to the "Not optimized" list.
[Android Apps and Games] bubbleguuum:
[MENTION=9265697]intermis[/MENTION]

Not sure I understand exactly your setup but if you want to stream TIDAL to a renderer that has no Internet access, then enable Settings > Local and Cloud > Use Proxy. This will use the Internet connection of your Android device to proxy the stream to the renderer.
[Android Apps and Games] cat6man:
Hi,

I could use your help with a problem. When I use the MPD renderer in my ultraRendu, i get gapless playback.

When I use HQP (headless linux) with the NAA renderer, I get gaps.

I've collected a log showing both types of renderers and would appreciate your help in getting the NAA mode to work

gaplessly.

Thanks
[Android Apps and Games] Adilost:
First let me thank you for your quick reply, i appreciate that..

The video's are not stored on my device. I open premium stream sources (Real-Debrid) with BubbleUpnp.

Also BubbleUpnp is already in the "Not Optimized" list. Did this the first day i got BubbleUpnp as it is requested upon installation :)

I've also tried both "Prefer remote BubbleUpnp Server transcoding" and "Prefer local transcoding" options in:

Settings -> Chromecast transcoding ->Transcoding overview

None of this has resulted in succes..
[Android Apps and Games] bubbleguuum:
Can you send me a log file playing such video until it stops playing unexpectedly ? See first post of this topic for logging instructions.
[Android Apps and Games] Adilost:
I'll get to it :) Do you prefer it send by PM or mail? Or just post it here in this topic..

EDIT: Never mind, I see an email address right next the section where it is explained how to get a log..

---------- Post added at 11:36 PM ---------- Previous post was at 10:52 PM ----------

Oke i've mailed the log file to your email address (bubbleguuum@free.fr), it is originating from: atilla.multimedia@gmail.com

Looking forward for your reply..
[Android Apps and Games] bubbleguuum:
[MENTION=7865793]cat6man[/MENTION]

upmpdcli is the software providing the renderer for MPD, and it is known to work well with gapless.

Here it is used an OpenHome renderer (it manages itself track advances)

The other renderer is a regular UPnP AV that has the UPnP command for gapless (SetNextAVTransportURI) and BubbleUPnP

make use of it but it does not work: either it is unimplemented by the renderer (it's present but does nothing) or its implementation

is broken.

In any case umpdcli is one of the best renderer there is in term of feature and being compliant and reliable.
[Android Apps and Games] cat6man:
thanks. i'll forward info to Jussi and see what he recommends.
[Android Apps and Games] simplydat:
Bubble, is there anything you can do about getting support for hardware transcoding on Synology NAS? I have a DS718+ using apollo lake.
[Android Apps and Games] bris28:
Small cover art
[Android Apps and Games] Cod3rror:
I wish I could search within the playlist...

Also, seekbar is too narrow, I feel. And I wish it would download or at least have an option to download cover art when streaming from Dropbox.
[Android Apps and Games] PublicJohnDoe:
I'm trying to use Google Music with BubbleUpnP, but I'm having a problem... This is what I get:
[Android Apps and Games] bubbleguuum:
[MENTION=3968716]PublicJohnDoe[/MENTION]

This is super unusual (and I cannot reprod it). It would happen if there was a (Google) server side problem where it sends invalid chunked data.

Do you get this error all the time ? Can you retry in a few hours (or even tomorrow) and report if you still have this issue ?

Also are you using a http proxy on your network ? What is your Android device and version ?
[Android Apps and Games] bubbleguuum:
[MENTION=2084427]simplydat[/MENTION]

No plan to support these. And even if I did, it would require to have the hardware...
[Android Apps and Games] PublicJohnDoe:
Yeah, tried yesterday and tried this morning, same result. No proxies, running Android Oreo 8.0.

I think it might be related to some timeout issues or something... I have 43,000+ songs on Google Music, and BubbleUpnP starts saying "getting tracks" (or something to that effect) and after 30 secs or so gives the error and exits.
[Android Apps and Games] bubbleguuum:
Probably related to library size in some way. Can you send me a log file of a sync ? See first post of this topic for logging instructions.
[Android Apps and Games] PublicJohnDoe:
Here you go... same behavior as usual, it says "fetching playlists", then "fetching all tracks" and after a while it exits with the error message.

[main (2) ] INFO - 0:00:00.6 - q : opened /storage/emulated/0/Android/data/com.bubblesoft.android.bubbleupnp/log.txt
[main (2) ] INFO - 0:00:00.8 - q : logging to file is enabled
[main (2) ] INFO - 0:00:00.46 - e : package: com.bubblesoft.android.bubbleupnp
[main (2) ] INFO - 0:00:00.47 - e : API level: 26
[main (2) ] INFO - 0:00:00.47 - e : manufacturer: Sony
[main (2) ] INFO - 0:00:00.48 - e : device: F5321
[main (2) ] INFO - 0:00:00.49 - e : CPU_ABI: arm64-v8a, CPU_ABI2:
[main (2) ] INFO - 0:00:00.52 - e : SUPPORTED_ABIS: arm64-v8a,armeabi-v7a,armeabi
[main (2) ] INFO - 0:00:00.53 - e : app version: 2.9.4
[main (2) ] INFO - 0:00:00.56 - e : app version code: manifest: 3000623, logical: 623
[main (2) ] INFO - 0:00:00.57 - e : app external dir: Android/data/com.bubblesoft.android.bubbleupnp
[main (2) ] INFO - 0:00:00.58 - e : app native library dir: /data/app/com.bubblesoft.android.bubbleupnp-3SQwEc71qoMRP9Sapk5f1g==/lib/arm64
[main (2) ] INFO - 0:00:00.59 - e : default charset: UTF-8
[main (2) ] INFO - 0:00:00.59 - e : xposed running: false
[main (2) ] INFO - 0:00:00.62 - e : memory class: 192
[main (2) ] INFO - 0:00:00.63 - e : large memory class: 512
[main (2) ] INFO - 0:00:00.65 - e : low RAM device: false
[main (2) ] INFO - 0:00:00.65 - e : debuggable: false
[main (2) ] INFO - 0:00:00.73 - e : app info: true false false true true 0
[main (2) ] INFO - 0:00:00.93 - e : warning toast: Logging to file is enabled

[main (2) ] INFO - 0:00:00.108 - ak : watchdog: set inactivity delay to 15 mins
[main (2) ] INFO - 0:00:00.120 - t : getLocalRendererRemoteControlVideoApp: no package name
[main (2) ] INFO - 0:00:00.161 - z : Successfully hacked permanent menu key
[main (2) ] INFO - 0:00:00.173 - e : StrictMode (JB): LAX
[main (2) ] INFO - 0:00:00.198 - f : native audio samplerate: 48000
[Android Apps and Games] guussie:
Question regarding Bubblegum Server

I have been using Bubbleupnpserver to create OpenHome renderers and this works very well. The reason I use Bubbleupnpserver is to add support for Tidal and Qobuz. There is one problem though. It is impossible to switch off these renderers. In my applications these renderers also switch off other equipment when switched off, and this functionality doesn't work now.

The media players run on Raspberry Pi's. I am using Peter Manchester's java based media player.

Is this behaviour something that could be built into the server?

Thank you,

Guus
[Android Apps and Games] BriM4:
License Issue

How can BubbleUPnP lose note of my license when I am reinstalling the app from the normally irrelevant license app icon?

This isn't rocket science. Every other app I buy has no license app icon but remembers that I have already paid for the app. Please address this because the non-license version of the app is not usable.
[Android Apps and Games] bubbleguuum:
[MENTION=9275200]BriM4[/MENTION]

There is a huge bug a recent update of Google Play breaking license verification for many apps, including BubbleUPnP just after the license app is installed (or reinstalled):

https://www.xda-developers.com/latest-play-store-breaks-license-verification-paid-apps/

Version of Google Play affected is 10.7.17+. You can sort of workaround it by reverting updates for Google Play (in Android Settings, apps section, Google Play Store, 3 dot menu > Uninstall updates) to go back to stock version then immediately start BubbleUPnP so the license check is done and cached.

Then Google Play should auto update itself to the latest version shortly.

Google is on it apparently so it should be hopefully fixed soon on their end with an emergency Google Play update.

EDIT: this is fixed in Google Play Store v10.7.19 which should be deployed soon by Google, or you can manually install the APK from APK mirror.
[Android Apps and Games] Cod3rror:
Bubble, what about this, please?
[Android Apps and Games] bubbleguuum:
[MENTION=6641482]Cod3rror[/MENTION]

Playlist tab search: no plan for it currently although I have noted it.

Seekbar: you're not the first to tell me it's too narrow but I never understand what problem users have in practice with it.

it can be tapped anywhere on the horizontal track for immediate seeking or pressed and dragged horizontally to seek to any position

with the elapsed counter adjusting. In that mode (while dragging) your finger can even go up and down far from the seekbar.

So can you describe precisely what annoyance you have with the seekbar ?

Dropbox album art: for cloud folders and for performance reasons, album art is always recognized (folder.jpg or embedded) for folders that BubbleUPnP infers to

contain a music album. That would be a folder with only audio tracks (and eventually folder.jpg) whose filename starts with a track number.
[Android Apps and Games] BriM4:
That option is not available for people outside the US.

That option is not available for people outside the US.:(
[Android Apps and Games] bubbleguuum:
Which option ? APK mirror ? I can access it in the EU.
[Android Apps and Games] grimper:
The same problem here, Bubbleupnp shows: Audio Cast not available. Reason: Xposed module not enabled or load failed.

The xposed log shows:

07-03 08:17:44.863 I/Xposed (10292): failed to load libnativeutils.so from /data/data/com.bubblesoft.android.bubbleupnp/lib

07-03 08:17:44.864 E/Xposed (10292): java.lang.UnsatisfiedLinkError: dlopen failed: library "/data/data/com.bubblesoft.android.bubbleupnp/lib/libnativeutils.so" not found
[Android Apps and Games] limcheehow:
License not working!

Tried to uninstall and reinstall, clear cache but nothing works. Any tips?
[Android Apps and Games] bubbleguuum:
[MENTION=3487430]grimper[/MENTION]

I've already fixed this issue in 3.0 final to be released in a few days.
[Android Apps and Games] bubbleguuum:
[MENTION=4477494]limcheehow[/MENTION]

On your Android device, download and install Google Play Store 10.7.19
[Android Apps and Games] LastSilmaril:
I'm having some issues with transcoding of Hi-Res (anything above 16/44) FLACs when using external UPnP renderers. I'd like these to get transcoded to 16/44 mp3 the way regular Redbook audio does. After unchecking the box in BubbleUPnP Server that enables decoding/dithering down to 16/44 or 16/48 WAV, this appeared to leave the tracks untouched, but *only* when accessing my libraries through my receiver itself, using the UPnP tethering feature; when browsing my media library (which btw is being served to the BubbleUPnP server by foobar/foo_upnp) on my phone and selecting the receiver as my renderer, what is sent is a 16/48 WAV, not the original FLACs. Under renderer-specific settings for this receiver, 'downmix multichannel to stereo' was unchecked, as is 'convert 24-bit to 16-bit'. Disabling FFmpeg audio encoding entirely doesn't do anything either. Exiting and reentering the app after changing these settings doesn't help or change anything. Meanwhile, using my phone as my renderer results in the files getting transcoded to MP3 at the bitrates set in the settings. All of this is happening using the latest beta.

This is pretty wildly inconsistent behavior and it's completely unclear to me why this should be by design, so I'm assuming it's a bug. None of this would matter if my internet connection was stable enough to prevent stuttering on these large streams when using my receiver. But unfortunately, it isn't, and it looks like I need to be able to transcode to a lossy format in order to get a stable stream that doesn't stutter or stop outright.
[Android Apps and Games] LastSilmaril:
Noticing some more odd behavior. Even when connecting using https, all data is served using http on a different port. Is this also by design? Is https only used for initial authentication? (If this is the case, I suspect that it could be preventing playback of any kind on remote Chromecasts - can't get anything to play on mine at the moment.)

[ED: The above appears to be intentional per the FAQ. The upshot of this is that if the domain you're using has HSTS enabled, remote Chromecasts will not be able to stream anything. I actually had this issue last year or the year before, but IIRC it began working for some reason. So either I remember incorrectly, or Google changed something, or BubbleSoft did. Anyway...]

Also, under metadata, the stream info sometimes does not match up with what the Now Playing screen says the type of media is when transcoding to mp3 is happening (e.g. the Now Playing screen reports it's an mp3 but the metadata screen reports WAV or LPCM of various kinds). Is this expected behavior?
[Android Apps and Games] Cod3rror:
Hey bubbleguuum,

I use BubbleUPNP when driving. So it's harder to reach over and aim at the thin line.

While it's great the BubbleUPNP recognizes folder cover art. I wish I'd recognize the cover art embedded into MP3 over Dropbox. It's buffering anyway, it's not instant, it needs to download the song, and the album art comes with it embedded anyway.
[Android Apps and Games] bubbleguuum:
[MENTION=4325737]LastSilmaril[/MENTION]

To make sure I understand exactly your setup and problem, can you confirm this:

- You have high res FLACs (> 44.1/16) hosted by foo_upnp on your home network

- your have another non-home network with some renderers and want to (remotely) play the foo_upnp FLACs as mp3 (for bandwidth reason ?)

- for this you use Android BubbleUPnP (on your non-home network) to connect to BubbleUPNP Server and access foo_upnp and you have tried 2 different ways to play to the external renderer:

1. selecting the renderer and Android BubbleUPNP and selecting foo_upnp wrapped by BubbleUPnP Server, then play to the renderer

2. Enabling UPnP Tethering in Android BubbleUPnP and in the renderer interface browsing foo_upnp wrapped by BubbleUPnP Server and play from here
[Android Apps and Games] bubbleguuum:
I think that for stream links only, the Chromecast is very permissive and will accept any http:// URL without fuss. Probably for better compatbility.

Yes this is a small known inconsistency: the metadata dialog only shows the original streams and not the (eventual) transcode.
[Android Apps and Games] bubbleguuum:
[MENTION=6641482]Cod3rror[/MENTION]

Ok, so this is a special case of the app not being optimal for auto use (with a big and simplified UI).

No plan to adapt the UI for auto use currently.

Admittedly, BubbleUPnP could extract the album art at playback time (it's too costly at browse time). Will think about it.

This need to happen separately of reading the stream for playback though.
[Android Apps and Games] LastSilmaril:
That's precisely correct. After unchecking 'Transcode high-res audio to 44.1/16 or 48/16 FLAC' in the Advanced Settings of BubbleUPnP Server, under scenario 1, a 16/48 WAV comes through, and under scenario 2, a FLAC comes through (presumably not transcoded to 16/48 or anything but my receiver doesn't report sampling rates, only which decoder it's using). When using the phone itself as the renderer, or a Chromecast, the bandwidth settings on the phone are respected, and an MP3 comes through and is played back.

I'm not sure if the stuttering I'm experiencing on my renderers (a Yamaha RX-V671 and an RX-V677) is caused by a bandwidth issue, latency problems, the renderers in question not buffering well, or something else (they are both on their latest released firmware). I've found that if I force FFmpeg decoding in the renderer-specific settings, playback on my renderers is smooth, for what it's worth, so that points to this not being about bandwidth. But regardless of whether I have a bandwidth issue or not, I feel like the behavior here should be made consistent, and the bitrate and format settings should be in force for these renderers, unless I explicitly set the Max Bitrate to 'Original' under 'Internet Access' settings. If this is not technically possible for whatever reason, then there should be a note somewhere in the app and FAQ reflecting this.

Well, if HTTP Strict Transport Security is enabled on the domain in question, my experience has been that http:// simply will not play on a Chromecast. That is expected behavior for modern web browsers and it makes sense that Chromecasts would adhere to this as well. (Even the Now Playing screen doesn't show up; it just remains on the BubbleUPnP text.) I ended up digging up one of my other domains and associating it with my home IP, and now it works perfectly. This is *not* a bug in BubbleUPnP except insofar as BubbleUPnP Server doesn't have an option for serving over HTTPS. (If Chromecasts also respect HTTP Public Key Pinning, then in order to ensure compatibility with that, BubbleUPnP Server would have to provide a facility chose a custom private key and certificate.) FWIW, it would be nice to know what the technical limitations were preventing HTTPS from being used for this purpose.

Aha, thanks for clarifying. Is there any technical reason not to show the transcode URL there? I guess it doesn't really matter, just curious.

---------- Post added at 08:06 PM ---------- Previous post was at 07:41 PM ----------

Just want to quickly say - I know I was being sharp above, but I do love this app and appreciate the work you put into it and your relatively quick replies to user questions. It's basically indispensable and one of the main reasons I stick with Android.