jetson-utils
April 29, 2025 · View on GitHub
C++/CUDA/Python multimedia utilities for NVIDIA Jetson:
cpp/ | Various system & media utilities with C++ interfaces |
camera/ | GStreamer-based camera capture (V4L2, MIPI CSI) |
codec/ | GStreamer-based hardware video encoder/decoder |
display/ | OpenGL window & rendering |
image/ | Image loading & saving |
input/ | Human Interface Devices (HID) from /dev/input |
network/ | Sockets, IPv4/IPv6, WebRTC/RTSP server |
parsers/ | Filesystem, CSV/JSON/XML parsing, command-line |
threads/ | Multithreading, locks, and events |
video/ | Video streaming interfaces |
cuda/ | CUDA image processing functions |
docs/ | Collection of Linux commands and links |
python/ | Python utilities, examples, and C++ bindings |
scripts/ | Standalone shell scripts in Bash or Python |
Documentation
Documentation for jetson-utils can be found here:
Assorted links and tips-and-tricks for Linux are kept under docs/
Building from Source (C++/CUDA)
This will build and install the C++/CUDA library (libjetson-utils.so) along with the Python extension module:
git clone https://github.com/dusty-nv/jetson-utils
cd jetson-utils
mkdir build
cd build
cmake ../
make -j$(nproc)
sudo make install
sudo ldconfig
If you're missing dependencies, run the jetson-inference/CMakePreBuild.sh script.
Install with Pip (Python only)
This will install the Python-native modules from python/jetson_utils which do not depend on the C++ extension bindings and get installed on top:
pip3 install -e /path/to/your/jetson-utils
Or directly from GitHub:
pip3 install git+https://github.com/dusty-nv/jetson-utils