1 # Copyright (c) 2019-2021 NVIDIA CORPORATION. All rights reserved.
3 @page dwx_camera_seek_sample Camera Seek Sample
6 @section dwx_camera_seek_sample_description Description
8 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.
10 @section dwx_camera_seek_sample_running Running the sample
12 The Camera Seek sample, sample_camera_seek, accepts the following parameters:
14 ./sample_camera_seek --video=[path/to/video]
18 --video=[path/to/video]
19 Path to the video file.
20 Default value: path/to/data/samples/sfm/triangulation/video_0.h264
22 The sample works with the following keyboard inputs:
24 T : changes the seek mode to timestamp.
25 F : changes the seek mode to frame event.
26 Left Arrow : steps backward (10 for frames, 1000000 for timestamp).
27 Right Arrow : steps forward (10 for frames, 1000000 for timestamp).
28 Space : pauses the video.
30 Seeking is available in both normal and paused states.
32 @subsection dwx_camera_seek_sample_examples Examples
34 #### Replay .h264 file
36 ./sample_camera_seek --video=/path/to/file.h264
38 @section dwx_camera_seek_sample_output Output
40 The sample creates a window and displays a video.
42 
44 @section dwx_camera_seek_sample_more Additional Information
46 For more details see @ref camera_mainsection .