Hello,
I have followed the steps as mentioned in the answer here to do video streaming from imx6 to a PC however I get the following error :
root@b2qt-nitrogen6x:~# gst-launch-1.0 -v imxv4l2videosrc device=/dev/video1 ! imxipuvideotransform ! imxvpuenc_h264 bitrate=1024 ! rtph264pay ! udpsink host=192.168.1.11 port=5000
Setting pipeline to PAUSED ...
mxc_cam_select_input: input(1) CSI MEM
ov5640_download_autofocus(mipi): Downloaded firmware successfully: 0
ov5640_set_virtual_channel: virtual channel=2
ERROR: unrecognized std! 0 (PAL=ff, NTSC=b000
ov5640_set_virtual_channel: virtual channel=2
ERROR: v4l2 capture: unsupported ioctrl!
/GstPipeline:pipeline0/GstImxV4l2VideoSrc:imxv4l2videosrc0.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)I420\,\ width\=\(int\)640\,\ height\=\(int\)480\,\ interlace-mode\=\(string\)progressive\,\ framerate\=\(fraction\)30/1\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPipeline:pipeline0/GstImxIpuVideoTransform:imxipuvideotransform0.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)I420\,\ width\=\(int\)640\,\ height\=\(int\)480\,\ interlace-mode\=\(string\)progressive\,\ framerate\=\(fraction\)30/1\,\ pixel-aspect-ratio\=\(fraction\)1/1"
Pipeline is live and does not need PREROLL ...
[INFO] ringBufferEnable 0, chromaInterleave 0, mapType 0, linear2TiledEnable 1
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstImxVpuEncoderH264:imxvpuencoderh264-0.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)I420\,\ width\=\(int\)640\,\ height\=\(int\)480\,\ interlace-mode\=\(string\)progressive\,\ framerate\=\(fraction\)30/1\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPipeline:pipeline0/GstImxIpuVideoTransform:imxipuvideotransform0.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)I420\,\ width\=\(int\)640\,\ height\=\(int\)480\,\ interlace-mode\=\(string\)progressive\,\ framerate\=\(fraction\)30/1\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPipeline:pipeline0/GstImxVpuEncoderH264:imxvpuencoderh264-0.GstPad:src: caps = "video/x-h264\,\ stream-format\=\(string\)byte-stream\,\ alignment\=\(string\)au\,\ parsed\=\(boolean\)true\,\ width\=\(int\)640\,\ height\=\(int\)480\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
/GstPipeline:pipeline0/GstRtpH264Pay:rtph264pay0.GstPad:sink: caps = "video/x-h264\,\ stream-format\=\(string\)byte-stream\,\ alignment\=\(string\)au\,\ parsed\=\(boolean\)true\,\ width\=\(int\)640\,\ height\=\(int\)480\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
/GstPipeline:pipeline0/GstRtpH264Pay:rtph264pay0.GstPad:src: caps = "application/x-rtp\,\ media\=\(string\)video\,\ payload\=\(int\)96\,\ clock-rate\=\(int\)90000\,\ encoding-name\=\(string\)H264\,\ ssrc\=\(uint\)131424426\,\ timestamp-offset\=\(uint\)681934905\,\ seqnum-offset\=\(uint\)12246"
/GstPipeline:pipeline0/GstUDPSink:udpsink0.GstPad:sink: caps = "application/x-rtp\,\ media\=\(string\)video\,\ payload\=\(int\)96\,\ clock-rate\=\(int\)90000\,\ encoding-name\=\(string\)H264\,\ ssrc\=\(uint\)131424426\,\ timestamp-offset\=\(uint\)681934905\,\ seqnum-offset\=\(uint\)12246"
/GstPipeline:pipeline0/GstRtpH264Pay:rtph264pay0.GstPad:src: caps = "application/x-rtp\,\ media\=\(string\)video\,\ clock-rate\=\(int\)90000\,\ encoding-name\=\(string\)H264\,\ packetization-mode\=\(string\)1\,\ sprop-parameter-sets\=\(string\)\"Z0JAHqaAoD2QAA\\\=\\\=\\\,aM48gAA\\\=\"\,\ payload\=\(int\)96\,\ seqnum-offset\=\(uint\)12246\,\ timestamp-offset\=\(uint\)681934905\,\ ssrc\=\(uint\)131424426"
/GstPipeline:pipeline0/GstUDPSink:udpsink0.GstPad:sink: caps = "application/x-rtp\,\ media\=\(string\)video\,\ clock-rate\=\(int\)90000\,\ encoding-name\=\(string\)H264\,\ packetization-mode\=\(string\)1\,\ sprop-parameter-sets\=\(string\)\"Z0JAHqaAoD2QAA\\\=\\\=\\\,aM48gAA\\\=\"\,\ payload\=\(int\)96\,\ seqnum-offset\=\(uint\)12246\,\ timestamp-offset\=\(uint\)681934905\,\ ssrc\=\(uint\)131424426"
/GstPipeline:pipeline0/GstRtpH264Pay:rtph264pay0: timestamp = 681943277
/GstPipeline:pipeline0/GstRtpH264Pay:rtph264pay0: seqnum = 12246
WARNING: from element /GstPipeline:pipeline0/GstUDPSink:udpsink0: Error sending UDP packets
Additional debug info:
../../../gst-plugins-good-1.6.3/gst/udp/gstmultiudpsink.c(722): gst_multiudpsink_send_messages (): /GstPipeline:pipeline0/GstUDPSink:udpsink0:
client 192.168.1.11:5000, reason: Error sending message: Network is unreachable
WARNING: from element /GstPipeline:pipeline0/GstUDPSink:udpsink0: Error sending UDP packets
Could you please let me know where I am going wrong.