Hello,
Just got my hands on a RPI5 8Gb with the Hailo8, and I was wodering if is possible to do object detection using a rtmp stream as a video source?
I adapted the detection script, with the command from GStream documentation:
gst-launch-1.0 rtmpsrc location=rtmp://input.rtmp.server/live/livestream
But at max what I’m able to get is:
HailoNet Error: gst_pad_push failed with status = -4
Setting up the environment...
Setting up the environment for hailo-tappas-core...
TAPPAS_VERSION is 3.31.0. Proceeding...
You are in the venv_hailo_rpi5_examples virtual environment.
TAPPAS_POST_PROC_DIR set to /usr/lib/aarch64-linux-gnu/hailo/tappas/post_processes
DEVICE_ARCHITECTURE is set to: HAILO8
Running yolov8s
gst-launch-1.0 rtmpsrc location=rtmp://input.rtmp.server/live/livestream ! flvdemux name=demux demux.video ! decodebin ! queue max-size-buffers=20 max-size-bytes=0 max-size-time=0 ! videoscale ! queue max-size-buffers=5 max-size-bytes=0 max-size-time=0 ! videoconvert n-threads=3 ! queue max-size-buffers=5 max-size-bytes=0 max-size-time=0 ! hailonet hef-path=/home/pi/hailo-rpi5-examples/resources/yolov8s.hef batch-size=1 output-format-type=HAILO_FORMAT_TYPE_FLOAT32 nms-score-threshold=0.3 nms-iou-threshold=0.45 output-format-type=HAILO_FORMAT_TYPE_FLOAT32 ! queue max-size-buffers=5 max-size-bytes=0 max-size-time=0 ! hailofilter function-name=yolov8s so-path=/home/pi/hailo-rpi5-examples/venv_hailo_rpi5_examples/lib/python3.11/site-packages/resources/libyolo_hailortpp_postprocess.so qos=false ! queue max-size-buffers=5 max-size-bytes=0 max-size-time=0 ! hailooverlay ! queue max-size-buffers=5 max-size-bytes=0 max-size-time=0 ! videoconvert n-threads=3 ! fpsdisplaysink video-sink=ximagesink name=hailo_display sync=false text-overlay=false
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
0:00:01.115150380 11191 0x55a7ef1de0 WARN basetransform gstbasetransform.c:1371:gst_base_transform_setcaps:<videoconvert1> transform could not transform video/x-raw, width=(int)640, height=(int)640, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)16/9, framerate=(fraction)30/1, format=(string)RGB, colorimetry=(string)1:1:0:0 in anything we support
0:00:01.115295435 11191 0x55a7ef1de0 WARN basetransform gstbasetransform.c:1371:gst_base_transform_setcaps:<videoconvert1> transform could not transform video/x-raw, width=(int)640, height=(int)640, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)16/9, framerate=(fraction)30/1, format=(string)RGB, colorimetry=(string)1:1:0:0 in anything we support
0:00:01.115406806 11191 0x55a7ef1de0 WARN basetransform gstbasetransform.c:1371:gst_base_transform_setcaps:<videoconvert1> transform could not transform video/x-raw, width=(int)640, height=(int)640, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)16/9, framerate=(fraction)30/1, format=(string)RGB, colorimetry=(string)1:1:0:0 in anything we support
0:00:01.115523862 11191 0x55a7ef1de0 WARN basetransform gstbasetransform.c:1371:gst_base_transform_setcaps:<videoconvert1> transform could not transform video/x-raw, width=(int)640, height=(int)640, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)16/9, framerate=(fraction)30/1, format=(string)RGB, colorimetry=(string)1:1:0:0 in anything we support
0:00:01.115635862 11191 0x55a7ef1de0 WARN basetransform gstbasetransform.c:1371:gst_base_transform_setcaps:<videoconvert1> transform could not transform video/x-raw, width=(int)640, height=(int)640, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)16/9, framerate=(fraction)30/1, format=(string)RGB, colorimetry=(string)1:1:0:0 in anything we support
0:00:01.115747066 11191 0x55a7ef1de0 WARN basetransform gstbasetransform.c:1371:gst_base_transform_setcaps:<videoconvert1> transform could not transform video/x-raw, width=(int)640, height=(int)640, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)16/9, framerate=(fraction)30/1, format=(string)RGB, colorimetry=(string)1:1:0:0 in anything we support
HailoNet Error: gst_pad_push failed with status = -4
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Setting pipeline to NULL ...
Can someone help me a bit, I’m completely new, just learnes what a pipeline is 5 minutes ago