NVIDIA Tegra
NVIDIA Tegra Linux Driver Package

Development Guide
28.3 Release


 
Multimedia
 
Multimedia API
GStreamer-based Multimedia Playback
GStreamer-based Camera Capture
The Tegra Linux Driver Package includes the multimedia framework modules for testing purposes.
For GStreamer information consult:
Jetson TX1 Accelerated GStreamer User Guide
Jetson TX2 Accelerated GStreamer User Guide
Multimedia API
The Multimedia API is a collection of low-level APIs that support flexible application development. These low-level APIs enable flexibility by providing better control over the underlying hardware blocks.
The Multimedia API includes:
libargus for imaging applications
V4L2 API for encoding, decoding, scaling, and other media functions
NVOSD for On-Screen display
Buffer Utility for buffer allocation, management, and sharing, transform, composition, and blending
Example applications are provided to demonstrate:
Video decode and video encode
Video decode and DRM based render
Video convert
Jpeg decode & Jpeg encode
Image/video processing with CUDA
Camera Jpeg capture & video record
Camera capture & CUDA processing
Multicamera capture with composition
Object detection and classification with cuDNN
TensorRT and OpenCV4Tegra usage
The Multimedia API provides another application development path for those not using a framework such as GStreamer, or for developers leveraging custom frameworks.
The Multimedia API reference is available for download at:
https://developer.nvidia.com/embedded/downloads
GStreamer-based Multimedia Playback
 
Installing GStreamer
Using NvGstPlayer
Use the GStreamer open source multimedia framework and the NvGstPlayer utility for testing multimedia local playback and HTTP/RTSP streaming playback use cases. The NvGstPlayer can be used as a reference implementation.
For more information about the NvGstPlayer application, refer to the ReadMe file included with the release.
Installing GStreamer
Downloand and install GStreamer directly on the target. The wrapper library, gst-openmax, is an interface between GStreamer and OpenMAX. It enables accelerated NVIDIA plug-ins in the GStreamer framework.
For more information about GStreamer, consult:
http://gstreamer.freedesktop.org
NvGstPlayer is a multimedia player test application.
Before running the NvGstPlayer and NvGstCapture applications, complete prerequisite steps and install GStreamer as directed in the README file available at:
nvgstplayer-1.0_README.tx/nvgstcapture_README.txt
Using NvGstPlayer
NvGstPlayer is a command line media file player. It plays audio/video files encapsulated in:
MP4
3GP
AVI
ASF
WMA
MKV
M2TS
WEBM
MOV
NvGstPlayer supports local file playback and playback over RSTP, HTTP, and UDP.
For information consult the README:
nvgstplayer-1.0_README.txt
GStreamer-based Camera Capture
NvGstCapture is a command line Camera capture appliation. NvGstCapture captures video data using a camera and encapsulate encoded Video data in the container file.
For information, consult the README:
nvgstcapture-1.0_README.txt
By default, the nvgstcapture application supports the ARGUS API using the nvarguscamerasrc plugin.