Installing newer Gstreamer versions
-
Hello! Firstly thanks for yummy Strawberry!
My question is if it is possible to package a newer version of gstreamer with Straweberry, and if so how? Would it require 'open-heart' surgery, and a bunch of technical knowledge or would replacing some files in my installation suffice?
My main motivation is that Gstreamer 1.22 (seems to support) HLS streams, which all BBC radio stations have switched to. A BBC decision which has been a major pain-point for any of us who used open source software to listen to their streams.
https://gstreamer.freedesktop.org/documentation/additional/design/adaptive-demuxer.html
-
@crowjake
Strawberry is packaging and using GStreamer 1.22 for macOS and Windows. That's the only OS-es we package GStreamer. -
@jonas
Thank you for the reply!It looks like I misdiagnosed the problem and it might be something to do with "GstURIDecodeBin3"
../gst/playback/gsturisourcebin.c(762): new_demuxer_pad_added_cb (): /GstPlayBin3:pipeline-3-pipeline/GstURIDecodeBin3:uridecodebin3/GstURISourceBin:urisourcebin2: Adaptive demuxer is not streams-aware, check your installation
Here is the stream I'm trying to access:
http://lstn.lv/bbc.m3u8?station=bbc_radio_one&bitrate=320000
This is a different link for the same station:
-
@crowjake
Both streams plays fine in Strawberry here.
They are HLS streams so you need the GStreamer HLS plugin, for macOS and Windows the required plugin should already be bundled.
If it's another Unix OS you need the gst-plugins-bad package, and check withgst-inspect-1.0 hls
that the plugin is detected.
If it still does not work try deleting the plugin cache file~/.cache/gstreamer-1.0/registry.x86_64.bin
, for macOS and Windows this is in a different location but you can search for the file. -
Thank you for looking into it. I'm using Windows 11, and it's good to hear that the streams work for you, so there is some hope!
I couldn't find that file anywhere in Windows, unfortunately.
I read in some places online that I should be able to find it inC:\Users\Jacob\AppData\Local\Microsoft\Windows\INetCache
... however when I looked there, there was no such file. (and performed file searches for it)... is its absence a sign of what the problem might be?I've also tried fulling uninstalling Strawberry and any trace of it from the system, restarting the system and reinstalling it. - no success.
I found this file:
C:\Users\Jacob\AppData\Local\Strawberry\Strawberry\gst-registry-1.0.23-bin
... which I'm guessing is related to the file which I was unable to find, I tried deleting it and I saw no change from doing that either.When I search my system for for gstreamer, I can see that GIMP2 does also have some gstreamer stuff packaged in it... I don't suppose there's any way strawberry and GIMP could be clashing?
-
@crowjake
I can reproduce the issue on Windows.
As of GStreamer 1.22 there are some new plugins that are required for HLS streams that haven't been included. I'll fix it right away and let you know when a development version is available. -
-
@jonas I did the mingw version and worked great! Thank you so much! I just joined the patreon for good measure!