• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[APP][5.0+][v3.5.5] BubbleUPnP - UPnP/DLNA/Chromecast Control Point and Renderer

Search This thread

bubbleguuum

Senior Member
Dec 23, 2010
6,693
2,541
Thanks

I have a problem now after I installed the BubbleUPnP server service, it starts ok, but now my Android BubbleUPnP app with license can't find the Windows server, both are on the same wifi network. I only get local transcoding (got remote before) and I don't see the DNLA media renderers I added in BubbleUPnP server, also can't see the Android media server in Windows.

@MrOtto123

Try rebooting your WIFi router and (if necessary) PC and Android device.
Make sure your WiFi router is up to date.
 

MrOtto123

Member
Dec 6, 2020
10
0
Thanks, restarting Android device worked with app not finding the Windows server.

But something else:
I have repeated problem with Windows BubbleUPnP server not listing Serviio or foobar2000 media server. I have these to start after the BuubbleUPnP server, seems to help. But often, they are not on the servers list of media servers available. I often find my self having to restart each media server, to have them discovered by the BubbleUPnP server.
Any solution to this? Can the Windows BubbleUPnP server be able to discover an already started and running compatible media server?

Thanks for a great app (I have bought the license) and UPnP server, best solution for media playback I have tried, plays every format, very few problems. Much less hassle than Videostream or Plex.
 

.:Stefan:.

Member
May 27, 2011
31
1
Greetings!

@bubbleguuum : I'd like to operate BubbleUPnPServer inside a Docker environment that is running on Proxmox VE and the Docker is managed thru Portainer. Due to the structure of my network, I'd like to put BubbleUPnP Server into a VLAN that's not the same with the Host, so the network configuration cannot be "host".

Is there any guide available what to do to make BubbleUPnPServer in such an environment working so that DLNA media servers and renderers will be recognized accordingly?

Many thanks in advance!
 

bubbleguuum

Senior Member
Dec 23, 2010
6,693
2,541
Greetings!

@bubbleguuum : I'd like to operate BubbleUPnPServer inside a Docker environment that is running on Proxmox VE and the Docker is managed thru Portainer. Due to the structure of my network, I'd like to put BubbleUPnP Server into a VLAN that's not the same with the Host, so the network configuration cannot be "host".

Is there any guide available what to do to make BubbleUPnPServer in such an environment working so that DLNA media servers and renderers will be recognized accordingly?

Many thanks in advance!

@.:Stefan:.

You can configure Docker networking how you like as long as in the VLAN you can reach UPnP/DLNA devices outside of it.
For device discovery to work, you need to have SSDP discovery working on your VLAN and reaching devices on your regular network. It uses UDP mulitcast on port 1900.
 
  • Like
Reactions: .:Stefan:.

Brane Dev

New member
Aug 10, 2021
1
0
Hi, I'm a developer working on a UPnP media renderer and I've been using BubbleUPnP as a control point / media server. I've noticed that if BubbleUPnP has gapless playback enabled and 'repeat track' is enabled the currently playing track is not repeated. Rather, after the current track completes the next track in the playlist is played and repeated. If gapless playback is disabled the currently playing track repeats as expected.

I expected to get an updated NextAVTransportURI when the repeat mode changed in the app. Is this a poor assumption on my part? If so, how is this supposed to work?
 
Hi,
with the official docker container, hardware transcoding isn't working with my AMD Ryzen 3 PRO 4350G

In other Docker-Containers, VAAPI is working.
Is the correct driver for that APU in the BubbleUPnP-Container implemented?

I've attached the log file of the transcoding test.

