1 # Copyright (c) 2019-2020 NVIDIA CORPORATION. All rights reserved.
3 @page dwx_camera_seek_sample Camera Seek Sample
6 @note SW Release Applicability: This sample is available in both **NVIDIA DriveWorks** and **NVIDIA DRIVE Software** releases.
8 @section dwx_camera_seek_sample_description Description
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.
12 @section dwx_camera_seek_sample_running Running the sample
14 The Camera Seek sample, sample_camera_seek, accepts the following parameters:
16 ./sample_camera_seek --video=[path/to/video]
20 --video=[path/to/video]
21 Path to the video file.
22 Default value: path/to/data/samples/sfm/triangulation/video_0.h264
24 The sample works with the following keyboard inputs
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
32 Seeking is available in both normal and paused states.
34 @subsection dwx_camera_seek_sample_examples Examples
36 #### Replay .h264 file
38 ./sample_camera_seek --video=/path/to/file.h264
40 @section dwx_camera_seek_sample_output Output
42 The sample creates a window and displays a video.
44 
46 @section dwx_camera_seek_sample_more Additional Information
48 For more details see @ref camera_mainsection .