textoverlay/imageoverlay on udp receive stream

Sebastian Dröge sebastian at centricular.com
Fri Jun 17 11:18:18 UTC 2016


On Di, 2016-06-14 at 22:58 -0700, riteshSTPL wrote:
> 
> I tried below pipeline but gives video without image overlay but with
> following debug error.
> *gst-launch-1.0 udpsrc port=5000 !
> application/x-rtp,encoding-name=H264,payload=96 ! rtph264depay !
> h264parse !
> omxh264dec ! gdkpixbufoverlay location=record.jpg offset-x=20 offset-
> y=20 !
> autovideosink sync=false async=false -e*
> /Additional debug info:
> gstvideofilter.c(339): gst_video_filter_transform_ip ():
> /GstPipeline:pipeline0/GstGdkPixbufOverlay:gdkpixbufoverlay0:
> invalid video buffer received
> WARNING: from element
> /GstPipeline:pipeline0/GstGdkPixbufOverlay:gdkpixbufoverlay0:
> Internal
> GStreamer error: code not implemented.  Please file a bug at
> http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer./

This means that the NVIDIA omxh264dec is sending a buffer downstream
that can't be mapped to system memory with gst_video_frame_map(), while
not advertising this problem in the caps.

This is a deficiency in the NVIDIA decoder implementation, but even if
they fix that to properly advertise this, you would only get a proper
error instead. Unless there is a way to map the memory that comes out
of the decoder to system memory, you will have to use other means of
overlay.

For example usage of the OpenGL based overlay elements might be an
option here, I would assume that the NVIDIA decoder outputs something
that can be used in OpenGL.

-- 

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: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160617/9c3a7eb3/attachment.sig>


More information about the gstreamer-devel mailing list