While streaming, I am getting this error:
CONSUMER: ERROR OCCURRED
ERROR: from element /GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc0: TIMEOUT
Additional debug info:
Argus Error Status
Execution ended after 0:01:46.354991328
Setting pipeline to NULL …
GST_ARGUS: Cleaning up
(Argus) Error Timeout: (propagating from src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 137)
(Argus) Error Timeout: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91)
(Argus) Error Timeout: (propagating from src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 137)
(Argus) Error Timeout: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91)
Freeing pipeline …
(Argus) Error InvalidState: Argus client is exiting with 2 outstanding client threads (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 366)
My initial thoughts on seeing the timeout error is that there is some communication issue with the IMX477 sensor.
However to be sure I properly understand the issue I have some follow up questions:
Does the nvarguscamerasrc debug log show some other error that might help understand what the issue is? Try running the your sending pipeline with GST_DEBUG=*argus*:DEBUG gst-launch-1.0 nvarguscamerasrc ...
Are you able to stream at all before seeing this error? Or does it occur right when you start running the pipeline and before any streaming has happened?
Thanks for the info, I find it interesting that the stream sometimes works.
I am still interested in whether you see this issue with a minimal pipeline (one that does not involve rtpsink/rtpsrc). This is mostly to rule out that it is argus directly that is causing the issue, and not something that involves other gstreamer elements.
Could you please test this pipeline and share the output?
In case you don’t see the timeout issue with this minimal pipeline, you can maybe test your original pipelines, but perhaps using host=127.0.0.1 and running both pipelines on the Jetson.
I can see this after running the minimal pipeline:
$ GST_DEBUG=*argus*:DEBUG gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=1920, height=1080, framerate=30/1' ! nvvidconv ! nvvideosink
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstNvVideoSink:nvvideosink0: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
Additional debug info:
gstbasesink.c(5367): gst_base_sink_change_state (): /GstPipeline:pipeline0/GstNvVideoSink:nvvideosink0:
Failed to start
Setting pipeline to NULL ...
Freeing pipeline ...
0:00:00.421452832 2933 0xaaaaec89ce70 DEBUG nvarguscamerasrc gstnvarguscamerasrc.cpp:2199:gst_nv_argus_camera_src_finalize:<nvarguscamerasrc0> finalize