Code:
[qtp1913113425-51 (51) ] INFO - 0:02:37.406 - .Options : allow GPU transcoding: true
[qtp1913113425-78 (78) ] INFO - 0:02:37.406 - .Options : GPU Method: vaapi
[qtp1913113425-51 (51) ] INFO - 0:02:38.614 - .Main : performing GPU transcode test: VA-API / h264
[qtp1913113425-96 (96) ] INFO - 0:02:38.616 - .ChromecastTranscodeServlet : input URL: http://bubblesoftapps.com/bubbleupnpserver/transcode_test/tos_sample_h264.mkv
[qtp1913113425-96 (96) ] INFO - 0:02:38.617 - .FFMpegUtils : removed expired cached probe info for http://bubblesoftapps.com/bubbleupnpserver/transcode_test/tos_sample_h264.mkv_mkv_
[qtp1913113425-96 (96) ] INFO - 0:02:38.618 - .FFMpegUtils : ffprobe process started, timeout: 30000 ms: ffprobe -show_format -show_streams -seekable 0 http://bubblesoftapps.com/bubbleupnpserver/transcode_test/tos_sample_h264.mkv
[qtp1913113425-96 (96) ] INFO - 0:02:38.798 - .FFMpegUtils : ffprobe finished
[qtp1913113425-96 (96) ] INFO - 0:02:38.800 - .FFMpegUtils : added cached probe info for http://bubblesoftapps.com/bubbleupnpserver/transcode_test/tos_sample_h264.mkv_mkv_, expires in 2 seconds
[qtp1913113425-96 (96) ] INFO - 0:02:38.800 - .ChromecastTranscodeServlet : input format: matroska,webm
[qtp1913113425-96 (96) ] INFO - 0:02:38.800 - .ChromecastTranscodeServlet : video extension: mkv
[qtp1913113425-96 (96) ] INFO - 0:02:38.801 - .ChromecastTranscodeServlet : video: 1920x800, 2.000s, 24.000 fps, 1359 kbps, h264 ([email protected]), yuv420p, 2.000000s
[qtp1913113425-96 (96) ] INFO - 0:02:38.801 - .ChromecastTranscodeServlet : video transcoding forced by parameter
[qtp1913113425-96 (96) ] INFO - 0:02:38.801 - .ChromecastTranscodeServlet : GPU in use: start
[qtp1913113425-96 (96) ] INFO - 0:02:38.803 - .FFMpegUtils : ffmpeg process started: ffmpeg -async 1 -seekable 0 -v verbose -hwaccel vaapi -hwaccel_output_format vaapi -fflags +genpts -i http://bubblesoftapps.com/bubbleupnpserver/transcode_test/tos_sample_h264.mkv -map 0:0 -c:0 h264_vaapi -profile:v high -level 4.1 -b:v 8000k -f matroska -
[qtp1913113425-96 (96) ] WARNING - 0:02:38.951 - .FFMpegUtils : runFFMPEG: error while running ffmpeg process: ffmpeg -async 1 -seekable 0 -v verbose -hwaccel vaapi -hwaccel_output_format vaapi -fflags +genpts -i http://bubblesoftapps.com/bubbleupnpserver/transcode_test/tos_sample_h264.mkv -map 0:0 -c:0 h264_vaapi -profile:v high -level 4.1 -b:v 8000k -f matroska -: com.bubblesoft.upnp.servlets.FFMpegUtils$FfmpegExecRetCodeException: runFFMPEG: ffmpeg error exit code=1
[qtp1913113425-96 (96) ] WARNING - 0:02:38.951 - .FFMpegUtils : ffmpeg output:

