[APP][7.0+][v4.3.6] BubbleUPnP - UPnP/DLNA/Chromecast Control Point and Renderer

Search This thread

alonwa

Member
Nov 14, 2017
24
1
Yes it does the same thing, although the tether client has more settings in particular for transcoding.

OK, got it. If I understand the other solution correctly, an advantage of the setting on the app is that (once I know the WiFi password) I don't need to be granted access to a computer on the foreign network in order to expose my remote home library. Or could the BubbleUPnP Tether Client also be run on my mobile?
 

unai_goiko

Member
Dec 31, 2008
8
0
Hello,

I have recently upgraded my Ubuntu 18.04 box and installed an NVidia GeForce GTX 1050. I am running BubbleUPnP Server 0.9-update31 and have verified that the right ffmpeg and ffprobe files are saved in /usr/share/bubbleupnpserver. The server should be able to do hardware transcoding with the NVidia card and QSV. However, the GPU transcoding test keeps failing with the "Test failed: Not Found" error.

Below is the log information for the error. The test seems to be failing due to lack of h264 support:

Code:
[qtp945064729-142 (142)      ] INFO     - 0:04:13.533    - .Main                       : performing GPU transcode test: h264
[qtp945064729-142 (142)      ] INFO     - 0:04:13.542    - .Main                       : GPU transcode test failed: h264: Not Found
[qtp945064729-142 (142)      ] INFO     - 0:04:13.542    - .Main                       : Test failed: Not Found

However, the ffmpeg binary does support hardware h264:

Code:
# for i in encoders decoders filters; do     echo $i:; /usr/share/bubbleupnpserver/ffmpeg -hide_banner -${i} | egrep -i "npp|cuvid|nvenc|cuda|nvdec"; done
encoders:
 V..... h264_nvenc           NVIDIA NVENC H.264 encoder (codec h264)
 V..... nvenc                NVIDIA NVENC H.264 encoder (codec h264)
 V..... nvenc_h264           NVIDIA NVENC H.264 encoder (codec h264)
 V..... nvenc_hevc           NVIDIA NVENC hevc encoder (codec hevc)
 V..... hevc_nvenc           NVIDIA NVENC hevc encoder (codec hevc)
decoders:
 V..... h264_cuvid           Nvidia CUVID H264 decoder (codec h264)
 V..... hevc_cuvid           Nvidia CUVID HEVC decoder (codec hevc)
 V..... mjpeg_cuvid          Nvidia CUVID MJPEG decoder (codec mjpeg)
 V..... mpeg1_cuvid          Nvidia CUVID MPEG1VIDEO decoder (codec mpeg1video)
 V..... mpeg2_cuvid          Nvidia CUVID MPEG2VIDEO decoder (codec mpeg2video)
 V..... mpeg4_cuvid          Nvidia CUVID MPEG4 decoder (codec mpeg4)
 V..... vc1_cuvid            Nvidia CUVID VC1 decoder (codec vc1)
 V..... vp8_cuvid            Nvidia CUVID VP8 decoder (codec vp8)
 V..... vp9_cuvid            Nvidia CUVID VP9 decoder (codec vp9)
filters:
 ... hwupload_cuda     V->V       Upload a system memory frame to a CUDA device.

Additionally, the bubbleupnpserver service logs also confirm that ffmpeg supports h264 through hardware:

Code:
[main (1)                    ] INFO     - 0:00:10.298    - .Main                       : ffmpeg supports libx264 software encoder
[main (1)                    ] INFO     - 0:00:10.298    - .Main                       : ffmpeg supports h264_nvenc hardware encoder
[main (1)                    ] INFO     - 0:00:10.298    - .Main                       : ffmpeg supports h264_qsv hardware encoder

I am lost on what to do next. Can anyone provide a clue on how to enable GPU transcoding for my server?

Thanks!
 

bubbleguuum

Senior Member
Dec 23, 2010
7,016
2,745
Hello,

I have recently upgraded my Ubuntu 18.04 box and installed an NVidia GeForce GTX 1050. I am running BubbleUPnP Server 0.9-update31 and have verified that the right ffmpeg and ffprobe files are saved in /usr/share/bubbleupnpserver. The server should be able to do hardware transcoding with the NVidia card and QSV. However, the GPU transcoding test keeps failing with the "Test failed: Not Found" error.

