gst-discoverer-1.0 cannot find MP3 bitrate
I've attached a sample MP3 file, a 1khz tone generated with Audacity and exported. gst-discoverer-1.0
(Arch, v1.20.0-3) correctly outputs the duration but reports the bitrate is zero:
Properties:
Duration: 0:00:05.041632653
Seekable: yes
Live: no
audio #0: MPEG-1 Layer 3 (MP3)
Stream ID: 668cee59ff40a44c770491ff9d692378d7d13a67f41a2427295fe9d15bb0c1a8
Language: <unknown>
Channels: 1 (unknown layout)
Sample rate: 44100
Depth: 16
Bitrate: 0
Max bitrate: 0
FFMPEG's ffprobe -i
can correctly identify the file:
Input #0, mp3, from '1khz-5sec.mp3':
Duration: 00:00:05.04, start: 0.025057, bitrate: 33 kb/s
Stream #0:0: Audio: mp3, 44100 Hz, mono, fltp, 33 kb/s
Metadata:
encoder : LAME3.100
This affects Rhythmbox at least, which shows "Unknown" for MP3 bitrates: https://gitlab.gnome.org/GNOME/rhythmbox/-/issues/1571
Thanks if the GStreamer developers can fix Discoverer!