DriveWorks SDK Reference
3.0.4260 Release
For Test and Development only

/dvs/git/dirty/gitlab-master_av/dw/sdk/samples/sensors/camera/camera_seek/README.md
Go to the documentation of this file.
1 # Copyright (c) 2019-2020 NVIDIA CORPORATION. All rights reserved.
2 
3 @page dwx_camera_seek_sample Camera Seek Sample
4 @tableofcontents
5 
6 @note SW Release Applicability: This sample is available in both **NVIDIA DriveWorks** and **NVIDIA DRIVE Software** releases.
7 
8 @section dwx_camera_seek_sample_description Description
9 
10 The Camera Seek sample demonstrates how to replay a video and use the 'seek to timestamp/event' feature to seek to any point in the video.
11 
12 @section dwx_camera_seek_sample_running Running the sample
13 
14 The Camera Seek sample, sample_camera_seek, accepts the following parameters:
15 
16  ./sample_camera_seek --video=[path/to/video]
17 
18 where:
19 
20  --video=[path/to/video]
21  Path to the video file.
22  Default value: path/to/data/samples/sfm/triangulation/video_0.h264
23 
24 The sample works with the following keyboard inputs
25 
26  T : changes the seek mode to timestamp
27  F : changes the seek mode to frame event
28  Left Arrow : step backward (20 for frames, 100000 for timestamp)
29  Right Arrow : step forward (20 for frames, 10000 for timestamp)
30  Space : pause the video
31 
32 Seeking is available in both normal and paused states.
33 
34 @subsection dwx_camera_seek_sample_examples Examples
35 
36 #### Replay .h264 file
37 
38  ./sample_camera_seek --video=/path/to/file.h264
39 
40 @section dwx_camera_seek_sample_output Output
41 
42 The sample creates a window and displays a video.
43 
44 ![Single H.264 stream](sample_camera_seek.png)
45 
46 @section dwx_camera_seek_sample_more Additional Information
47 
48 For more details see @ref camera_mainsection .