Package: gstreamer1.0-plugins-base
Version: 1.22.0-3+deb12u1
Severity: normal
X-Debbugs-Cc: leninkagam...@gmail.com

Dear Maintainer,

I found all GStreamer-based applications failed to play MP3 audio. After
some attempts, I suspect "decodebin" from gstreamer1.0-plugins-base of
causing this issue.

I tried decodebin and decodebin3, both of which failed to preroll the
pipeline. Manually specifing mpegaudioparse and mpg123audiodec makes
GStreamer work.

I can reproduce this bug on Debian live 12.1.0 (Xfce) running in
VirtualBox VM.

Given a valid MP3 audio file at "/tmp/test.mp3".

-- Failed playback with decodebin
$ gst-launch-1.0 filesrc location=/tmp/test.mp3 ! decodebin ! pulsesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element 
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMpegAudioParse:mpegaudioparse0:
 Internal data stream error.
Additional debug info:
../libs/gst/base/gstbaseparse.c(3694): gst_base_parse_loop (): 
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMpegAudioParse:mpegaudioparse0:
streaming stopped, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

-- Failed playback with decodebin3
```
$ gst-launch-1.0 filesrc location=/tmp/test.mp3 ! decodebin3 ! pulsesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element 
/GstPipeline:pipeline0/GstDecodebin3:decodebin3-0/GstParseBin:parsebin0/GstMpegAudioParse:mpegaudioparse0:
 Internal data stream error.
Additional debug info:
../libs/gst/base/gstbaseparse.c(3694): gst_base_parse_loop (): 
/GstPipeline:pipeline0/GstDecodebin3:decodebin3-0/GstParseBin:parsebin0/GstMpegAudioParse:mpegaudioparse0:
streaming stopped, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
```

-- Successful playback with mpegaudioparse and mpg123audiodec
$ gst-launch-1.0 filesrc location=/tmp/test.mp3 ! mpegaudioparse ! 
mpg123audiodec ! pulsesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
Redistribute latency...
New clock: GstPulseSinkClock
0:00:03.8 / 0:03:39.7 (1.7 %)

-- System Information:
Debian Release: 12.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-10-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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 gstreamer1.0-plugins-base depends on:
ii  libc6                           2.36-9
ii  libcdparanoia0                  3.10.2+debian-14
ii  libglib2.0-0                    2.74.6-2
ii  libgstreamer-plugins-base1.0-0  1.22.0-3+deb12u1
ii  libgstreamer1.0-0               1.22.0-2
ii  libogg0                         1.3.5-3
ii  libopus0                        1.3.1-3
ii  liborc-0.4-0                    1:0.4.33-2
ii  libtheora0                      1.1.1+dfsg.1-16.1+b1
ii  libvisual-0.4-0                 0.4.0-19
ii  libvorbis0a                     1.3.7-1
ii  libvorbisenc2                   1.3.7-1

gstreamer1.0-plugins-base recommends no packages.

Versions of packages gstreamer1.0-plugins-base suggests:
ii  gvfs  1.50.3-1

-- no debconf information

Reply via email to