Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Bluetooth - MPD Error - failed to open ALSA Bluetooth
#9
@trackman92

I live in the USA and I just fired up BBC 1 on a moOde 8.2.3 player pushing Bluetooth output to a JBL Flip speaker. 

The playable URL displayed in the Audio information window is

http://a.files.bbci.co.uk/media/live/man...o_one.m3u8

and I'm listening to...um...interesting programming Tongue

I was about to say I have no idea why this might be happening for you but after several infrequent and random dropouts, oops, playback just went silent and this message popped up

Code:
Failed to open "ALSA Bluetooth" (alsa); Failed to open ALSA device "_audioout": No such device

At this point, the Bluetooth control page shows no  connection. The JBL speaker still shows up in the list of paired devices but I can't reestablish connection until after I reboot the player, after which playback to the JBL was restored "automagically".

The above URL ultimately leads to a series of transport streams. I cranked up the MPD error reporting and tried again. Pretty arcane output but some features such as this snippet suggest something wrong with the stream (at least so far as ffmpeg is concerned)

Code:
D: bluealsa-pcm.c:316: /org/bluealsa/hci0/dev_00_1D_DF_AA_27_37/a2dpsrc/sink: Starting
D: bluealsa-pcm.c:196: /org/bluealsa/hci0/dev_00_1D_DF_AA_27_37/a2dpsrc/sink: Waiting for first period of frames
D: bluealsa-pcm.c:200: /org/bluealsa/hci0/dev_00_1D_DF_AA_27_37/a2dpsrc/sink: IO thread resumed: 3
D: bluealsa-pcm.c:189: /org/bluealsa/hci0/dev_00_1D_DF_AA_27_37/a2dpsrc/sink: IO thread paused: 3
Dec 20 17:09 : ffmpeg/hls: skipping 1 segments ahead, expired from playlists
D: bluealsa-pcm.c:477: /org/bluealsa/hci0/dev_00_1D_DF_AA_27_37/a2dpsrc/sink: Prepared
D: bluealsa-pcm.c:316: /org/bluealsa/hci0/dev_00_1D_DF_AA_27_37/a2dpsrc/sink: Starting
D: bluealsa-pcm.c:196: /org/bluealsa/hci0/dev_00_1D_DF_AA_27_37/a2dpsrc/sink: Waiting for first period of frames
D: bluealsa-pcm.c:200: /org/bluealsa/hci0/dev_00_1D_DF_AA_27_37/a2dpsrc/sink: IO thread resumed: 3
D: bluealsa-pcm.c:189: /org/bluealsa/hci0/dev_00_1D_DF_AA_27_37/a2dpsrc/sink: IO thread paused: 3
Dec 20 17:20 : ffmpeg/hls: keepalive request failed for 'http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_one/bbc_radio_one.isml/bbc_radio_one-audio%3d96000.norewind.m3u8' with error: 'Connection reset by peer' when parsing playlist
Dec 20 17:20 : ffmpeg/hls: skipping 18 segments ahead, expired from playlists
D: bluealsa-pcm.c:477: /org/bluealsa/hci0/dev_00_1D_DF_AA_27_37/a2dpsrc/sink: Prepared
D: bluealsa-pcm.c:316: /org/bluealsa/hci0/dev_00_1D_DF_AA_27_37/a2dpsrc/sink: Starting
D: bluealsa-pcm.c:196: /org/bluealsa/hci0/dev_00_1D_DF_AA_27_37/a2dpsrc/sink: Waiting for first period of frames
D: bluealsa-pcm.c:200: /org/bluealsa/hci0/dev_00_1D_DF_AA_27_37/a2dpsrc/sink: IO thread resumed: 3
D: bluealsa-pcm.c:189: /org/bluealsa/hci0/dev_00_1D_DF_AA_27_37/a2dpsrc/sink: IO thread paused: 3
D: bluealsa-pcm.c:477: /org/bluealsa/hci0/dev_00_1D_DF_AA_27_37/a2dpsrc/sink: Prepared
D: bluealsa-pcm.c:316: /org/bluealsa/hci0/dev_00_1D_DF_AA_27_37/a2dpsrc/sink: Starting
D: bluealsa-pcm.c:196: /org/bluealsa/hci0/dev_00_1D_DF_AA_27_37/a2dpsrc/sink: Waiting for first period of frames
D: bluealsa-pcm.c:200: /org/bluealsa/hci0/dev_00_1D_DF_AA_27_37/a2dpsrc/sink: IO thread resumed: 3
Dec 20 17:23 : ffmpeg/hls: skipping 5 segments ahead, expired from playlists
Dec 20 17:23 : ffmpeg/hls: skipping 1 segments ahead, expired from playlists
D: bluealsa-pcm.c:129: /org/bluealsa/hci0/dev_00_1D_DF_AA_27_37/a2dpsrc/sink: IO thread cleanup
Dec 20 17:32 : output: Failed to play on "ALSA Bluetooth" (alsa): snd_pcm_poll_descriptors_revents() failed: No such device
D: bluealsa-pcm.c:349: /org/bluealsa/hci0/dev_00_1D_DF_AA_27_37/a2dpsrc/sink: Stopping
D: bluealsa-pcm.c:432: /org/bluealsa/hci0/dev_00_1D_DF_AA_27_37/a2dpsrc/sink: Freeing HW
D: bluealsa-pcm.c:385: /org/bluealsa/hci0/dev_00_1D_DF_AA_27_37/a2dpsrc/sink: Closing
Dec 20 17:32 : exception: Failed to open audio output
 
I have no idea how this stream issue kills the Bluez-alsa code.

Kent
Reply


Messages In This Thread
RE: Bluetooth - MPD Error - failed to open ALSA Bluetooth - by TheOldPresbyope - 12-20-2022, 10:56 PM

Forum Jump: