Skip to content
TX1 Motion Estimation performed on RTP streaming video (YUV colour space). Compatible with DEF-STAN 00-82
Shell CMake
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
abaco
data
demos/motion_estimation
.gitignore
CMakeLists.txt
README.md
testFile01.sh
testRtp01.sh
testRtp02.sh
testRtp03.sh
testRtp04-syntheticvideo.sh
testRtp05-webcam.sh
testRtp06-file.sh
testRtp07-Camera.sh
testRtp09-Camera.sh

README.md

Abaco stripe

Abaco Systems TX1 enabled Small Form Factor solutions

Modified motion-estimation for streaming video sources

TX1 Motion Estimation performed on RTP streaming video (YUV colour space as per RFQ 4175). Compatible with DEF-STAN 00-82

Please be patient whilst we fix some of the issues with this code.

  • Use Gstreamer1.0 for RTP nvxio FrameSource
  • Output video as raw RTP backets (no Gstreamer required)
  • CUDA YUV to RGB conversion
  • CUDA RBG to YUV conversion
  • Output RTP stream with motion overlay
  • Colour code arrows based on speed (green=slow, amber=medium, red=fast)

Some additional features that are not currently planned.

  • Support for interlaced DEF STAN 00-82 streams
  • Support for other Uncompressed video formats (RGB, BGR etc ...)
  • SAP support

RTP streaming example for Military Ground Vehicles (DEF STAN 00-82)

RTP Camera example

Build

1. Cloning the repo

To obtain the repository, navigate to a folder of your choosing on the Jetson. First, make sure git and cmake are installed locally:

sudo apt-get install git cmake

Then clone the rtp-motion-estimation repo:

git clone http://github.com/ross-abaco/rtp-motion-estimation

2. Configuring

When cmake is run, a special pre-installation script (CMakePreBuild.sh) is run and will automatically install any dependencies.

mkdir build
cd build
cmake ../

3. Compiling

Make sure you are still in the motion-estimation/build directory, created above in step #2.

cd motion-estimation/build			# omit if pwd is already /build from above
make

For jetson 64bit builds the architecte will be aarch64.

4. Modifying

Some macros control how the demo can be run and there are located in config.h

  • HEADLESS 0 - Dont put anything out on the local display. Usefull for headless operation.
  • GST_MULTICAST 1 - Set this for multicast sources
  • RTP_STREAM_SOURCE - Define to use RTP Stream class as source (not gstreamer)
  • GST_SOURCE 1 - 1 if RTP source, 0 if file source.
  • GST_RTP_SINK 1 - RTP Output
  • TIMEING_DEBUG 0 - Show timings in stdio

Test

There are several test scripts provided in the root directory.

Below is the example gstreamer pipline of a moving ball that can be used to test the algorithm :

Test video source

Using gstreamer as a test source.

Test video source

Using a live RTP camera to stream video.

Links

![Abaco stripe](abaco/Abaco Footer1000x100.png)

You can’t perform that action at this time.