ffmpeg version 4.3.2-bubblesoftapps.com Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 10 (SUSE Linux)
configuration: --prefix=/ffmpeg-static/target --pkg-config-flags=--static --extra-cflags='-I/ffmpeg-static/target/include -include /ffmpeg-static/force_link_glibc_2.22.h' --extra-cxxflags='-include /ffmpeg-static/force_link_glibc_2.22.h' --extra-ldflags='-L/ffmpeg-static/target/lib -L/ffmpeg-static/target/lib64 -pthread' --extra-libs='-lm -ldl' --bindir=/ffmpeg-static/bin --extra-version=bubblesoftapps.com --disable-shared --disable-debug --disable-programs --disable-doc --disable-autodetect --disable-avdevice --disable-postproc --disable-protocols --disable-protocol='rtp,udp' --disable-encoders --disable-filters --enable-gpl --enable-version3 --enable-pic --enable-static --enable-ffmpeg --enable-ffprobe --enable-libxml2 --enable-gnutls --enable-protocol='http,https,pipe,crypto,file' --enable-encoder='aac,libmp3lame,libopus,ac3,eac3,pcm_s16le,pcm_s16be,pcm_s24le,pcm_s24be,flac,libvorbis,mjpeg,libx264,h264_vaapi,h264_nvenc,h264_qsv,srt' --enable-filter='abenc,acompressor,acontrast,acopy,acue,acrusher,adeclick,adeclip,adelay,aderivative,aecho,aemphasis,aeval,afade,afftdn,afftfilt,aformat,agate,aintegral,alimiter,allpass,aloop,ametadata,anlmdn,anull,apad,aperms,aphaser,apulsator,arealtime,aresample,areverse,arnndn,asendcmd,asetnsamples,asetpts,asetrate,asettb,ashowinfo,asidedata,asoftclip,astats,asubboost,atempo,atrim,bandpass,bandreject,bass,biquad,channelmap,chorus,compand,compensationdelay,crossfeed,crystalizer,dcshift,deesser,drmeter,dynaudnorm,earwax,equalizer,extrastereo,firequalizer,flanger,haas,hdcd,highpass,highshelf,loudnorm,lowpass,lowshelf,mcompand,pan,replaygain,silencedetect,silenceremove,stereotools,stereowiden,superequalizer,surround,treble,tremolo,vibrato,volume,volumedetect,afifo,afir,afirsrc,scale,scale_qsv,scale_vaapi,hwupload,format' --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libsoxr --enable-libspeex --enable-libvorbis --enable-libx264 --enable-libdav1d --enable-vaapi --enable-ffnvcodec --enable-nvenc --enable-nvdec --enable-cuvid --enable-libmfx
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavfilter 7. 85.100 / 7. 85.100
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
[tcp @ 0x2826a80] Starting connection attempt to 87.98.219.58 port 80
[tcp @ 0x2826a80] Successfully connected to 87.98.219.58 port 80
[h264 @ 0x282b6c0] Reinit context to 1920x800, pix_fmt: yuv420p
Input #0, matroska,webm, from 'http://bubblesoftapps.com/bubbleupnpserver/transcode_test/tos_sample_h264.mkv':
Metadata:
COMPATIBLE_BRANDS: mp42isomavc1
MAJOR_BRAND : mp42
MINOR_VERSION : 0
ENCODER : Lavf57.72.101
Duration: 00:00:02.00, start: 0.000000, bitrate: 1359 kb/s
Stream #0:0: Video: h264 (High), 1 reference frame, yuv420p(progressive, left), 1920x800 [SAR 1:1 DAR 12:5], 24 fps, 24 tbr, 1k tbn, 48 tbc (default)
Metadata:
ENCODER : Lavc57.93.100 libx264
DURATION : 00:00:02.000000000
[AVHWDeviceContext @ 0x282f400] Trying to use DRM render node for device 0.
[AVHWDeviceContext @ 0x282f400] libva: VA-API version 1.10.0
[AVHWDeviceContext @ 0x282f400] libva: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
[AVHWDeviceContext @ 0x282f400] libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
[AVHWDeviceContext @ 0x282f400] libva: va_openDriver() returns -1
[AVHWDeviceContext @ 0x282f400] Failed to initialise VAAPI connection: -1 (unknown libva error).
Device creation failed: -5.
[h264 @ 0x2840b40] No device available for decoder: device type vaapi needed for codec h264.
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_vaapi))
Device setup failed for decoder on input stream #0:0 : Input/output error
[AVIOContext @ 0x282fe00] Statistics: 0 seeks, 0 writeouts
[AVIOContext @ 0x2830ec0] Statistics: 92982 bytes read, 0 seeks


[qtp1913113425-96 (96) ] INFO - 0:02:38.954 - .FFMpegUtils : runFFMPEG: written 0 bytes
[qtp1913113425-96 (96) ] INFO - 0:02:38.954 - .ChromecastTranscodeServlet : GPU in use: end
[qtp1913113425-96 (96) ] WARNING - 0:02:38.955 - .ChromecastTranscodeServlet : GPU transcoding failed, software fallback disabled
[qtp1913113425-51 (51) ] INFO - 0:02:38.955 - .Main : GPU transcode test failed: VA-API / h264:
[qtp1913113425-51 (51) ] INFO - 0:02:38.956 - .Main : Test failed: No supported GPU found
 
Last edited:

bubbleguuum

Senior Member
Dec 23, 2010
6,693
2,541
Hi,
with the official docker container, hardware transcoding isn't working with my AMD Ryzen 3 PRO 4350G

