omxh264dec and textoverlay

imeshns imeshns at gmail.com
Mon Sep 5 09:46:54 UTC 2016


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:

Progress: (request) Sent PLAY request
0:00:00.467385197  1120 0x7200ecc0 WARN         rtpjitterbuffer
rtpjitterbuffer.c:185:rtp_jitter_buffer_set_clock_rate: Clock rate changed
from 0 to 8000
0:00:00.586528630  1120 0x7200ecc0 WARN                 basesrc
gstbasesrc.c:2933:gst_base_src_loop:<udpsrc4> error: Internal data flow
error.
0:00:00.586603838  1120 0x7200ecc0 WARN                 basesrc
gstbasesrc.c:2933:gst_base_src_loop:<udpsrc4> error: streaming task paused,
reason not-linked (-1)
0:00:01.360516367  1120 0x7200ec60 WARN         rtpjitterbuffer
rtpjitterbuffer.c:185:rtp_jitter_buffer_set_clock_rate: Clock rate changed
from 0 to 90000
0:00:01.627790242  1120 0x70c0f920 ERROR             GST_MEMORY
gstmemory.c:318:gst_memory_map: mem 0x72053c00: subclass map failed
0:00:01.628354614  1120 0x70c0f920 ERROR                default
video-frame.c:138:gst_video_frame_map_id: failed to map video frame plane 0
0:00:01.644408786  1120 0x70c0f920 ERROR             GST_MEMORY
gstmemory.c:318:gst_memory_map: mem 0x6f906b20: subclass map failed
0:00:01.644858262  1120 0x70c0f920 ERROR                default
video-frame.c:138:gst_video_frame_map_id: failed to map video frame plane 0
0:00:01.645650028  1120 0x70c0f920 ERROR             GST_MEMORY
gstmemory.c:318:gst_memory_map: mem 0x6f906a70: subclass map failed
0:00:01.646103984  1120 0x70c0f920 ERROR                default
video-frame.c:138:gst_video_frame_map_id: failed to map video frame plane 0
0:00:01.646585023  1120 0x70c0f920 ERROR             GST_MEMORY
gstmemory.c:318:gst_memory_map: mem 0x6f9069c0: subclass map failed
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?

Thanks for all help.





--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/omxh264dec-and-textoverlay-tp4679420.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list