GNOME Bugzilla – Bug 673772
resindvd: text and audio stream selection properties not proxied to playbin
Last modified: 2018-11-03 13:11:37 UTC
In spite of selecting "Auto" or "Subtitle #1" in the subtitles menu, no (Dutch) subtitles are shown on any commercial dvd I tried playing. I'm using Debian sid with totem 3.2.2 from experimental or totem 3.4.0 built from source. vlc is showing the subtitles without any problem. Installed gstreamer packages: $ dpkg -l "*gstreamer*" | grep ii | sort ii gir1.2-gstreamer-0.10 0.10.36-1 Description: GObject introspection data for the GStreamer library ii gstreamer0.10-alsa:amd64 0.10.36-1 GStreamer plugin for ALSA ii gstreamer0.10-ffmpeg 1:0.10.13-0.2 FFmpeg plugin for GStreamer ii gstreamer0.10-gconf:amd64 0.10.31-1+b1 GStreamer plugin for getting the sink/source information from GConf ii gstreamer0.10-nice:amd64 0.1.2-1 ICE library (GStreamer plugin) ii gstreamer0.10-plugins-bad:amd64 0.10.23-1+b1 GStreamer plugins from the "bad" set ii gstreamer0.10-plugins-base:amd64 0.10.36-1 GStreamer plugins from the "base" set ii gstreamer0.10-plugins-good:amd64 0.10.31-1+b1 GStreamer plugins from the "good" set ii gstreamer0.10-plugins-ugly:amd64 0.10.19-1 GStreamer plugins from the "ugly" set ii gstreamer0.10-pulseaudio:amd64 0.10.31-1+b1 GStreamer plugin for PulseAudio ii gstreamer0.10-tools 0.10.36-1 Tools for use with GStreamer ii gstreamer0.10-x:amd64 0.10.36-1 GStreamer plugins for X11 and Pango ii libgstreamer0.10-0:amd64 0.10.36-1 Core GStreamer libraries and elements ii libgstreamer0.10-dev 0.10.36-1 GStreamer core development files ii libgstreamer-plugins-bad0.10-0:amd64 0.10.23-1+b1 GStreamer development files for libraries from the "bad" set ii libgstreamer-plugins-base0.10-0:amd64 0.10.36-1 GStreamer libraries from the "base" set ii libgstreamer-plugins-base0.10-dev 0.10.36-1 GStreamer development files for libraries from the "base" set How can I debug this further?
Hrm yes, there's something not quite right. You can't select them from totem's menu. But it works fine for me when selecting the subtitles via the DVD menu. Does this also work for you?
You are right: on one dvd where I can set the subtitles in the dvd menu, it works when enabled that way, while it does not work when enabled in the totem menu. However, I would like to watch a dvd which does not have an option to enable the subtitles in the dvd menu...
Pretty much right after opening the DVD we get a "text-tags-changed" signal, from which we check the "current-text" property: g_object_get (G_OBJECT (bvw->priv->play), "current-text", ¤t_stream_id, NULL); g_message ("current text changed: %d", current_stream_id); And it shows: ** Message: current text changed: 0 Even though it's actually "-1" (because the subtitle stream is disabled). I reckon a regression in resin.
*** Bug 679353 has been marked as a duplicate of this bug. ***
*** Bug 600237 has been marked as a duplicate of this bug. ***
If anyone has any thoughts on implementing this let me know. rsndvdsrc has the required information, but getting it to playbin would mean proxying the n-audio/n-subpicture and current-audio/current-subpicture properties through rsndvdbin, uridecodebin, and then special case handling in playbin. On the other hand, it could also be implemented as a query-streams and set-stream event that gets sent on the relevant selector pads, which might be neater.
We will have to proxy all this for the adaptive streaming demuxers too, there's another bug about that somewhere.
*** Bug 724467 has been marked as a duplicate of this bug. ***
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/67.