After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 350311 - [playbin2] support for subpicture subtitles
[playbin2] support for subpicture subtitles
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.x
Other All
: Normal enhancement
: 0.10.23
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 439960 537220 (view as bug list)
Depends on:
Blocks: 344415 502609
 
 
Reported: 2006-08-07 17:17 UTC by Frédéric Riss
Modified: 2009-05-21 17:48 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Frédéric Riss 2006-08-07 17:17:01 UTC
In bug 350044 Tim wrote:

`` As for VOB subtitle support in totem, that mostly needs implementing in
playbin. There needs to be an image mixer (but preferably not videomixer, since
we really don't want to convert the input video stream into AYUV just to blit
the subtitles on top and then convert back again) etc.

Also, mpegdemux/dvddemux need to send newsegment updates as events to fill in
the gaps, and the videomixer needs to handle this properly. ''

This bug report aims to track progress on this.
Comment 1 Tim-Philipp Müller 2007-05-20 15:49:03 UTC
*** Bug 439960 has been marked as a duplicate of this bug. ***
Comment 2 Mantas Kriaučiūnas 2007-11-10 13:00:35 UTC
Does anyone work for subtitle support in DVD's ?
Comment 3 lists 2007-12-09 03:37:36 UTC
As per Bastien's comment http://bugzilla.gnome.org/show_bug.cgi?id=344415#c7 I
have created a tracker bug to make it easier to keep track of the various
issues preventing proper DVD support in Totem-Gstreamer.

The bug can be found here:
Bug 502609 – [Tracker] GStreamer DVD Support in Totem

I hope nobody minds me taking the liberty to create this.
Comment 4 Tim-Philipp Müller 2009-02-02 23:42:59 UTC
*** Bug 537220 has been marked as a duplicate of this bug. ***
Comment 5 Edward Hervey 2009-03-11 08:55:45 UTC
This should be closed maybe now that we have the new resindvd plugin ?
Comment 6 Tim-Philipp Müller 2009-03-11 10:08:18 UTC
> This should be closed maybe now that we have the new resindvd plugin ?

No, we still need general

 - support for external subtitles in vob format, and

 - support subpicture subtitles embedded in files (matroska/quicktime/mpeg)

Should move the bug over to playbin2 though I guess.

 

Comment 7 Philippe Normand 2009-03-11 10:20:13 UTC
(In reply to comment #6)
> > This should be closed maybe now that we have the new resindvd plugin ?
> 
> No, we still need general
> 
>  - support for external subtitles in vob format, and
> 
>  - support subpicture subtitles embedded in files (matroska/quicktime/mpeg)
> 

Embedded subtitles are already supported no? I think they are, at least for matroska.

> Should move the bug over to playbin2 though I guess.
> 
> 
> 

Comment 8 Sebastian Dröge (slomo) 2009-03-11 11:58:28 UTC
Yes, embedded subtitles are supported but not embedded subpicture subtitles :)

I guess bug #570753 is a duplicate of this one too...
Comment 9 Sebastian Dröge (slomo) 2009-03-11 11:58:40 UTC
*** Bug 570753 has been marked as a duplicate of this bug. ***
Comment 10 Sebastian Dröge (slomo) 2009-03-11 12:00:09 UTC
As I've said in bug #570753 already we should probably create a subtitlebin that takes video and subtitle input and outputs video with subtitles. This way we could support the plaintext subtitles, subpicture subtitles and subtitle renderers (like assrender).
Comment 11 Wim Taymans 2009-04-10 08:32:54 UTC
commit 9bf8277d135e818ce502ad1dd9956929382f136c
Author: Wim Taymans <wim.taymans@collabora.co.uk>
Date:   Tue Mar 24 18:29:28 2009 +0100

    playbin2: add more support for subpictures

commit e7b382c6a9e1bec3cf7772989a9093818a112de9
Author: Wim Taymans <wim.taymans@collabora.co.uk>
Date:   Tue Mar 24 17:12:53 2009 +0100

    playbin2: first support for subpictures
    
    Add beginnings of subpicture support.

Comment 12 Sven Arvidsson 2009-04-11 22:32:59 UTC
Are external subpicture subtitles, supposed to work now or does these need to be supported in Totem first?

These are the errors I get when I try to open video with vobsub subtitles:

0:00:00.964399403 16661  0x9229490 ERROR                totem /home/sa/Temp/totem/totem-svn/src/backend/bacon-video-widget-gst-0.10.c:331:bvw_error_msg: message = Internal data stream error.
0:00:00.964446998 16661  0x9229490 ERROR                totem /home/sa/Temp/totem/totem-svn/src/backend/bacon-video-widget-gst-0.10.c:333:bvw_error_msg: domain  = 3719 (gst-stream-error-quark)
0:00:00.964456521 16661  0x9229490 ERROR                totem /home/sa/Temp/totem/totem-svn/src/backend/bacon-video-widget-gst-0.10.c:334:bvw_error_msg: code    = 1
0:00:00.964466123 16661  0x9229490 ERROR                totem /home/sa/Temp/totem/totem-svn/src/backend/bacon-video-widget-gst-0.10.c:335:bvw_error_msg: debug   = gstmpegdemux.c(2521): gst_flups_demux_loop (): /GstPlayBin2:play/GstURIDecodeBin:uridecodebin1/GstDecodeBin2:decodebin20/GstMpegPSDemux:mpegpsdemux0:
Can't push EOS downstream
0:00:00.964476879 16661  0x9229490 ERROR                totem /home/sa/Temp/totem/totem-svn/src/backend/bacon-video-widget-gst-0.10.c:336:bvw_error_msg: source  = <mpegpsdemux0>
0:00:00.964494464 16661  0x9229490 ERROR                totem /home/sa/Temp/totem/totem-svn/src/backend/bacon-video-widget-gst-0.10.c:337:bvw_error_msg: uri     = file:///home/sa/Media/Movies/Ninotchka%20(1939)/Ninotchka.avi
** Message: Error: Internal data stream error.
gstmpegdemux.c(2521): gst_flups_demux_loop (): /GstPlayBin2:play/GstURIDecodeBin:uridecodebin1/GstDecodeBin2:decodebin20/GstMpegPSDemux:mpegpsdemux0:
Can't push EOS downstream
Comment 13 Jan Schmidt 2009-05-21 17:48:57 UTC
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.