No idea why you get:

GPU transcode test failed: h264: Not Found

Can you check on the machine running BubbleUPnP Server that it can access:
http://bubblesoftapps.com/bubbleupnpserver/transcode_test/tos_sample_h264.mkv
 
  • Like
Reactions: IronTechmonkey

unai_goiko

Member
Dec 31, 2008
8
0
No idea why you get:

GPU transcode test failed: h264: Not Found

Can you check on the machine running BubbleUPnP Server that it can access:
http://bubblesoftapps.com/bubbleupnpserver/transcode_test/tos_sample_h264.mkv

The file is reachable...

$ wget http://bubblesoftapps.com/bubbleupnpserver/transcode_test/tos_sample_h264.mkv
--2019-01-22 23:55:35-- http://bubblesoftapps.com/bubbleupnpserver/transcode_test/tos_sample_h264.mkv
Resolving bubblesoftapps.com (bubblesoftapps.com)... 94.23.212.51
Connecting to bubblesoftapps.com (bubblesoftapps.com)|94.23.212.51|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 339762 (332K) [video/x-matroska]
Saving to: ‘tos_sample_h264.mkv’

tos_sample_h264.mkv 100%[==================================================>] 331.80K 654KB/s in 0.5s

2019-01-22 23:55:36 (654 KB/s) - ‘tos_sample_h264.mkv’ saved [339762/339762]
 
Last edited:

drmjp93

Senior Member
Jul 14, 2012
1,017
235
Gandhinagar
I have following setup:
Local render: FireTV stick
Library: NAS

Whenever I play any video from NAS to FIRETV, audio is audible but black screen.

What should be done?
 

twochannel

Member
Feb 2, 2007
23
1
DTS Play Fi support

Has any one been able to use bubbleupnp to play to a PlayFi enabled device?

I upgraded my AVR to an Anthem MRX 720 that has DTS Play-Fi support. Play Fi appears to be an open standard media player. Based on what I could find with a quick search it appears to be a DLNA implemetation. (https://play-fi.com/faq/entry/supported-media-servers).

When controlling the AVR through the PlayFi app on my phone I can select from a myriad of music sources including 'media server' which presents a list of locally detected DLNA servers. My DLNA servers show up and I can browse them (e.g. plex) to play music to the AVR, including bubbleupnp if I turn on the DMS feature to be browseable on the network.

However, when I use a DMC such as bubbleupnp I see the PlayFi DMP endpoint along with my other DMPs but music will not stream to it. I've tried using the local media on my phone, media on a DMS such as plex, mezzmo, etc. They will not play.

Thank you,
 

Ifurn0

New member
Jan 27, 2019
1
0
Bug

With embedded mkv subtiles
Ie not hardcoded or downloaded from open subs but embeded in the mkv container)

There is no way to disable them! Its profoundly frustrating, i guess for other people they might like a menu for the 30 or so in there to chose which one if any they like, and a timing correction That could be a later feature, but for now please!!! Give us a button to disable

Also, as a ui there is a plathora of options this is a good thing well done, i just dont want or need them and simply want dlna over lan, want a whitelist to alow only certan ip to be able to acess dlna server and want disabling all of the remote stuff much more clear, more simplistic, so holes arent accidently opend up

Keep up the good work! Thanks for an awsome product :)
 

RedTownsend

New member
Jan 13, 2019
1
0
When I switch between LAN & WAN, the music stops

