why rtspclientsink can not work with vaapioverlay?

criusxu criusxu at foxmail.com
Wed Jun 16 02:35:54 UTC 2021


I am using  the last gstreamer and gstreamer-vaapi .
this pipeline is woke fine 

gst-launch-1.0  v4l2src  device=/dev/video0  !   video/x-raw, width=1920,
height=1080 ! \
   vaapih264enc ! \
rtspclientsink debug=1 latency=0 location=rtsp://127.0.0.1:554/mystream

but when i add the vaapioverlay element ,it can note work.

gst-launch-1.0  v4l2src  device=/dev/video0  !   video/x-raw, width=1920,
height=1080 ! \
 vaapioverlay !   vaapih264enc ! \
rtspclientsink debug=1 latency=0 location=rtsp://127.0.0.1:554/mystream


report this  error:
../subprojects/gstreamer/libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop
(): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming stopped, reason not-negotiated (-4)


any help is appreciate !





--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list