GNOME Bugzilla – Bug 600370
[subtitleoverlay] New element to overlay video with subtitles in every supported format
Last modified: 2009-11-12 12:30:18 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 :)
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.
Created attachment 146722 [details] [review] subtitleoverlay: Add to the docs
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.
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.
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.
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.
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.
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.
Ok, instead of polluting bugzilla, latest patches are here: http://cgit.freedesktop.org/~slomo/gst-plugins-base/
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.