This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-AM62A-LP: Gstreamer Pipeline with performance log

Part Number: SK-AM62A-LP

Tool/software:

Hi Team,

I have problems with implementing the tiperfoverlay in my Gstreamer pipeline.This pipeline works:

gst-launch-1.0 souphttpsrc location=http://192.168.43.20:81/stream ! \
multipartdemux ! \
jpegdec ! \
ticolorconvert ! \
video/x-raw,format=NV12 ! \
tee name=split \
split. ! queue ! tiscaler ! video/x-raw,width=640,height=640 ! \
tidlpreproc data-type=3 channel-order=0 tensor-format=bgr ! \
tidlinferer model=/opt/model_zoo/ONR-OD-8220-yolox-s-lite-mmdet-coco-640x640 ! \
queue ! post.tensor \
split. ! queue ! post.sink \
tidlpostproc name=post model=/opt/model_zoo/ONR-OD-8220-yolox-s-lite-mmdet-coco-640x640 ! \
kmssink sync=false qos=false

How can I use TI performance overlay properly (tiperfoverlay · TexasInstruments/edgeai-gst-plugins Wiki)? My terminal crash when I try:

gst-launch-1.0 souphttpsrc location=http://192.168.43.20:81/stream ! \
multipartdemux ! \
jpegdec ! \
ticolorconvert ! \
video/x-raw,format=NV12 ! \
tee name=split \
split. ! queue ! tiscaler ! video/x-raw,width=640,height=640 ! \
tidlpreproc data-type=3 channel-order=0 tensor-format=bgr ! \
tidlinferer model=/opt/model_zoo/ONR-OD-8220-yolox-s-lite-mmdet-coco-640x640 ! \
queue ! post.tensor \
split. ! queue ! post.sink \
tidlpostproc name=post model=/opt/model_zoo/ONR-OD-8220-yolox-s-lite-mmdet-coco-640x640 ! \
tiperfoverlay ! kmssink sync=false qos=false

This is my error:

Pipeline is PREROLLING ...
Got context from element 'souphttpsrc0': gst.soup.session=context, session=(GstSoupSession)NULL;
Caught SIGSEGV:99:99.
#0 0x0000ffffa235946c in poll () from /usr/lib/libc.so.6
#1 0x0000ffffa251ac20 in ?? () from /usr/lib/libglib-2.0.so.0
#2 0x0000ffffa251b734 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#3 0x000000000040509c in ?? ()
#4 0x0000ffffa22a84f4 in ?? () from /usr/lib/libc.so.6
#5 0x0000ffffa22a85cc in __libc_start_main () from /usr/lib/libc.so.6
#6 0x0000000000403c30 in ?? ()
Spinning. Please run 'gdb gst-launch-1.0 1486' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.


I am looking forward to hearing from you!

  • Hello,

    The error for your pipeline is coming from the plugin "souphttpsrc" (instance "souphttpsrc0").

    My initial recommendation would be to either replace this souphttpsrc plugin with an alternate data source (A good baseline is videotestsrc) OR debug the initial chunk of the pipeline with HTTP-src plugin in isolation. 

    BR,
    Reese