GStreamer pipeline performs ok when just launched, but performance quickly deteriorates, after 10 min it freezes completely.
HW: IMX378 connected via 2-lane CSI.
Jetson Nano B01 dev kit.
Cooling fan ()
SW: JetPack 4.3? Ubuntu LTS 18.04
IMX378 driver, I compiled myself following the instruction provided by the manufacturer. (as far as I can tell there are no problems with that)
The relevant sensor profile is 1920*1080p@120
What this pipeline has to do: display 1080p@25 (initially @50) through HDMI (accomplished with nvoverlaysink) and push 1080p@100 through RTMP to another computer (initially to the Nginx RTMP on the Jetson itself) so that the video stream can be used by streaming software (vMix). VLC works well for tests.
gst-launch-1.0 nvarguscamerasrc sensor-id=0 wbmode=9 awblock=false aelock=false \ ! "video/x-raw(memory:NVMM), width=(int)1920, height=(int)900, framerate=(fraction)100/1" ! nvvidconv flip-method=2 \ ! queue ! tee name=t ! queue ! videorate \ ! "video/x-raw, framerate=(fraction)25/1" \ ! nvvidconv ! nvoverlaysink sync=0 t. \ ! queue ! omxh264enc bitrate=10000000 ! flvmux streamable=true \ ! rtmpsink location='rtmp://192.168.88.190:1935/live/live live=1'
Commands performed before the pipeline is started:
sudo nvpmodel -m 0 sudo jetson_clocks sudo xrandr --output HDMI-0 --mode 1920x1080 --rate 50
Video from pipeline start to the freeze: https://youtu.be/0DpZVCXbXvM
What I did wrong in this pipeline? How can I fix this?
Additional question: how to fix greenish image through nvoverlaysink?