mesi
August 21, 2019, 8:45am
1
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
mesi
August 21, 2019, 9:52am
3
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/
mesi
August 21, 2019, 1:20pm
5
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.