RidgeRun / gst-interpipe

GStreamer plug-in for interpipeline communication
Other
143 stars 64 forks source link

Cannot run pipeline while the state is PLAYING #114

Open hoangnt2601 opened 2 years ago

hoangnt2601 commented 2 years ago

Hi, when I try to make interpipesrc to run streammux with multiple rtsp cameras the pipeline cannot run while the state is PLAYING on jetson nano. It stopped after loading the model, it doesn't seem to be receiving any frames

The command is as follows:

sink

pipeline_create p1 uridecodebin source::latency=200 uri=rtsp://192.168.100.175:8554/test ! interpipesink name=cam1 forward-events=false forward-eos=true
pipeline_play p1

src

pipeline_create p interpipesrc listen-to=cam1 ! nvstreammux0.sink_0 interpipesrc listen-to=cam1 ! nvstreammux0.sink_1 interpipesrc listen-to=cam1 ! nvstreammux0.sink_2 interpipesrc listen-to=cam1 ! nvstreammux0.sink_3 nvstreammux name=nvstreammux0 batch-size=4 batched-push-timeout=40000 width=1280 height=720 ! queue ! nvvideoconvert ! video/x-raw(memory:NVMM), format=(string)RGBA ! nvinfer batch-size=4 config-file-path=/data/configs/pgie_arm.txt ! nvtracker ll-lib-file=/opt/nvidia/deepstream/deepstream-5.0/lib/libnvds_mot_klt.so ! queue ! nvmultistreamtiler width=1280 height=720 rows=2 columns=2 ! nvdsosd ! autovideosink sync=false
pipeline_play p

On x86 it works perfectly!

This is how I build the library under jetson

gstd

cd /tmp && wget https://github.com/RidgeRun/gstd-1.x/archive/refs/tags/v0.13.0.tar.gz \
    && tar -xvzf v0.13.0.tar.gz && cd gstd-1.x-0.13.0/ \
    && apt-get install -y --no-install-recommends python3-setuptools \
    && ./autogen.sh --libdir /usr/lib/aarch64-linux-gnu/ && ./configure --libdir /usr/lib/aarch64-linux-gnu/ && make install && ldconfig

interpipe

cd /tmp && git clone https://github.com/RidgeRun/gst-interpipe.git\
    && cd gst-interpipe/ && git checkout 1.1.7 && git config --global http.sslverify false \
    && sudo ./autogen.sh --libdir /usr/lib/aarch64-linux-gnu/ && sudo ./configure --libdir /usr/lib/aarch64-linux-gnu/ \
    && make install && ldconfig 

Thank you!