clockoverlay assert failed

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

clockoverlay assert failed

pengriguang
Hi  gstreamer-devel:
when I use clockoverlay element for video capture as following:

gst-launch-1.0  imxv4l2src device=/dev/video0  ! 'video/x-raw,
framerate=15/1, width=(int)640, height=(int)480, format=(string)YUY2' ! \
clockoverlay halignment=right valignment=top text="Stream time:"
shaded-background=true auto-resize=true time-format="%Y/%m/%d %H:%M:%S" ! \
imxv4l2sink overlay-width=640 overlay-height=480

it assert failed like this:

(gst-launch-1.0:959): GStreamer-CRITICAL **: gst_buffer_get_memory_range:
assertion '(len == 0 && idx == 0 && length == -1) || (length == -1 && idx <
len) || (length > 0 && length + idx <= len)' failed

if I remove  clockoverlay element from my pipeline,  it is ok, the pipeline
is:

gst-launch-1.0  imxv4l2src device=/dev/video0  ! 'video/x-raw,
framerate=15/1, width=(int)640, height=(int)480, format=(string)YUY2' ! \
imxv4l2sink overlay-width=640 overlay-height=480gst-launch-1.0  imxv4l2src
device=/dev/video0  ! 'video/x-raw, framerate=15/1, width=(int)640,
height=(int)480, format=(string)YUY2' ! \
imxv4l2sink overlay-width=640 overlay-height=480

can you give me some advice? how do I adjust the parameter of clockoverlay
element?







--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel