Forums - Run Yolov5 detection using qtimlesnpe plugin

2 posts / 0 new
Last post
Run Yolov5 detection using qtimlesnpe plugin
amal.antony
Join Date: 29 Nov 22
Posts: 3
Posted: Thu, 2023-01-12 21:13

Hi Team,

We are trying to run the Yolov5 Inference using Gstreamer SNPE plugin(i.e. qtimlesnpe) from commandline using gst-launch tool.
Now we are trying with a sample test video as input instead of qtiqmmfsrc. Tried the following gstreamer pipeline


gst-launch-1.0 filesrc location=test-video.mp4 ! qtimlesnpe config=/data/local/tmp/snp
ebenchmark/snpe-benchmark/00_output_allways_same_dir/mle_snpeyolov5n.config postprocessing=yolov5detection ! qtioverlay bbox-color=0x00FFFFFF ! videoconvert ! videorate ! video/x-raw,framerate=1/3 ! jpegenc ! multifilesink location=file-%02d.jpg

Getting the following error:

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Internal data stream error.
Additional debug info:
../../../../gstreamer-1.14.4/libs/gst/base/gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstFileSrc:filesrc0:
streaming stopped, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

Have anyone tried this .

Any help is apppreciated .Thanks in advance

  • Up0
  • Down0
zpang
Join Date: 8 Feb 17
Posts: 7
Posted: Sun, 2023-02-05 17:25

The log shows following:

ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Internal data stream error

It should be the video file format issue. To confirm, please try to use the gstream without snpe node. If the issue remains, please contact video decoder team to further check. 

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.