I am trying to stream web-cam video from tk1 to imx6 using RTP. I found that below pipelines of Gstreame
1. Sender (Apalis tk1) gst-launch-1.0 -v v4l2src \ ! video/x-raw,format=YUY2,width=640,height=480 \ ! jpegenc \ ! rtpjpegpay \ ! udpsink host=127.0.0.1 port=5000
2. Receiver (Apalis imx6) gst-launch-1.0 -v udpsrc port=5000 \ ! application/x-rtp, media=video, clock-rate=90000, encoding-name=JPEG, payload=26 \ ! rtpjpegdepay \ ! jpegdec \ ! xvimagesink sync=0
Sender seems okay to convey the video streaming, but in receiver part, it shows
root@apalis-imx6:~# gst-launch-1.0 -v udpsrc port=5000 \ > ! application/x-rtp, media=video, clock-rate=90000, encoding-name=JPEG, payload=26 \ > ! rtpjpegdepay \ > ! jpegdec \ > ! xvimagesink sync=0 Setting pipeline to PAUSED ... ERROR: Pipeline doesn't want to pause. ERROR: from element /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0: Could not initialise Xv output Additional debug info: ../../../gst-plugins-base-1.12.2/sys/xvimage/xvimagesink.c(1759): gst_xv_image_sink_open (): /GstPipeline:pipeline0/GstXvImageSi: Could not open display (null) Setting pipeline to NULL ... Freeing pipeline ...
I thought I have to use “fbdevsink” instead of “xvimagesink”, because my imx6 OS is Apalis-iMX6_Console-Image. But, still no luck.
I will be so helpful if you could let me know what pipelines do I need to use in receiver (imx6 console)
Thank you in advance.