Gnome Description of the issue (screenshots if relevant):
Seems like subtitles do not work in local media players, i tried clapper (the bundled one) and showtime and both of them show me an error when try to use external subtitles. No error instead with integrated subtitles but still they do not show
i noticed that on the repos there is a package for subtitles called gst-libass so tried to install that, but made no difference at all
of course they do work in the flatpak version of the apps, but what’s the point of having a flatpak when i can have an rpm (already bundled by the way)?
can someone point me in the right direction, or i’m forced to use the flatpak?
Relevant informations (hardware involved, software version, logs or output…):
don’t know if it’s relevant but this is the output from showtime
Error from element /GstPlayBin3:playbin3/GstURIDecodeBin3:uridecodebin3/GstURISourceBin:urisourcebin1/GstParseBin:parsebin2/GstTypeFindElement:typefind: GStreamer ha incontrato un errore generico di stream.
Internal data stream error.
../plugins/elements/gsttypefindelement.c(1257): gst_type_find_element_loop (): /GstPlayBin3:playbin3/GstURIDecodeBin3:uridecodebin3/GstURISourceBin:urisourcebin1/GstParseBin:parsebin2/GstTypeFindElement:typefind:
streaming stopped, reason not-linked (-1)
dnf search subtitles
Updating and loading repositories:
Repositories loaded.
Matched fields: summary
gstreamer1.0-libass.x86_64 GStreamer subtitles plugin
lib64ass9.x86_64 Shared library for SSA/ASS subtitles rendering
python-youtube-transcript-api.noarch Python API which allows you to retrieve the transcript/subtitles for a given YouTube video.
sub2srt.noarch Convert subtitles from .sub to subviewer .srt format
I have seen some indications of subtitle issues also being attributed to how they were authored and encoding type. We don’t bloat our distro with stuff people “might” use.
@AngryPenguin may also have some insight as he maintains a lot of the GTK stuff.
that package actually add support to another format of subtitles that is (it seems) much less used but the usual srt format should be supported out of the box with every gstreamer installation, or so i read on the web
technically it should just work out of the box
This is not how it works with the majority of Linux distributions. There is always a compile option or library that needs to be applied to the software or system, respectively. In the case of gstreamer something like this exists:
Our GStreamer has built-in backends that support various subtitle formats. It’s possible that not all the necessary libraries have been installed – our GStreamer is divided into several smaller components, not all of which are installed by default.
I checked on Cooker how it looks with the default clapper player and it loads subtitles, but you have to point them out to it manually.
Just like here:
thank you for your reply, clapper is the default media player of the gnome spin and, with embedded subtitles video displays but without the subtitles, with external subtitles the player just refuses to play the video and a warning triangle appear
as for showtime, it gives me the output i wrote earlier in my first message
in mpv they work as expected but i still think this should be solved especially since clapper is what bundled in the gnome iso