(Forgive me if I am posting this incorrectly ... I don't see another way.)

I have (Android) BubbleUPnP for DLNA / Chromecast / Smart TV with the license.

I have also (Windows) BubbleUPnP Server serving my music. I have it working great. I LOVE it.

When I am connected to the WAN and launch the Android app, it works great.
When I am connected to my LAN and launch the Android app, it works great.

Here's the PROBLEM ...
When I am listening to music on my LAN, and then leave the house and switch to WAN, the music stops. The same problem happens in reverse.

On my router, I have public ports 58050-58051 forwarded to my local media server.

Is there a solution or workaround? On my LAN, I tried DNS spoofing my "public host name" to the local IP address, however on the LAN the app will not play the tunes.

Thank you for any advice. :cool:
 

fm_2511

New member
Jan 30, 2019
2
0
I have Bubbleupn server installed on PC (Win 10), Bubbleupnp android latest version and Chromecast 2 attached to Denon AVR and connected to TV. When I play an mkv video with DTS sound (from my NAS), the sound is transcoded by Bubbleupn server and I can hear the sound on my 5.1 audio system, but the sound is not in sync with the video (the first few seconds are in sync, but after that the audio is out of sync). If the DTS audio is transcoded by the Bubbleupnp android app I have the same audio sync problem.
If I play an mkv with AC3 Dolby Digital everything works fine (no transcoding)

How I can fix the problem?

Thanks
 

bubbleguuum

Senior Member
Dec 23, 2010
7,016
2,745
I have Bubbleupn server installed on PC (Win 10), Bubbleupnp android latest version and Chromecast 2 attached to Denon AVR and connected to TV. When I play an mkv video with DTS sound (from my NAS), the sound is transcoded by Bubbleupn server and I can hear the sound on my 5.1 audio system, but the sound is not in sync with the video (the first few seconds are in sync, but after that the audio is out of sync). If the DTS audio is transcoded by the Bubbleupnp android app I have the same audio sync problem.
If I play an mkv with AC3 Dolby Digital everything works fine (no transcoding)

How I can fix the problem?

Thanks

@fm_2511

This is due to a recent Chromecast firmware bug with multichannel Opus audio to which BubbleUPnP transcodes the DTS audio track. There is no workaround if you want multichannel: you can only force stereo in Android BubbleUPnP by disabling Settings > Chromecast transcoding > Preserve multi-channel audio. 'AC-3 Pashthrough' has precedence over 'Preserve multi-channel audio' so it will not affect your AC3 movies.
 

bubbleguuum

Senior Member
Dec 23, 2010
7,016
2,745
(Forgive me if I am posting this incorrectly ... I don't see another way.)

I have (Android) BubbleUPnP for DLNA / Chromecast / Smart TV with the license.

I have also (Windows) BubbleUPnP Server serving my music. I have it working great. I LOVE it.

When I am connected to the WAN and launch the Android app, it works great.
When I am connected to my LAN and launch the Android app, it works great.

Here's the PROBLEM ...
When I am listening to music on my LAN, and then leave the house and switch to WAN, the music stops. The same problem happens in reverse.

On my router, I have public ports 58050-58051 forwarded to my local media server.

Is there a solution or workaround? On my LAN, I tried DNS spoofing my "public host name" to the local IP address, however on the LAN the app will not play the tunes.

Thank you for any advice. :cool:

@RedTownsend

Any networking change in BubbleUPnP will stop playback as it is an event that reinitializes the whole networking subsystems in the app. Playback is not designed to be resilient to network changes. So you have to restart playback manually on network changes.
 

bubbleguuum

Senior Member
Dec 23, 2010
7,016
2,745
With embedded mkv subtiles
Ie not hardcoded or downloaded from open subs but embeded in the mkv container)

There is no way to disable them! Its profoundly frustrating, i guess for other people they might like a menu for the 30 or so in there to chose which one if any they like, and a timing correction That could be a later feature, but for now please!!! Give us a button to disable

@Ifurn0

The subtitle display is surely controlled by your renderer (is it a DLNA TV ?) that recognizes the embedded subs in the MKV and display them, independently of BubbleUPnP. While a movie is playing with sub, use the remote of your TV and look for settings to disable the display of subs.
 

bubbleguuum

Senior Member
Dec 23, 2010
7,016
2,745
Has any one been able to use bubbleupnp to play to a PlayFi enabled device?

I upgraded my AVR to an Anthem MRX 720 that has DTS Play-Fi support. Play Fi appears to be an open standard media player. Based on what I could find with a quick search it appears to be a DLNA implemetation. (https://play-fi.com/faq/entry/supported-media-servers).

When controlling the AVR through the PlayFi app on my phone I can select from a myriad of music sources including 'media server' which presents a list of locally detected DLNA servers. My DLNA servers show up and I can browse them (e.g. plex) to play music to the AVR, including bubbleupnp if I turn on the DMS feature to be browseable on the network.

However, when I use a DMC such as bubbleupnp I see the PlayFi DMP endpoint along with my other DMPs but music will not stream to it. I've tried using the local media on my phone, media on a DMS such as plex, mezzmo, etc. They will not play.

Thank you,

@twochannel

Not familiar with PlayFi. Can you send me a log file attempting to play a music track to it in BubbleUPnP ? See first post of this topic for logging instructions.
 

fm_2511

New member
Jan 30, 2019
2
0
@fm_2511

This is due to a recent Chromecast firmware bug with multichannel Opus audio to which BubbleUPnP transcodes the DTS audio track. There is no workaround if you want multichannel: you can only force stereo in Android BubbleUPnP by disabling Settings > Chromecast transcoding > Preserve multi-channel audio. 'AC-3 Pashthrough' has precedence over 'Preserve multi-channel audio' so it will not affect your AC3 movies.

Thanks for the response.
The DTS sound can't be transcoded to another codec (AC3 maybe) instead of Opus?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Hello, I am having trouble streaming Tidal to my mpd/upmpdcli renderers using Kazoo as a Control Point and BubbleUPnP server as the OpenHome renderer.
    Kazoo as its own Tidal service, but the library does not even show if a mpd/upmpdcli combination is selected as a renderer, unless on top of upmpdcli there is BubbleUPnP server with its own OpenHome renderer with Tidal support enabled.
    While this upmpdcli+bubbleupnp server setup works perfectly when using the BubbleUPnP app, it does not work with Kazoo.
    I get the "unsupported uri scheme" error on mpd.
    Instead, if I use gmrenderer-resurrect, of course with BubbleUPnP server "on top" of it, Kazoo happily plays Tidal to it. Unfortunately in this case, I don't get scrobbling to Last.FM which I like to have.

    Is there something I can do to fix the issue?

    Thank you

    @GioF_71

    Can you send me (at bubblesoftproducts@gmail.com) the BubbleUPnP Server log file (BubbleUPnPServer.log.0, usually found on Windows in folder C:\Users\[username]\AppData\Roaming\BubbleUPnP Server) after attempting to play with Kazoo a TIDAL track to the upmpdcli renderer managed by BubbleUPnP Server, resulting in that failure to play ?
    Make sure to select the correct upmpdcli renderer in Kazoo (the BubbleUPnP Server managed one).
    1
    Hi there

    I've been using Bubbleupnp installed on a raspberry pi4 to stream music from Qobuz and Tidal on to a Hegel streamer amp, using Linn Kazoo as a controller.

    Over the past week or so I've been unable to log in to Tidal and I can't figure out why. All I seem to get when I click the login tab in Kazoo is an error message (see image)

    Is anyone else having this issue? I'm wondering whether it's because Tidal have been messing with their subscriptions recently...

    View attachment 6090538

    It's happening to me as well, starting last week.
    If you reset the application preference using the control panel which also allow to uninstall apps and try again, you will notice that Tidal has introduced a "human" verification, but Kazoo cannot prompt the user properly. Then you will get the same error again.
    Kazoo has been last updated in 2016 so I suppose won't be "fixed" (but I'd prefer to be wrong) so I am afraid we are out of luck here, at least with Kazoo. Unless Tidal changes something but this looks unlikely for a very old app like this one.
    It's a shame, I still like to use Kazoo when I am on a windows laptop.
    1
    I've just downloaded the new Linn app on my phone and to my surprise it works!

    Give it a go.
  • 277


    BubbleUPnP on Google Play [current version: 4.3.6, released on April 4th 2024]
    BubbleUPnP on Amazon appstore [current version: 4.3.4, released on February 26th 2024]
    BubbleUPnP latest APKs, Google Play version (notably for side-loading on Android TV)
    BubbleUPnP latest APK, Amazon appstore version (notably for side-loading on Fire TV)
    BubbleUPnP 'Audio Cast' Xposed Module. Only needed on Android < 10. (current version: 1.1, released on April 28th 2021)
    BubbleUPnP Server home page (download and documentation) [current version: 0.9-update49, released on February 17th 2024]

    BubbleUPnP home page

    Stream all your music, videos and photos to various devices in your house:

    • Chromecast
    • DLNA TVs
    • gaming consoles: Xbox, Playstation (from XMB)
    • UPnP/DLNA renderers: XBMC, WDTV Live, other Android devices, ...
    • various HiFi gear from Sonos, Denon, Pioneer, Onkyo and many more
    • local Android playback

    BubbleUPnP can access your media from a lot of sources, including:

    • UPnP/DLNA media servers: most NASes, XBMC, Plex, Twonky, Serviio, Windows Media Player and many more
    • local media stored on your Android device
    • cloud media: Google Drive, Dropbox, Box, OneDrive, Google Music, Google+
    • SMB Shares
    • WebDAV (ownCloud, NextCloud, webserver...)
    • media from other apps such as web browsers and file managers, using Share/Send
    • captured audio from most other apps. Requires Xposed (root)
    • Shoutcast radio (with XiiaLive)

    BubbleUPnP is a versatile app packed with many features for you to discover, some of which are:

    • extensive Chromecast support: play incompatible Chromecast media with transcoding (*), subtitles, audio/video track selection (*)
    • fast and secure Internet access to your home media while on the go, from mobile and WiFi networks (*)
    • playback queue, editable playlists, scrobbling, sleep timer, various shuffle modes
    • integrated full screen image viewer and controller
    • media download to your SD Card
    • ...and much more!

    (*) Some features are provided by BubbleUPnP Server, an optional software that can be installed on any machine on your local network to provide additional services. To learn more about BubbleUPnP Server, visit https://bubblesoftapps.com.

    Some features are restricted and can be unlocked by purchasing the BubbleUPnP License app.


    If something is not working, you can record a log file and mail it to me at bubblesoftproducts@gmail.com:

    - launch the app
    - go into More > Settings > Control
    - Enable "logging to file" (at the end of the page).
    - IMPORTANT: Exit the app (More > Exit)
    - restart the app
    - run the app and trigger the problem to troubleshoot
    - exit the app (More > Exit)
    - email me the files found on internal storage:

    On Android 10 and below:

    /Android/data/com.bubblesoft.android.bubbleupnp/log.txt
    /Android/data/com.bubblesoft.android.bubbleupnp/prev_log.txt

    On Android 11 and higher:

    /Downloads/com.bubblesoft.android.bubbleupnp_log.txt
    /Downloads/prev_com.bubblesoft.android.bubbleupnp_log.txt (if present)

    You can access them with a file manager app and share them to your email app for sending them.

    IMPORTANT: Make sure to not restart BubbleUPnP until you have sent or saved the log file as it is overwritten on app startup.
    9
    BubbleUPnP 1.6.8 and BubbleUPnP Server 0.6.5 are available

    Thanks to everyone who contributed suggestions, bug reports, logs etc.

    BubbleUPnP 1.6.8

    Video transcoding enhancements with BubbleUPnP Server (requires upgrading to BubbleUPnP Server 0.6.5)

    • transcoded video preserve embedded subtitles (mostly found in MKV). MX Player must be configured to use the H/W+ or S/W decoder to allow to select subtitles
    • when playing a transcoded video, ability to choose interactively audio/video streams to be included in the transcoded video (when there is more than 1 audio/video stream)
    • added ability to download transcoded videos (as MKV), preserving all audio/video tracks and subtitles of the original video
      Transcode quality can be set in "Settings > Network And Settings > Video transcoding", in the "File downloads" transcoding section.
      Requires licensed BubbleUPnP.

    New features

    • added Google Music auto playlists: "Thumbs up" and "Last added" (needs a Sync to appear)
    • added exit button to rich JB notification. Exit the app the same way than Menu > Exit
    • added option Settings > Library > Play displays Now Playing. If enabled, play actions in Library immediately switch to the Now Playing screen
    • added option Settings > Now Playing > Keep screen on. If enabled, the screen is kept on when device is plugged to power and on the Now Playing screen. Enabled by default
    • added "Music > Artists > All Albums" local media server folder, listing all albums sorted by album artist
    • added "Show metadata" action in context menu of album folders in Library (useful to see long titles)
    • added instructions for playing tunein radios from the Android web browser, in Settings > About/Help > Tips > Interacting with other apps
    • added ability to edit an item's metadata (title, album, artist) with context menu > Edit metadata in the Playlist tab and in a saved playlist folder (in Library).
      Useful to rename items having missing or incomplete metadata that have been sent to BubbleUPnP from third party apps (ex: tunein). This feature must only be used for items that will be added to a saved playlist. It *does not* modify metadata on the server
    • show album composer in album lists in Library, if composer is present and Settings > Display > Item size is set to Medium or greater
    • downloading a video also downloads the external subtitle file if present
    • local folder search also searches album name and artist instead of just title

    Bug fixes

    • fixed subtitle URLs sent by recent versions of Twonky (7.x) not recognized
    • fixed download of non-media items (such as subtitles) giving an error
    • fixed Stop (long-click on Play/Pause button) sometimes triggering playback of next track
    • fixed "Settings > Display > Multiline items" not working properly in Library album folders
    • fixed lock screen controls not showing when playing videos to external renderer
    • fixed current LAN renderer lost when network connection switches from WiFi to mobile data or no network
    • fixed error when playing podcast sent from Share action of Doggcatcher
    • fixed broken playlist track advance on some Roku renderers
    • fixed images displayed from Wild Media Server being low resolution (workaround WMS bug)
    • fixed Search action not available on phones, in Library folders containing items only, such as playlists. Now available under menu > Search, allowing local search of these folders
    • fixed possible crash when playing a video to a remote BubbleUPnP instance
    • fixed obscure crashes, some of them involving old versions of Android


    BubbleUPnP Server 0.6.5

    • added support for transcoding videos to MKV instead of MPEG-TS in a number of cases. MKV is automatically used when embedded subtitles must be preserved, and
      for transcoded video downloads (both require Android BubbleUPnP 1.6.8+). ffmpeg must have been compiled with MKV support
    • fixed proxy media servers not discovered by Windows Media Player
    • added option -useNumericIpInStreamURL to force the server to return numeric ip stream URLs instead of a hostname.
      This may be required for some specific renderers to accept to stream from a media server via tethering. This setting is forced if the browsing
      client is a Samsung TV, which requires it
    • fixed small CPU spike every 30s on slow NASes
    • fixed stream URLs becoming invalid if browsing large number of items (more than 3000)
    • fixed Sony SA-NS310 renderer recognized as a media server instead of a renderer
    • fixed proxies not carrying the X_MS_MediaReceiverRegistrar service
    • libshine is used for mp3 transcoding if compiled in ffmpeg (useful on slow NASes as it uses way less CPU than libmp3lame)
    • added missing Standby action support for OpenHome renderers (simply stops playback)
    • fixed transcoded images rarely failing to load due to low read timeout
    • Windows installer: updated ffmpeg to 1.2, added ffprobe, updated Java installer to 7u21
    8
    Finally, it's there!

    BubbleUPnP 1.8.0 is available on Google Play, bringing Chromecast support.
    BubbleUPnP Server 0.8 is available as well, providing transcoding support.

    All the details in this G+ post


    .
    8
    BubbleUPnP 4.0 announcement


    I've been working on BubbleUPnP 4.0.

    It will refresh the UI with Material Design 3, including (optional) Material You support (on Android 12+). It's been a lot of work and there is still a lot to do as the app is huge (and old, 12 years and counting. First version was released on Android 2.3!). Converting the app settings to androidx.preference, fragments and tweak some prefs for MD3 took several days alone!

    Here's a few work-in-progress screenshots until a beta is available later this month.

    The screenshots show various combinations of material You in dark and light mode. There's also to the ability to combine a light theme with dark bars for a look close to the current Light + dark bars theme (last screenshot). Note that dynamic tinting of the Now Playing screen based on cover colors is not yet implemented (as in the current version) but this is planned.
    8
    BubbleUPnP 4.0 is available in the Play Store. I hope you'll like the redesign !