I tried running face_recognition from hailo_ai_sw_suite docker version 2024-07.1 from directory /local/workspace/tappas/apps/h8/gstreamer/general/face_recognition but I continue getting the same error
Running Pipeline…
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Setting pipeline to PLAYING …
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:src_0: Internal data stream error.
Additional debug info:
gstbasesrc.c(3072): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:src_0:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:00.000146287
Setting pipeline to NULL …
Freeing pipeline …
But I was able to run this without any problem before.
I even re created the docker image after erasing it but it still gives me the same error
It seems like you’re encountering the GStreamer error streaming stopped, reason not-negotiated in your pipeline. This error typically indicates a problem with the pipeline’s capability negotiation, which can happen due to mismatches in formats or incorrect configurations. Let’s break it down and try to resolve the issue:
Identify the Root Cause: The v4l2src element, which is responsible for capturing video from a V4L2 (Video4Linux2) device, could not agree on capabilities with the downstream elements in the pipeline. This means that the format, resolution, framerate, or other properties of the video stream are not compatible between the source and the rest of the pipeline.
Review Recent Changes: Since you mentioned that the pipeline worked before, it’s important to consider any recent changes that might have introduced the issue:
Have you updated the GStreamer version in your Docker image? Different versions of GStreamer may have changes in their capabilities negotiation or default behaviors.
Have there been any modifications to the device hardware, drivers, or pipeline configuration? Changes in these areas can impact the compatibility and negotiation process.
Are there any permission or hardware access issues in the Docker environment? Ensure that the Docker container has the necessary permissions to access the video device.
Gather More Information: To better understand the problem and provide more accurate assistance, it would be helpful if you could share the following:
The full log output, including any other errors or warnings that might provide additional context.
The exact command you use to run the pipeline, so I can see how the elements are connected and configured.
Details about your setup, such as the video device, Docker configuration, and any relevant system specifications.
Those were the precise reasons why I actually made another container using the same base image which was hailo_ai_sw_suite_2024-07.1_docker.zip, and tried running the program once again but didn’t work.
Is there a possibility that the pcie driver from my local computer have an effect?