In other Docker-Containers, VAAPI is working.
Is the correct driver for that APU in the BubbleUPnP-Container implemented?

@psychofaktory

Thanks for the report. The docker image is indeed missing many vaapi drivers.
I've updated it on docker hub to include them.
Can you try it and report if it works ?
 
@bubbleguuum
Thanks for updating the image.
I've updated the container with the new image and performed the transcoding test.
But unfortunately it says "Test failed" again.

I've attached the log of the new test.


Would it be possible to let the config folder map outside the Docker image, as is the case in the skujakira image?
This would make it easier to edit the config file and the adjustments would also be persistent when reinstalling.
[qtp1558460059-53 (53) ] INFO - 0:00:34.576 - .Options : allow GPU transcoding: true
[qtp1558460059-54 (54) ] INFO - 0:00:34.576 - .Options : GPU Method: vaapi
[qtp1558460059-53 (53) ] INFO - 0:00:35.457 - .Main : performing GPU transcode test: VA-API / h264
[qtp1558460059-104 (104) ] INFO - 0:00:35.461 - .ChromecastTranscodeServlet : input URL: http://bubblesoftapps.com/bubbleupnpserver/transcode_test/tos_sample_h264.mkv
[qtp1558460059-104 (104) ] INFO - 0:00:35.462 - .FFMpegUtils : removed expired cached probe info for http://bubblesoftapps.com/bubbleupnpserver/transcode_test/tos_sample_h264.mkv_mkv_
[qtp1558460059-104 (104) ] INFO - 0:00:35.463 - .FFMpegUtils : ffprobe process started, timeout: 30000 ms: ffprobe -show_format -show_streams -seekable 0 http://bubblesoftapps.com/bubbleupnpserver/transcode_test/tos_sample_h264.mkv
[qtp1558460059-104 (104) ] INFO - 0:00:35.653 - .FFMpegUtils : ffprobe finished
[qtp1558460059-104 (104) ] INFO - 0:00:35.655 - .FFMpegUtils : added cached probe info for http://bubblesoftapps.com/bubbleupnpserver/transcode_test/tos_sample_h264.mkv_mkv_, expires in 2 seconds
[qtp1558460059-104 (104) ] INFO - 0:00:35.655 - .ChromecastTranscodeServlet : input format: matroska,webm
[qtp1558460059-104 (104) ] INFO - 0:00:35.655 - .ChromecastTranscodeServlet : video extension: mkv
[qtp1558460059-104 (104) ] INFO - 0:00:35.656 - .ChromecastTranscodeServlet : video: 1920x800, 2.000s, 24.000 fps, 1359 kbps, h264 ([email protected]), yuv420p, 2.000000s
[qtp1558460059-104 (104) ] INFO - 0:00:35.656 - .ChromecastTranscodeServlet : video transcoding forced by parameter
[qtp1558460059-104 (104) ] INFO - 0:00:35.656 - .ChromecastTranscodeServlet : GPU in use: start
[qtp1558460059-104 (104) ] INFO - 0:00:35.657 - .FFMpegUtils : ffmpeg process started: ffmpeg -async 1 -seekable 0 -v verbose -hwaccel vaapi -hwaccel_output_format vaapi -fflags +genpts -i http://bubblesoftapps.com/bubbleupnpserver/transcode_test/tos_sample_h264.mkv -map 0:0 -c:0 h264_vaapi -profile:v high -level 4.1 -b:v 8000k -f matroska -
[qtp1558460059-104 (104) ] WARNING - 0:00:35.835 - .FFMpegUtils : runFFMPEG: error while running ffmpeg process: ffmpeg -async 1 -seekable 0 -v verbose -hwaccel vaapi -hwaccel_output_format vaapi -fflags +genpts -i http://bubblesoftapps.com/bubbleupnpserver/transcode_test/tos_sample_h264.mkv -map 0:0 -c:0 h264_vaapi -profile:v high -level 4.1 -b:v 8000k -f matroska -: com.bubblesoft.upnp.servlets.FFMpegUtils$FfmpegExecRetCodeException: runFFMPEG: ffmpeg error exit code=1
[qtp1558460059-104 (104) ] WARNING - 0:00:35.836 - .FFMpegUtils : ffmpeg output:

