VisionWorks Toolkit Reference

September 29, 2015 | 1.0 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
(Vibrante) NvMedia Video Playback Sample App

NvMedia Video Playback Sample user guide.

Introduction

Note
This sample is available for Vibrante platform only.

nvx_sample_nvmedia_video demonstrates elementary stream playback with NvMedia API and basic VisionWorks-NvMedia interop facilities. The sample builds chain of hardware based NvMedia H264 decoder, NvMedia frame producer for EGL stream, EGL stream itself, CUDA consumer for EGL stream and nvxio::Render. The sample is available for Vibrante platform only.

nvx_sample_nvmedia_video is installed in the following directory:

/usr/share/visionworks/sources/samples/nvmedia_video

For the steps to build sample applications, see the Linux: Building and Running Samples and Demos section.

Executing the NvMedia Video Sample

./nvx_sample_nvmedia_video [options]
Note
The V4L platform has a permissions issue. If input data are an H.264 elementary stream, hardware decoder is used and sample must be executed with super user permissions, i.e., with sudo.

Command Line Options

This topic provides a list of supported options and the values they consume.

-s, --source

-h, --help

Operational Keys