Gstreamer motion detection

Jetson Nano
Deepstream 5.1

I installed gstreamer as:

sudo add-apt-repository universe
sudo add-apt-repository multiverse
sudo apt-get update
sudo apt-get install gstreamer1.0-tools gstreamer1.0-alsa \
  gstreamer1.0-plugins-base gstreamer1.0-plugins-good \
  gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly \
sudo apt-get install libgstreamer1.0-dev \
  libgstreamer-plugins-base1.0-dev \
  libgstreamer-plugins-good1.0-dev \

But motion detection pliugin in gstreamer is not a available. When I try:
gst-launch-1.0 v4l2src ! "video/x-raw,width=640,height=480,framerate=30/1" ! queue ! videoconvert ! "video/x-raw,format=NV12" ! queue ! motiondetect window-x1=0 window-y1=0 window-x2=639 window-y2=479 sample-width=640 sample-height=480 bg-timeout=30 bg-frames=2 frames-offset=0 frames-to-motion=1 threshold=10 sensitivity=5 enable=true ! videoconvert ! perf ! autovideosink sync=false --gst-debug=motiondetect:4

I get:
WARNING: erroneous pipeline: no element "motiondetect"

Do I have to recompile gstreamer1.0 from github?

I found

The instruction to get it working is not clear to me (I am new to gstreamer and Jetsons). It says proceed to build the package with:

./configure --libdir=/usr/lib/x86_64-linux-gnu/     # GStreamer will look for its plug-ins in this standard location
sudo make install

I don’t know where to get the sources, plugins…

Can you help me with more descriptive steps ?


It looks to be proprietary software of RidgeRun. Please contact RidgeRun to get further information.

Thank you. I didn’t know.