VisionWorks Toolkit Reference

September 29, 2015 | 1.0 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
stable/nvmedia_video/nvmedia_video_user_guide.md
Go to the documentation of this file.
1 <!-- Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved. -->
2 
3 @defgroup nvx_sample_nvmedia_video (Vibrante) NvMedia Video Playback Sample App
4 @brief NvMedia Video Playback Sample user guide.
5 @ingroup nvx_samples
6 @{
7 
8 <a name="Introduction">
9 ## Introduction ##
10 
11 @note This sample is available for Vibrante platform only.
12 
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.
18 
19 `nvx_sample_nvmedia_video` is installed in the following directory:
20 
21  /usr/share/visionworks/sources/samples/nvmedia_video
22 
23 For the steps to build sample applications, see the @ref nvx_sample_building_linux section.
24 
25 <a name="Executing">
26 ## Executing the NvMedia Video Sample ##
27 
28  ./nvx_sample_nvmedia_video [options]
29 
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`.
32 
33 ### Command Line Options ###
34 
35 This topic provides a list of supported options and the values they consume.
36 
37 #### \-s, \--source ####
38 - Parameter: [inputUri]
39 - Description: Specifies the input file. Accepted elementary H264 stream only.
40 - Usage: \--source=/path/to/video.h264
41 
42 #### -h, \--help ####
43 - Description: Prints the help message.
44 
45 ### Operational Keys ###
46 - Use `ESC` to close the sample.
47 
48 @}
Render interface.
Definition: Render.hpp:61