ffmpeg version 4.3.2-bubblesoftapps.com Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 10 (SUSE Linux)
configuration: --prefix=/ffmpeg-static/target --pkg-config-flags=--static --extra-cflags='-I/ffmpeg-static/target/include -include /ffmpeg-static/force_link_glibc_2.22.h' --extra-cxxflags='-include /ffmpeg-static/force_link_glibc_2.22.h' --extra-ldflags='-L/ffmpeg-static/target/lib -L/ffmpeg-static/target/lib64 -pthread' --extra-libs='-lm -ldl' --bindir=/ffmpeg-static/bin --extra-version=bubblesoftapps.com --disable-shared --disable-debug --disable-programs --disable-doc --disable-autodetect --disable-avdevice --disable-postproc --disable-protocols --disable-protocol='rtp,udp' --disable-encoders --disable-filters --enable-gpl --enable-version3 --enable-pic --enable-static --enable-ffmpeg --enable-ffprobe --enable-libxml2 --enable-gnutls --enable-protocol='http,https,pipe,crypto,file' --enable-encoder='aac,libmp3lame,libopus,ac3,eac3,pcm_s16le,pcm_s16be,pcm_s24le,pcm_s24be,flac,libvorbis,mjpeg,libx264,h264_vaapi,h264_nvenc,h264_qsv,srt' --enable-filter='abenc,acompressor,acontrast,acopy,acue,acrusher,adeclick,adeclip,adelay,aderivative,aecho,aemphasis,aeval,afade,afftdn,afftfilt,aformat,agate,aintegral,alimiter,allpass,aloop,ametadata,anlmdn,anull,apad,aperms,aphaser,apulsator,arealtime,aresample,areverse,arnndn,asendcmd,asetnsamples,asetpts,asetrate,asettb,ashowinfo,asidedata,asoftclip,astats,asubboost,atempo,atrim,bandpass,bandreject,bass,biquad,channelmap,chorus,compand,compensationdelay,crossfeed,crystalizer,dcshift,deesser,drmeter,dynaudnorm,earwax,equalizer,extrastereo,firequalizer,flanger,haas,hdcd,highpass,highshelf,loudnorm,lowpass,lowshelf,mcompand,pan,replaygain,silencedetect,silenceremove,stereotools,stereowiden,superequalizer,surround,treble,tremolo,vibrato,volume,volumedetect,afifo,afir,afirsrc,scale,scale_qsv,scale_vaapi,hwupload,format' --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libsoxr --enable-libspeex --enable-libvorbis --enable-libx264 --enable-libdav1d --enable-vaapi --enable-ffnvcodec --enable-nvenc --enable-nvdec --enable-cuvid --enable-libmfx
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavfilter 7. 85.100 / 7. 85.100
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
[tcp @ 0x2826a80] Starting connection attempt to 87.98.219.58 port 80
[tcp @ 0x2826a80] Successfully connected to 87.98.219.58 port 80
[h264 @ 0x282b6c0] Reinit context to 1920x800, pix_fmt: yuv420p
Input #0, matroska,webm, from 'http://bubblesoftapps.com/bubbleupnpserver/transcode_test/tos_sample_h264.mkv':
Metadata:
COMPATIBLE_BRANDS: mp42isomavc1
MAJOR_BRAND : mp42
MINOR_VERSION : 0
ENCODER : Lavf57.72.101
Duration: 00:00:02.00, start: 0.000000, bitrate: 1359 kb/s
Stream #0:0: Video: h264 (High), 1 reference frame, yuv420p(progressive, left), 1920x800 [SAR 1:1 DAR 12:5], 24 fps, 24 tbr, 1k tbn, 48 tbc (default)
Metadata:
ENCODER : Lavc57.93.100 libx264
DURATION : 00:00:02.000000000
[AVHWDeviceContext @ 0x282f400] Trying to use DRM render node for device 0.
[AVHWDeviceContext @ 0x282f400] libva: VA-API version 1.10.0
[AVHWDeviceContext @ 0x282f400] libva: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
[AVHWDeviceContext @ 0x282f400] libva: /usr/lib64/dri/radeonsi_drv_video.so has no function __vaDriverInit_1_0
[AVHWDeviceContext @ 0x282f400] libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
[AVHWDeviceContext @ 0x282f400] libva: va_openDriver() returns -1
[AVHWDeviceContext @ 0x282f400] Failed to initialise VAAPI connection: -1 (unknown libva error).
Device creation failed: -5.
[h264 @ 0x2840b40] No device available for decoder: device type vaapi needed for codec h264.
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_vaapi))
Device setup failed for decoder on input stream #0:0 : Input/output error
[AVIOContext @ 0x282fe00] Statistics: 0 seeks, 0 writeouts
[AVIOContext @ 0x2830ec0] Statistics: 92982 bytes read, 0 seeks


