(gnome) subtitles in media players do not work

Hello,

Requirements:

I have Searched the forum for my issue and found nothing related or helpful
I have checked the Resources category (Resources Index)
I have reviewed the Wiki for relevant information
I have read the the Release Notes and Errata

OpenMandriva Lx version:

6.0 Rock

Desktop environment (KDE, LXQT…):

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)

any hint is welcome :slight_smile:

This is what we have to assist with subtitles:

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 :slight_smile:
technically it should just work out of the box

thank you for your time anyway :slight_smile:

Try mpv or VLC.

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:

https://gstreamer.freedesktop.org/documentation/playback/subtitleoverlay.html?gi-language=c

ok

i’m no expert but i would (looking at the error)then assume that subtitles and video are not linked correctly in gstreamer?

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:

I checked Showtime, and it does indeed have a problem, and the subtitles aren’t displaying.

In addition to MPV and VLC, subtitles work immediately, provided the subtitle filename is the same as the video being played.

This is after briefly checking Cooker. The problem may lie in LX 6.0. I’ll check it on LX 6.0 when I have a moment.

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 :slight_smile:

thank you for your time anyway :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.