GNOME Bugzilla – Bug 583267
playback: Support for VobSub subtitles (.idx files)
Last modified: 2018-11-03 11:15:04 UTC
With bug 350311 resolved, GStreamer should now support subpicture subtitles, but it doesn't seem to work in Totem. All I get when I launch video.avi with a video.sub as a subtitle is this: ** Message: Error: Internal data stream error. gstmpegdemux.c(2536): gst_flups_demux_loop (): /GstPlayBin2:play/GstURIDecodeBin:uridecodebin1/GstDecodeBin2:decodebin20/GstMpegPSDemux:mpegpsdemux0: No valid streams detected This might even be a regression, as previous versions just ignored the .sub file (if it wasn't a text subtitle) and let me play the video.
Versions of Totem and Gstreamer bits? And does it work using playbin2 on the command-line? gst-launch-0.10 playbin2 uri="...." suburi="...."
Totem 2.27.1 gstreamer0.10-plugins-bad 0.10.11.3 gstreamer0.10-plugins-ugly 0.10.11 gstreamer0.10-plugins-good 0.10.14.3 gstreamer0.10-plugins-base 0.10.23 I get the same error with the pipeline, so it seems there's still something missing on the GStreamer side.
I haven't looked at vobsub subtitles too closely, but apart from obviously needing support to demux and hook them into the subpicture renderer, I think they also need an extra text file that supplies the palette information? If so, we need a mechanism to provide both files in a logically-linked manner. Any chance of a link to a sample or two, to save me hunting them up?
The *.vob at http://samples.mplayerhq.hu/sub/ should do the trick.
Oops, I put this comment on Bug #350311 that should have gone here: I have some local commits to push after we thaw that add support for DVD subpictures in MPEG-PS streams to mpegpsdemux. With that in place, the subpictures can be rendered by playbin/playbin2, but there are a few more pieces missing: * external vobsub also requires the .idx in order to get the colour palette to use and some other info. * playbin2 needs to group the subpicture streams together and expose them as selectable subtitle streams for the players.
Sounds great! Thanks for working on this.
*** Bug 582508 has been marked as a duplicate of this bug. ***
There's a bounty on this bug: http://www.fossfactory.org/project/p188
*** Bug 591711 has been marked as a duplicate of this bug. ***
There's a test file at: https://bugzilla.gnome.org/show_bug.cgi?id=591711#c8
*** Bug 430373 has been marked as a duplicate of this bug. ***
can you let me know what's the status on this bug since 2 years passed? And I still had problem to playback .idx+.sub (vob sub) with playbin2.
It's still not supported and nobody is working on this AFAIK
Testing on Ubuntu Trusty (14.04) and it is not working. Using gstreamer 1.0 via Totem 3.10.1
I'll have a look at this once 1.4 is out.
Is this being worked on?
Not that I'm aware of
the dvdsub element supports those streams (with the palette as an event) This requires several parts: * Supporting multiple URI (and not just *one* sub uri) in uridecodebin3 * Making sure those media types are properly typefound * Figure out a way to use them in decodebin3
-- 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-base/issues/19.