ID3 tags are not read when streaming HLS streams
Describe your issue
When listening to the Soma.fm HLS streams through Sayonara, the tags are not updated.
GST_MESSAGE_TAG
is received, but only bitrate and codec related stuff is visible there. I also tested with gst-launch-1.0
and the behavior is identical. So I guess it's not a problem of Sayonara.
It seems the tags are not evaluated or id3 tags are ignored for FLAC mp4 files.
Expected Behavior
id3 tags are continuously updated during streaming.
Observed Behavior
Received tags:
taglist=(taglist)"taglist, \
nominal-bitrate=(uint)1155201, \
audio-codec=(string)"Free Lossless Audio Codec (FLAC)", \
minimum-bitrate=(uint)1183218, maximum-bitrate=(uint)1263749, \
bitrate=(uint)1203054;";
Setup
- Operating System: Linux. Tested on Ubuntu and Manjaro
- Device: Notebook
- GStreamer Version: 1.20.3
-
Command line:
GST_DEBUG=6 gst-launch-1.0 -vv souphttpsrc location=https://hls.somafm.com/hls/groovesalad/FLAC/program.m3u8 ! hlsdemux ! decodebin ! audioconvert name=converter-1 ! autoaudiosink sync=false
Steps to reproduce the bug
- Open terminal
* GST_DEBUG=6 gst-launch-1.0 -vv souphttpsrc location=https://hls.somafm.com/hls/groovesalad/FLAC/program.m3u8 ! hlsdemux ! decodebin ! audioconvert name=converter-1 ! autoaudiosink sync=false 2>&1 | grep -i tag
- No indication that tags are evaluated
How reproducible is the bug?
100%
Screenshots if relevant
Solutions you have tried
I had a look at https://gitlab.freedesktop.org/gstreamer/gstreamer/-/blob/main/subprojects/gst-plugins-bad/ext/hls/gsthlsdemux-util.c#L267 in the gstreamer bad plugins. There's code available for reading the id3 tags.
I manually downloaded 1 minute of the stream. The tags are visible when inspecting the resulting file with a hex editor. See the following script download-soma-radio-hls.sh
Related non-duplicate issues
None found.