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 766567 - subtitle overlay over non-raw video streams
subtitle overlay over non-raw video streams
Status: RESOLVED DUPLICATE of bug 796158
Product: GStreamer
Classification: Platform
Component: dont know
1.8.1
Other Linux
: Normal enhancement
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-05-17 13:41 UTC by Andreas Frisch
Modified: 2018-05-16 08:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andreas Frisch 2016-05-17 13:41:26 UTC
refs:
https://bugzilla.gnome.org/show_bug.cgi?id=665080 
https://bugzilla.gnome.org/show_bug.cgi?id=658609
https://bugzilla.gnome.org/show_bug.cgi?id=685282

there is GstVideoOverlayComposition for a while, and i'm actually successfully using it. for that i've patched the pad templates of basetextoverlay and assrender so that they actually link into a pipeline with a sink that handles non-raw video with overlayed meta.

http://git.opendreambox.org/?p=opendreambox.git;a=blob;f=meta-opendreambox/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/assrender-overlay-caps.patch;h=dddca2b2f0be1b030f7d8f98e30e80852ce96cb1;hb=9cec3d3682a75ab3e23d8a0784e65d73105e4843

http://git.opendreambox.org/?p=opendreambox.git;a=blob;f=meta-opendreambox/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/gstbasetextoverlay-overlaycaps.patch;h=790b722a6ecc246dab0f3d0fe787b29fd0ee56c5;hb=9cec3d3682a75ab3e23d8a0784e65d73105e4843

my q&d patches however seem to cause wild criticals somewhere deep inside:
(gst-play-1.0:499): GStreamer-CRITICAL **: gst_mini_object_ref: assertion `mini_object != NULL' failed

(gst-play-1.0:499): GStreamer-CRITICAL **: gst_caps_merge: assertion `GST_IS_CAPS (caps2)' failed

(gst-play-1.0:499): GStreamer-CRITICAL **: gst_mini_object_ref: assertion `mini_object != NULL' failed

(gst-play-1.0:499): GStreamer-CRITICAL **: gst_caps_merge: assertion `GST_IS_CAPS (caps2)' failed

(gst-play-1.0:499): GStreamer-CRITICAL **: gst_mini_object_ref: assertion `mini_object != NULL' failed

(gst-play-1.0:499): GStreamer-CRITICAL **: gst_caps_merge: assertion `GST_IS_CAPS (caps2)' failed

nevertheless, the overlays are correctly renderes and can be accessed and proprietarily blitted by our sink.

something is still missing, and the subtitle elements should eventually get a proper implementation for non-raw video streams.
Comment 1 Edward Hervey 2018-05-05 13:59:26 UTC
Can you provide separate updated patches with separate bug reports per component ?
Comment 3 Tim-Philipp Müller 2018-05-16 08:06:41 UTC

*** This bug has been marked as a duplicate of bug 796158 ***