Skip to content

OpenARK GStreamer Plugin (will be compatible with NVIDIA DeepStream)

License

Notifications You must be signed in to change notification settings

ulagbulag/openark-gstreamer-plugin

Repository files navigation

OpenARK GStreamer Plugins

Requirements

Development Environment

Quick Start

In your OpenARK VINE Desktop (aka. MobileX Station),

# Initialize (Install dependencies)
make init

# Build gstreamer plugin
make build

# Configure environment variables
export GST_PLUGIN_PATH="$(pwd)/target/release"

# Configure your test model
MY_VIDEO_MODEL='image'

# Test the video upstreaming (in the background)
gst-launch-1.0 videotestsrc \
    ! jpegenc \
    ! arksink model="${MY_VIDEO_MODEL}" &

# Test the video downstreaming
gst-launch-1.0 arksrc model="${MY_VIDEO_MODEL}" \
    ! jpegdec \
    ! autovideosink

Accelerating with NVIDIA GPU

# Configure environment variables
export GST_PLUGIN_PATH="$(pwd)/target/release"

# Configure your test model
MY_VIDEO_MODEL='image'

# Test the video upstreaming (in the background)
## [nvvideoconvert]: load image into NVMM (NVIDIA GPU Memory Map)
## [nvjpegenc]: same as `jpegenc`, with NVIDIA GPU acceleration
gst-launch-1.0 videotestsrc \
    ! nvvideoconvert \
    ! nvjpegenc \
    ! arksink model="${MY_VIDEO_MODEL}" &

# Test the video downstreaming
## [nvjpegdec]: same as `jpegdec`, with NVIDIA GPU acceleration
gst-launch-1.0 arksrc model="${MY_VIDEO_MODEL}" \
    ! nvjpegdec \
    ! autovideosink

About

OpenARK GStreamer Plugin (will be compatible with NVIDIA DeepStream)

Resources

License

Stars

Watchers

Forks

Languages