Hi
I use nvv4l3h264enc to stream the video from camera to PC. I have noticed that the video on PC frozen sometimes. I run tegrastats on jetson nano to monitor the Jetson nano resources use state and found. When the video on PC frozen, the NVENC disappeared from the tegrastats terminal. Can I say in this case, the nvv4l2h264enc stopped?
Please refer to the tegrastats output data from video stream to stopped below for your info
Further info on this issue for your reference
below is the part of message from gst_v4l2_enc_latency_18436.log
When the video on laptop frozen ( the video streaming stopped), I opened the gst_v4l2_enc_latency_18436.log file and found it stopped at frame 6160. Waiting for a while, the video streaming started again, the log file updated. I can see it has a big jump on pts number at frame 6163.
What is the meaning of pts number?
why it has a big jump after video streaming stopped and started by itself?
KPI: v4l2: frameNumber= 6158 encoder= 11 ms pts= 312779327332
KPI: v4l2: frameNumber= 6159 encoder= 11 ms pts= 312820980018
KPI: v4l2: frameNumber= 6160 encoder= 16 ms pts= 312862647331
KPI: v4l2: frameNumber= 6161 encoder= 15 ms pts= 312904322227
KPI: v4l2: frameNumber= 6162 encoder= 12 ms pts= 312945986435
KPI: v4l2: frameNumber= 6163 encoder= 11 ms pts= 410829067052
KPI: v4l2: frameNumber= 6164 encoder= 11 ms pts= 410847611420
KPI: v4l2: frameNumber= 6165 encoder= 11 ms pts= 410866870234
KPI: v4l2: frameNumber= 6166 encoder= 10 ms pts= 410903694486
The temperature looks high in your tegrastats. Please check if you add a fan towards the developer kit. See if temperature can be lower and have improvement in performance.
Hi
Below is the tegrastats output of the Jetson nano developer kit just after boots up without running any user application program. The temperature on device is similar to yours. Video streaming at after boots up (lower temperature) works fine. I did not notice that from which temperature, the nvv4l2h264enc stopped or Jetson nano system goes to throttling. If it is overheating, can I say “Jetson nano may enter throttling if the temperature is above 50C”? I may ignore the throttling on developer kit. Would you please let me know what is the Jetson nano product module working temperature without throttling?
Thanks
Hi
I did an experiment. Run my application program (image processing using OpenCV, saving the video as file to MicroSD card and streaming the video to PC via WIFI) video after boots up. Below is the tegrastats output at first point of encoder stopped work. It looks like an overheating resulted throttling. The temperature is just above 60C. Is it the highest temperature Jetson nano can work normally (without throttling)?
Hi,
Do you see the issue on specific Jetson Nano? Or happens to all developer kits? Also would like to know rate of the issue. How many times does it happen in 10-minute run?
It occurred on the developer kit I am working on it about one year now. The issue occurred randomly. When the encoder stopped, I keeps the video streaming program running. It takes number of seconds or number minutes sometimes, the encoder start working again. The encoder stopping / starting status repeats randomly as well. Streaming the video more than one hour may have no any issue, but sometimes has the issue in one minute. The issue occurred more frequently recently.
I did not test it on other Jetson nano board yet.
Hi.
We have not seen NVENC disappear in middle of encoding. Probably we don’t verify the use-case. Please share your gstreamer command so that we can try. Probably your Jetson Nano is borken and easily gets overheated. If it is still under warranty you can consider do RMA.