1 <!-- Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved. -->
3 @defgroup nvx_sample_nvmedia_video (Vibrante) NvMedia Video Playback Sample App
4 @brief NvMedia Video Playback Sample user guide.
8 <a name=
"Introduction">
11 @note This sample is available
for Vibrante platform only.
13 `nvx_sample_nvmedia_video` demonstrates elementary stream playback with NvMedia
14 API and basic VisionWorks-NvMedia interop facilities. The sample builds chain of
15 hardware based NvMedia H264 decoder, NvMedia frame producer
for EGL stream, EGL
16 stream itself, CUDA consumer
for EGL stream and `
nvxio::Render`.
17 The sample is available
for Vibrante platform only.
19 `nvx_sample_nvmedia_video` is installed in the following directory:
21 /usr/share/visionworks/sources/samples/nvmedia_video
23 For the steps to build sample applications, see the @ref nvx_sample_building_linux section.
26 ## Executing the NvMedia Video Sample ##
28 ./nvx_sample_nvmedia_video [options]
30 @note The V4L platform has a permissions issue. If input data are an H.264 elementary stream, hardware decoder
31 is used and sample must be executed with super user permissions, i.e., with `sudo`.
33 ### Command Line Options ###
35 This topic provides a list of supported options and the values they consume.
37 #### \-s, \--source ####
38 - Parameter: [inputUri]
39 - Description: Specifies the input file. Accepted elementary H264 stream only.
40 - Usage: \--source=/path/to/video.h264
43 - Description: Prints the help message.
45 ### Operational Keys ###
46 - Use `ESC` to close the sample.