Linux 20.04.06 LTS: The THETA Z1 live streaming

List hardware specs that you’re running the system on. Include information on GPU.

Do you have hardware acceleration enabled?

My test on x86 hardware with discrete NVIDIA GPU showing 250ms latency.

Are you using an NVIDIA GPU with CUDA?

Note that my pipeline looks like this:

    if (strcmp(cmd_name, "gst_loopback") == 0)
    // original pipeline
        // pipe_proc = "decodebin ! autovideoconvert ! "
        //  "video/x-raw,format=I420 ! identity drop-allocation=true !"
        //  "v4l2sink device=/dev/video2 qos=false sync=false";
        //
        //modified pipeline below
        pipe_proc = "nvdec ! gldownload ! videoconvert n-thread=0 ! "
            "video/x-raw,format=I420 ! identity drop-allocation=true !"
            "v4l2sink device=/dev/video2 qos=false sync=false";

Be aware that you may need to install some things on your system to use the pipeline above. Article covers required components.


Is your OpenCV compiled with CUDA and are you using CUDA?

This post and the ones around it discuss OpenCV bottlenecks and possibly using CUDA.

note that I did not progress very much using cv.cuda.