Tool/software: Linux
Hello,
I am trying to build a pipeline through which i'll be able to transmit video or run it directly on display..
but facing some error while running those commands.
gst pipeline listed below:
TX :
gst-launch-1.0 -e v4l2src device=/dev/video1 ! 'video/x-raw,format=(string)YUY2,width=320,height=240,framerate=(fraction)25/1' ! videoconvert ! queue ! ducatih264enc bitrate=500 intra-interval=1 ! h264parse ! rtph264pay mtu=200 ! udpsink host=127.0.0.1 port=5000 &
RX:
gst-launch-1.0 -v udpsrc port=5000 ! 'application/x-rtp,media=(string)video, clock-rate=(int)90000, payload=(int)96' ! rtph264depay ! h264parse ! ducatih264dec ! vpe ! 'video/x-raw,format=(string)NV12, width=320,height=240' ! waylandsink sync=false
capturing and direct displaying:
gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=1000 io-mode=4 ! 'video/x-raw, \ format=(string)YUY2, width=(int)1280, height=(int)720' ! vpe num-input-buffers=8 ! queue ! waylandsink
--------------------------------------------
while running these commands i am facing one common error posted below:
Setting pipeline to PAUSED ...
[ 268.632892] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error.
Additional debug info:
../../../../gstreamer-1.8.3/libs/gst/base/gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming task paused, reason not-negotiated (-4)
EOS on shutdown enabled -- waiting for EOS after Error
Waiting for EOS...
I have tried building pipeline using kmssink also, may you please provide guideline for that too..
Thanks & Regards
Hardik Sodha