[qtp1558460059-104 (104) ] INFO - 0:00:35.838 - .FFMpegUtils : runFFMPEG: written 0 bytes
[qtp1558460059-104 (104) ] INFO - 0:00:35.838 - .ChromecastTranscodeServlet : GPU in use: end
[qtp1558460059-104 (104) ] WARNING - 0:00:35.839 - .ChromecastTranscodeServlet : GPU transcoding failed, software fallback disabled
[qtp1558460059-53 (53) ] INFO - 0:00:35.840 - .Main : GPU transcode test failed: VA-API / h264:
[qtp1558460059-53 (53) ] INFO - 0:00:35.840 - .Main : Test failed: No supported GPU found
 
Last edited:

bubbleguuum

Senior Member
Dec 23, 2010
6,693
2,541
@bubbleguuum
Thanks for updating the image.
I've updated the container with the new image and performed the transcoding test.
But unfortunately it says "Test failed" again.

I've attached the log of the new test.


Would it be possible to let the config folder map outside the Docker image, as is the case in the skujakira image?
This would make it easier to edit the config file and the adjustments would also be persistent when reinstalling.

@psychofaktory

You forgot to attach the new log. Can you send it to [email protected] ?

No plan for making the config file external.
 

bubbleguuum

Senior Member
Dec 23, 2010
6,693
2,541
Hi, I'm a developer working on a UPnP media renderer and I've been using BubbleUPnP as a control point / media server. I've noticed that if BubbleUPnP has gapless playback enabled and 'repeat track' is enabled the currently playing track is not repeated. Rather, after the current track completes the next track in the playlist is played and repeated. If gapless playback is disabled the currently playing track repeats as expected.

I expected to get an updated NextAVTransportURI when the repeat mode changed in the app. Is this a poor assumption on my part? If so, how is this supposed to work?

@Brane Dev

Thank you for the report, I will look into it.

Enabling repeat should disable gapless control (ie the use of SetNextAVTransportURI, NextAVTransportURI) and revert to regular control.
That's a design choice in BubbleUPnP where gapless control is only performed when playing tracks of the same album in succession.
 

MrOtto123

Member
Dec 6, 2020
10
0
Ever since I installed the server as a service I have had trouble with the Android app finding the server and performing remote transcoding. It sometimes will switch to remote transcoding after a while, but almost always starts with local and stuttering.
 

bubbleguuum

Senior Member
Dec 23, 2010
6,693
2,541
Ever since I installed the server as a service I have had trouble with the Android app finding the server and performing remote transcoding. It sometimes will switch to remote transcoding after a while, but almost always starts with local and stuttering.

@MrOtto123

Try to reboot your WiFi router and check that its firmware is up-to-date. Also go into its settings and look for a an 'IGMP snooping' setting. If you find it, disable it.
 

stayloa

