Bug#1003553: libshout3: Fails with gst-launch1.0
Package: libshout3
Version: 2.4.5-1
Severity: normal
Dear Maintainer,
I'm trying to stream sound to an Icecast server, from a gstreamer
pipeline that monitors a dedicate pulseaudio sink. However, this
fails with any version of libshout3 above 2.4.1-2 (I tested all
versions from 2.4.1-1 onwards, with snapshot.debian.org). Version
2.4.1-2 gives the following:
$ LANG=C gst-launch-1.0 -e pulsesrc device=icecast.monitor ! audioconvert ! flacenc ! oggmux ! shout2send ip=$ip port=8000 password=hackme mount=stream.ogg
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstPulseSrcClock
Redistribute latency...
Redistribute latency...
notification: Speex header too small
0:00:17.6 / 99:99:99.
[Then I interrupt with ^C, but it does work]
Upgrading libshout3 (and only libshout3) gives the following:
$ LANG=C gst-launch-1.0 -e pulsesrc device=icecast.monitor ! audioconvert ! flacenc ! oggmux ! shout2send ip=$ip port=8000 password=hackme mount=stream.ogg
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstPulseSrcClock
Redistribute latency...
Redistribute latency...
ERROR: from element /GstPipeline:pipeline0/GstShout2send:shout2send0: Could not connect to server
Additional debug info:
../ext/shout2/gstshout2.c(635): gst_shout2send_connect (): /GstPipeline:pipeline0/GstShout2send:shout2send0:
shout_open() failed: err=Please retry current operation.
ERROR: from element /GstPipeline:pipeline0/GstPulseSrc:pulsesrc0: Internal data stream error.
Additional debug info:
../libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:pipeline0/GstPulseSrc:pulsesrc0:
streaming stopped, reason error (-5)
Execution ended after 0:00:02.431111916
Setting pipeline to NULL ...
ERROR: from element /GstPipeline:pipeline0/GstShout2send:shout2send0: Could not configure supporting library.
Additional debug info:
../ext/shout2/gstshout2.c(620): gst_shout2send_connect (): /GstPipeline:pipeline0/GstShout2send:shout2send0:
Error configuring libshout to use non-blocking i/o: Cannot set parameter while connected
Freeing pipeline ...
$
This seems consistent with a similar report on Arch Linux, see
https://archlinuxarm.org/forum/viewtopic.php?f=15&t=13677
Roland.
-- System Information:
Debian Release: 11.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-10-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libshout3 depends on:
ii libc6 2.31-13+deb11u2
ii libogg0 1.3.4-0.1
ii libspeex1 1.2~rc1.2-1.1
ii libssl1.1 1.1.1k-1+deb11u1
ii libtheora0 1.1.1+dfsg.1-15
ii libvorbis0a 1.3.7-1
libshout3 recommends no packages.
libshout3 suggests no packages.
-- no debconf information
Reply to: