omxh264dec and textoverlay

Sebastian Dröge sebastian at centricular.com
Wed Sep 7 06:44:07 UTC 2016


On Mon, 2016-09-05 at 02:46 -0700, imeshns wrote:
> I have raspberry pi 3 and 2016-05-27-raspbian-jessie. When I create
> test with
> gst-inspect-1.0:
> 
> GST_DEBUG=3 gst-launch-1.0 rtspsrc location=rtsp://... ! rtph264depay
> !
> h264parse ! omxh264dec ! textoverlay ! glimagesink
> 
> everyting is okey and video can play, but if I only adds attribute
> text="test" to the textoverlay, the debugger shows me errors:
> [...]
> 0:00:01.646814813  1120 0x70c0f920 ERROR                default
> video-frame.c:138:gst_video_frame_map_id: failed to map video frame
> plane 0
> 
> Is there any solution to overlay text on the glimagesink with
> hardware acceleration "omxh264dec" on raspberry pi?

Which version of GStreamer is that with (also of gst-omx)? 1.8 and
newer should be able to handle this properly by delaying the overlaying
to the sink.


Independent of that, even in older versions this shouldn't fail like
that but just be extremely slow.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160907/4857482d/attachment.sig>


More information about the gstreamer-devel mailing list