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 600370 - [subtitleoverlay] New element to overlay video with subtitles in every supported format
[subtitleoverlay] New element to overlay video with subtitles in every suppor...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: 0.10.26
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 570753 595123
 
 
Reported: 2009-11-02 07:10 UTC by Sebastian Dröge (slomo)
Modified: 2009-11-12 12:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
subtitleoverlay: Add new element for generic subtitle overlaying (53.42 KB, patch)
2009-11-02 07:11 UTC, Sebastian Dröge (slomo)
none Details | Review
subtitleoverlay: Add to the docs (43.90 KB, patch)
2009-11-02 07:11 UTC, Sebastian Dröge (slomo)
committed Details | Review
subtitleoverlay: Add new element for generic subtitle overlaying (55.77 KB, patch)
2009-11-02 08:30 UTC, Sebastian Dröge (slomo)
none Details | Review
subtitleoverlay: Add new element for generic subtitle overlaying (57.08 KB, patch)
2009-11-02 08:56 UTC, Sebastian Dröge (slomo)
none Details | Review
subtitleoverlay: Add new element for generic subtitle overlaying (57.17 KB, patch)
2009-11-02 09:04 UTC, Sebastian Dröge (slomo)
none Details | Review
subtitleoverlay: Add new element for generic subtitle overlaying (57.87 KB, patch)
2009-11-02 14:07 UTC, Sebastian Dröge (slomo)
none Details | Review
subtitleoverlay: Add new element for generic subtitle overlaying (58.26 KB, patch)
2009-11-03 07:24 UTC, Sebastian Dröge (slomo)
none Details | Review
subtitleoverlay: Add new element for generic subtitle overlaying (58.62 KB, patch)
2009-11-03 12:07 UTC, Sebastian Dröge (slomo)
committed Details | Review

Description Sebastian Dröge (slomo) 2009-11-02 07:10:25 UTC
Hi,
attached patch adds a new element called subtitleoverlay to the playbin plugin. Its purpose is to autoplug a pipeline that parses/overlays subtitles (or subpictures) on a video stream.

It also supports caps changes during playback (switch from subtitles to subpictures for example) and enabling/disabling subtitles during playback (by unlinking the subtitle pad). If the subtitle pad is never linked the element works in passthrough mode.

Apart from the normal "parser ! overlay" pipeline that playbin2 creates this also allows subtitle renderers (like assrender), see bug #570753.

The element is added to the playbin plugin because I plan to use it in playbin2 to fix #595123, #570753, #591706, #591706 and possible others. Please review :)
Comment 1 Sebastian Dröge (slomo) 2009-11-02 07:11:27 UTC
Created attachment 146721 [details] [review]
subtitleoverlay: Add new element for generic subtitle overlaying

This autopluggs the required elements for parsing and rendering
different subtitle formats on a video stream.

Fixes bug #600370.
Comment 2 Sebastian Dröge (slomo) 2009-11-02 07:11:36 UTC
Created attachment 146722 [details] [review]
subtitleoverlay: Add to the docs
Comment 3 Sebastian Dröge (slomo) 2009-11-02 08:30:03 UTC
Created attachment 146725 [details] [review]
subtitleoverlay: Add new element for generic subtitle overlaying

This autopluggs the required elements for parsing and rendering
different subtitle formats on a video stream.

Fixes bug #600370.
Comment 4 Sebastian Dröge (slomo) 2009-11-02 08:56:32 UTC
Created attachment 146727 [details] [review]
subtitleoverlay: Add new element for generic subtitle overlaying

This autopluggs the required elements for parsing and rendering
different subtitle formats on a video stream.

Fixes bug #600370.
Comment 5 Sebastian Dröge (slomo) 2009-11-02 09:04:06 UTC
Created attachment 146728 [details] [review]
subtitleoverlay: Add new element for generic subtitle overlaying

This autopluggs the required elements for parsing and rendering
different subtitle formats on a video stream.

Fixes bug #600370.
Comment 6 Sebastian Dröge (slomo) 2009-11-02 14:07:00 UTC
Created attachment 146748 [details] [review]
subtitleoverlay: Add new element for generic subtitle overlaying

This autopluggs the required elements for parsing and rendering
different subtitle formats on a video stream.

Fixes bug #600370.
Comment 7 Sebastian Dröge (slomo) 2009-11-03 07:24:02 UTC
Created attachment 146801 [details] [review]
subtitleoverlay: Add new element for generic subtitle overlaying

This autopluggs the required elements for parsing and rendering
different subtitle formats on a video stream.

Fixes bug #600370.
Comment 8 Sebastian Dröge (slomo) 2009-11-03 12:07:40 UTC
Created attachment 146815 [details] [review]
subtitleoverlay: Add new element for generic subtitle overlaying

This autopluggs the required elements for parsing and rendering
different subtitle formats on a video stream.

Fixes bug #600370.
Comment 9 Sebastian Dröge (slomo) 2009-11-03 13:32:17 UTC
Ok, instead of polluting bugzilla, latest patches are here: http://cgit.freedesktop.org/~slomo/gst-plugins-base/
Comment 10 Sebastian Dröge (slomo) 2009-11-12 12:29:32 UTC
commit e91458f13caa92e5c3d15f67f1c0c8b0a23a5c33
Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>
Date:   Tue Nov 3 12:47:55 2009 +0100

    playbin2: Set subtitle caps as raw caps for the uridecodebins

    This will make sure that no subparse is ever plugged and subtitleoverlay,
    that subpicture streams are handled the same was as subtitles and that
    subtitle renderers are used if available.

    Fixes bugs #595123, #570753, #591662, #591706.