Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Outline

VideoEncodeDecode

This example demonstrates how to use the Video API routines to communicate with a video device, and encode/decode the data.

You would use this example if you needed a node to talk directly to a video device, and didn’t want to use the generic-video-device driver, which supports all V4L USB video devices. It connects to a USB webcam (that must be Video4Linux (V4L) compatible), encodes the sensor data, and then decodes the same image stream to show the image processing pipeline. This DOES NOT connect to a node defined in the SDF, it connects directly to the hardware device using the Video API. It expects XXXXX pixel format

Hardware requirements

Sensors: LiDAR, RADAR Video Device

Dependencies

Packages: libglib2.0-dev libgstreamer1.0-0

To install on Ubuntu:

sudo apt-get install libglib2.0-dev libgstreamer1.0-0

Building and running the node

$ cd VideoDeviceViewer 
$ mkdir build && cd build
$ cmake ..
$ make
$ ./polysync-video-encode-decode-cpp

For more API examples, visit the "Tutorials" and "Development" sections in the PolySync Help Center here.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.