Strawberry, ogg & Extreme difficulty removing packages

I installed the strawberry-qt6-1.0.22_1 package
Using the command I learned: pkg install strawberry-qt6-1.0.22_1

But it is not playing .ogg
Code:
../ext/ogg/gstoggdemux.c(5021): gst_ogg_demux_loop (): /GstPlayBin3:pipeline-2-pipeline/GstURIDecodeBin3:uridecodebin3/GstURISourceBin:urisourcebin1/GstParseBin:parsebin1/GstOggDemux:oggdemux1: streaming stopped, reason not-linked (-1)
Code:
Internal data stream error.

../plugins/elements/gsttypefindelement.c(1257): gst_type_find_element_loop (): /GstPlayBin3:pipeline-2-pipeline/GstURIDecodeBin3:uridecodebin3/GstURISourceBin:urisourcebin1/GstParseBin:parsebin1/GstTypeFindElement:typefind: streaming stopped, reason not-linked (-1)

There was a message similar to the one above for .mp3 files that was resolved when installing: pkg install gstreamer1-plugins-mpg123

I already have it installed:
vorbis-tools
gstreamer1-plugins-ogg

So I installed even more: And this installs 152 packages that did not solve the problem, creating garbage on my PC
gstreamer1-plugins-all

And I can't remove the plague package above, Because I don't know how to remove it completely, that is, the 152 installed packages

I tried the WRONG command: pkg remove -a gstreamer1-plugins-all
But this selects 913 important packages from my PC

GOAL
1) Make strawberry reproduce .ogg
Pointing out that on my PC, smplayer and ogg play .ogg
Only strawberry doesn't! Giving the above error message

2) A way to remove the gstreamer1-plugins-all package with all its 152 packages at once, so that I am not forced to write 152 times in the terminal

Code:
# gst-inspect-1.0 ogg
Plugin Details:
  Name                     ogg
  Description              ogg stream manipulation (info about ogg: http://xiph.org)
  Filename                 /usr/local/lib/gstreamer-1.0/libgstogg.so
  Version                  1.22.5
  License                  LGPL
  Source module            gst-plugins-base
  Documentation            https://gstreamer.freedesktop.org/documentation/ogg/
  Source release date      2023-07-20
  Binary package           GStreamer Base Plug-ins source release
  Origin URL               Unknown package origin

  oggaviparse: Ogg AVI parser
  oggdemux: Ogg demuxer
  oggmux: Ogg muxer
  oggparse: Ogg parser
  ogmaudioparse: OGM audio stream parser
  ogmtextparse: OGM text stream parser
  ogmvideoparse: OGM video stream parser

  7 features:
  +-- 7 elements

Code:
# gst-inspect-1.0 vorbis
Plugin Details:
  Name                     vorbis
  Description              Vorbis plugin library
  Filename                 /usr/local/lib/gstreamer-1.0/libgstvorbis.so
  Version                  1.22.5
  License                  LGPL
  Source module            gst-plugins-base
  Documentation            https://gstreamer.freedesktop.org/documentation/vorbis/
  Source release date      2023-07-20
  Binary package           GStreamer Base Plug-ins source release
  Origin URL               Unknown package origin

  vorbisdec: Vorbis audio decoder
  vorbisenc: Vorbis audio encoder
  vorbisparse: VorbisParse
  vorbistag: VorbisTag

  4 features:
  +-- 4 elements

Remembering that you play ogg using ogg and smplayer also plays ogg
But gst-play doesn't reproducez either, giving the same error as strawberry

Code:
$ gst-play-1.0 --use-playbin3 audio.ogg
Press 'k' to see a list of keyboard shortcuts.
Now playing /mnt/data/musics/audio.ogg
ERROR Internal data stream error. for file:///mnt/data/musics/audio.ogg
ERROR debug information: ../plugins/elements/gsttypefindelement.c(1257): gst_type_find_element_loop (): /GstPlayBin3:playbin/GstURIDecodeBin3:uridecodebin3/GstURISourceBin:urisourcebin0/GstParseBin:parsebin0/GstTypeFindElement:typefind:
streaming stopped, reason not-linked (-1)
Reached end of play list.

More information:
I noticed that if I remove the sndio package strawberry reproduces ogg.
The problem is that sndio is necessary for ungoogled-chromium to work, because without it the browser will not open.

What do I do?
 
Last edited by a moderator:
There was a message similar to the one above for .mp3 files that was resolved when installing: pkg install gstreamer1-plugins-mpg123
That shouldn't happen. These are the gstreamer1-plugins strawberry wants to install on a fresh FreeBSD 14 installation (latest package repository), no packages installed yet (except ports-mgmt/pkg):
Code:
    gstreamer1: 1.22.10
    gstreamer1-libav: 1.22.10
    gstreamer1-plugins: 1.22.10
    gstreamer1-plugins-bad: 1.22.10_1
    gstreamer1-plugins-faac: 1.22.10
    gstreamer1-plugins-faad: 1.22.10
    gstreamer1-plugins-flac: 1.22.10
    gstreamer1-plugins-good: 1.22.10
    gstreamer1-plugins-lame: 1.22.10
    gstreamer1-plugins-mpg123: 1.22.10
    gstreamer1-plugins-ogg: 1.22.10
    gstreamer1-plugins-opus: 1.22.10
    gstreamer1-plugins-taglib: 1.22.10
    gstreamer1-plugins-ugly: 1.22.10
    gstreamer1-plugins-vorbis: 1.22.10

Note the plugin mpg123.

Try this: pkg-delete(8) strawberry-qt6 and gstreamer1-plugins-all, run pkg-upgrade(8), reinstall strawberry-qt6.

I tried the WRONG command: pkg remove -a gstreamer1-plugins-all
The -a option deletes all installed packages. Try without.

pkg-delete(8)
Code:
     -a, --all  Deletes all installed packages except for pkg(8) from the
                system and cleans the database of information related to
                removed packages.

After deleting multimedia/gstreamer1-plugins-all, there might remain orphaned dependencies, run pkg-autoremove(8) to remove them. But double check what it wants to remove. Last time I checked it wanted to remove also none-orphaned packages.

If there are packages you want to keep but to many to remove one by one the unwanted, you can run the command in dry-run and redirect into a file. Then text process that file, remove what should not deinstalled, clean lines up so that only package names are on the list, and let pkg-delete(8) read that file ( pkg del `cat file`).

In case you have deleted a package which was needed, but don't know which, you can look up (grep(1)) all installed, deinstalled and upgraded package (ports) in log file /var/log/messages (and in the compressed messages.*.bz2 files).

I noticed that if I remove the sndio package strawberry reproduces ogg.
There are no bug reports regarding this issue. Try first a reinstall of the package. If that doesn't help open a PR.

Meanwhile, if you need strawberry badly, you could try the vlc playback engine instead of gstreamer. This requires building audio/strawberry from port.

Code:
ports/audio/strawberry $ make config

[...]
────────── Playback engine [select at least one] ──────────
│new [ ] GSTREAMER   Multimedia support via GStreamer     
│new [X] VLC         Multimedia support via (lib)vlc
[...]

Install build dependencies, and make a list what is installed, in case it's needed later to remove them.
Code:
$ make install-missing-packages > /tmp/strw-miss-pkg
Wait ten seconds, hit enter until the shells prompt reapears.

Code:
$ make install-missing-packages
$ make reinstall clean FLAVOR=qt6

See ports(7) manual for documentation.

To remove dependencies
Code:
$ pkg autoremove
Make sure there is nothing on the list what you want to keep.

Or use the strw-miss-pkg file to delete.
 
Back
Top