Member
Jul 12, 2014
38
3
Hi there. I've just upgraded my rig (11700k) and am trying to work out if there's a way I can get the iGPU to do the transcoding work. I have a 1060 6GB as my main GPU and when first selecting the iGPU it fails saying either BubbleUPnP is running as a service (it's not, am using the executable) or that the iGPU isn't the primary GPU.

I plugged my TV in to the iGPU and set it as primary in the BIOS as well as the primary display in windows but I get the same message, saying that the CPU is doing the encoding. This is whilst my monitor is still plugged in to the NVIDIA.

Is there a way to fix this? I was thinking of getting a ghost HDMI adapter, but given the above, I'm not sure that would work either.

Does that iGPU have to be the only GPU for it to work?

I'm really just tinkering - certainly not a big problem!

Thanks!

Edit - so I got it working and no need to buy a ghost HDMI adapter! I'm not sure if this is Windows 11 specific or not, but System>Display>Graphics lets me essentially bind a GPU to a specific app. I just added ffmpeg and ffprobe from the BubbleUpNP folder to the list of apps on that screen and selected "Power Saving" for each one which was linked to my Intel iGPU. Restarted everything, ran the transcoding test and I get a pass on Intel QSV via the iGPU!
 
Last edited:

msssm

Senior Member
Mar 4, 2014
141
6
Hi, I still backup my apps with TitaniumBackup and noticed, BubbleUPnP has currenly 70,49M of data. Most important for me are some of the personal Playlists, but this isn't so much data. Where does all the data come from and how can I do a cleanup? I already found some "Delete search history" in the settings and I've done that.

And yes I know, I do also additionally export my playlists now from BubbleUPnP as backup.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Today I discovered that bubbleupnp-server is crashing on my Synology DS216+II, running in a Docker container. Here is the log:
    I use bubblesoftapps/bubbleupnpserver-openj9 because the other image is crashing constantly. It has been working recently. Any ideas? My DSM version is 7.0.1-42214 RC and if IIRC I updated because there was an issue with OpenSSL (Security Advisory Synology-SA-21:24). It may have started crashing after the update.

    @eTaurus

    There's a bubblesoftapps/bubbleupnpserver-openj9-leap image that fixes it. It will probably replace the current openj9 image (which works fine on most devices, just not on some Syno devices due to an obscure FIPS issue I'm not sure where it is coming from).
  • 262
    BubbleUPnP on Google Play [current version: 3.5.5, released on Sept 9th 2021]
    BubbleUPnP on Amazon appstore [current version: 3.5.4, released on July 19th 2021]
    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 (current version: 1.1, released on April 28th 2021)
    BubbleUPnP Server home page (download and documentation) [current version: 0.9-update41, released on July 20th 2021]

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

    • Chromecast
    • DLNA TVs
    • gaming consoles: Xbox 360, PS3 (from XMB)
    • UPnP/DLNA renderers: XBMC, WDTV Live, Windows Media Player, 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+
    • 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 [email protected]:

    - launch the app
    - go into More > Gear icon > Control
    - Enable "logging to file" (at the end of the page).
    - IMPORTANT: Exit the app (More > "X" bottom left icon)
    - restart the app
    - run the app and trigger the problem to troubleshoot
    - exit the app
    - 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:

    /Documents/com.bubblesoft.android.bubbleupnp_log.txt
    /Documents/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


    .
    7
    BubbleUPnP is available in the Google Play store:


    1.6.0

    • 4x1 and 4x2 widgets resizable horizontally on ICS+
    • rich notification on Jelly Bean with volume control
    • gapless playback (beta) support for the local renderer. Requires Android Jelly Bean. Must be explicitely enabled in Settings > Local Renderer. Changing this setting requires an app restart. The local renderer will play gaplessly if controlled by a gapless aware controller: BubbleUPnP 1.6.0+, JRMC, foobar2000 (foo_upnp 0.99.41).
    • support for controlling gapless renderers (all Android versions). tested renderers: local renderer (locally or remotely controlled), JRiver Media Center, foobar2000 (foo_upnp 0.99.41). Can be turned off in Settings > UPnP Tweaks > Enable gapless control
    • OpenHome local renderer (beta). Allow to control the local renderer remotely without requiring the Control Point to remain running for track advance (the playback queue is stored on the renderer side). Must be enabled in Settings > Local Renderer > OpenHome renderer. Appears on the network with the same name than the local renderer, with (OpenHome) appended
    • video subtitles support for local and external video renderers. For Android playback with subtitles, MX Player is required for either local or remote playback. For important information on this topic, refer to Settings > About/Help > Tips > Video and subtitles
    • support for third party equalizer / DSP apps applied to local renderer music playback (Now Playing > Menu > Equalizer)
    • slideshow to external renderer through the fullscreen image viewer, now able to control external renderers and providing a better UI for this purpose
    • added ability to exclude folders when the Local Media Server is browsed remotely (Settings > Local Media Server > Content > Exclude remote folders)
    • reorganized Settings screens
    • Now Playing screen uses cached covers on mobile connection
    • improved D-PAD navigation (GoogleTV)
    • improved accessibility
    • attempt at a workaround for error 501 on some Sony renderers
    • fixed app sometimes exiting after inactivity delay while local media server is busy streaming files
    • fixed Local Media Server and Renderer possibly disappearing after 30 mins in some external Control Points
    • fixed thumbnails sometimes not displaying (most likely happened on fast devices like the Nexus 7)
    • fixed searching local media server for videos not working
    • fixed local renderer and local media server not being disannounced on the LAN on Android shutdown or reboot
    • fixed layouting bugs
    • fixed rare ANRs and crashes
    • many other fixes and UI tweaks
    7
    I will be away for a few days (until Thursday) and in the meantime here's a beta of v1.7.0 to test.
    Please report any issues or regressions with this version as it has a lot of changes.

    Download beta APK

    1.7.0p2

    UI changes

    The Now Playing screen has been updated and some default settings changed:

    • new playback buttons and seek bar
    • new Stop button
    • on phones, in portrait, track title and artist are displayed in Action bar
    • Settings > Display > Background cover derives background from cover. Enabled by default on tablets.
    • swiping the cover up/down increase or decrease volume by the configured volume step
    • tap and long-press on cover actions can be configured in Settings > Now Playing. By default, tap shows metadata and long-press shows action menu
    • on phone devices, it is now possible to show the volume slider in landscape
    • cover aspect ratio is now preserved by default. Previous behavior can be set in Settings > Now Playing > Scale cover to fit
    • the volume slider is only shown by default on 10" tablets. It can be changed in Settings > Now Playing > Show volume slider

    Other notable UI tweaks

    • The current volume value and mute status is displayed in the JB rich notification and in widgets
    • tablets now use the transparent UI, same as phones
    • Settings > Display > Background cover also apply to album folder view in Library
    • Settings > Experimental UI has been removed
    • Library folder animation is disabled by default on 10" tablets
    • On Android 2.x, the app now looks more similar to Android 4.x

    New features

    • support browsing and streaming media from the SkyDrive cloud service
    • search results now include Google Music. Albums whose title or artist name contain the search string are returned. Searching track titles is *not* supported
    • added ability to prevent automatic playlist track advance if playback is stopped mid-track by another control point or from the renderer's own UI: Settings > UPnP Tweaks > Detect remote Stop (disabled by default).
      Enable with care as it might mess up regular track advance
    • added Devices > Menu > Disable discovery. Disabling discovery can be useful if many UPnP devices spam their presence on the network or to slightly reduce CPU/battery usage
    • added Settings > Control > Pause Pause stops playback. If enabled, all the Pause buttons (Now Playing, notification, widget) will perform a Stop. Useful for renderers that do not support pausing at all

    Fixes

    • fixed failure to stream from the local media server under some network scenarios (in particular: Bluetooth or USB tethering with WiFi enabled, Android devices whose first LAN network interface is not the WiFi interface)
    • fixed impossibility to enter text in the UPnP Search text field in the presence of a hardware keyboard
    • fixed bookmarking cloud folders not working
    • fixed changing volume with hardware buttons not working in the Devices tab
    • fixed Google Music sync failing on some devices with 512Mb RAM
    • fixed rare Dropbox authorization issue
    • fixed some devices not discovered due to buggy description (Grace Digital tuner)
    • fixed "Smart Sort" if enabled messing order of some folders of the local media server (Music > Artists > [All Albums])
    • fixed list scrolling rendering bug on the Nexus 10 (and possibly the Samsung Galaxy Tab 10.1)
    • fixed app starting in paused state in conjunction with some car Bluetooth subsystems
    • fixed "scale to fit (keep aspect ratio)" not working with all covers
    • fixed Boulder hardware renderers not correctly managed as native OpenHome renderers
    • fixed PS3 not showing covers in Google Drive and Dropbox folders
    • fixed PS3 browsing the local media server sometimes displaying a DLNA error code instead of an error or information message for some folders
    • fixed donwloads possibly getting stuck forever on some invalid URLs (DLink NAS). Now workaround bad URLs
    • fixed possible "Force Close" when loading http items from external apps (m3u playlists in particular)
    • fixed failure to play WMA tracks from BubbleUPnP Server with transcoding enabled
    • fixed http requests redirecting to https not working
    • fixed a few crashes