Jetson TX2 Gstreamer stream is not working

Hi, I am working with Jetson TX2 and ZED Mini camera. I can record videos with hardware encoding, but I can’t stream to a pipe.
Could you help me what’s wrong with this?

gst-launch-1.0 -e v4l2src device=/dev/video1 ! 'video/x-raw,width=2560,height=720,format=(string)YUY2,framerate=15/1' ! queue ! nvvidconv ! 'video/x-raw(memory:NVMM),format=I420' ! queue ! omxh264enc ! queue ! mux. alsasrc device='hw:2,0' ! voaacenc ! queue ! qtmux name=mux ! filesink location=video.fifo

Hi,
You may run rtsp or udp:
https://devtalk.nvidia.com/default/topic/1043770/jetson-tx2/problems-minimizing-latency-and-maximizing-quality-for-rtsp-and-mpeg-ts-/post/5295828/#5295828
https://devtalk.nvidia.com/default/topic/1027423/jetson-tx2/gstreamer-issue-on-tx2/post/5225972/#5225972

Hi thanks, I will try it, but our partners asked to use pipe. Have you any other idea?

Hi,
Not sure if ‘pipe’ is supported in gstreamer. You may also consider to use tegra_multmedia_api. It is low-level interface and you can integrate it with other frameworks to complete the implementation.
Document is at https://developer.nvidia.com/embedded/dlc/NVIDIA_Tegra_Linux_MultimediaAPIReference

If you install the whole system via sdkmanager, you will see samples in /usr/src/tegra_multimedia_api/

Thanks, I will see it. I have tried the udpsink, but I got error.
My code is :

gst-launch-1.0 -e v4l2src device=/dev/video1 ! 'video/x-raw,width=2560,height=720,format=(string)YUY2,framerate=15/1' ! queue ! nvvidconv ! 'video/x-raw(memory:NVMM),format=I420' ! queue ! omxh264enc ! queue ! mux. alsasrc device='hw:2,0' ! voaacenc ! queue ! qtmux name=mux ! udpsink host=hostIP port=PORT

The error is the following : GST_PAD: could not send sticky events

and after it

Internal data stream error, Streaming Stopped, reason error (-5)

Do you have any idea for that?
Thanks for replying.

Hi,
The sample pipeline is video only. You may verify video-only case first.