Hi,
When I execute the following command as a celery task from my terminal on Jetson Xavier, it works fine. The celery worker is launched manually from the terminal. Note: this command is executed from a python code within celery.
rtspsrc location=rtsp://MY_RTSP_SERVER_IP:5554/test latency=0 ! rtph264depay ! h264parse ! avdec_h264 ! xvimagesink sync=false async=false
However, when I launch the same celery worker on system startup (using supervisors), the worker launches well, but when I start the same task that basically executes the gstreamer RTSP command, I get the following error message:
Error: gst-resource-error-quark: Could not initialise Xv output (10): xvimagesink.c(1773): gst_xv_image_sink_open (): /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
Could not open display (null)
Could you please help?
Regards,