DriveWorks SDK Reference
3.0.4260 Release
For Test and Development only

/dvs/git/dirty/gitlab-master_av/dw/sdk/samples/sensors/camera/camera_replay/README.md
Go to the documentation of this file.
1 # Copyright (c) 2019-2020, NVIDIA CORPORATION. All rights reserved.
2 
3 @page dwx_camera_replay_sample Camera Replay 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_replay_sample_description Description
9 
10 The Camera Replay sample demonstrates H.264/265/MP4 playback using a hardware decoder and RAW/LRAW replay using HWISP/SModel and software ISP. It opens a window to play back the provided video file.
11 
12 @section dwx_video_replay_sample_running Running the Sample
13 
14 The Camera Replay sample, sample_camera_replay, accepts the following parameters
15 
16  ./sample_camera_replay --video=[path/to/video]
17  --fifo-size=[3..16]
18 
19 Where:
20 
21  --video=[path/to/video]
22  Path to the video file.
23  Default value: path/to/data/samples/sfm/triangulation/video_0.h264
24 
25  --fifo-size=[3..16]
26  Specifies the fifo size of the sensor.
27  Default value: 4
28 
29 @subsection dwx_video_replay_sample_examples Examples
30 
31 #### Replay .h264 file
32 
33  ./sample_camera_replay --video=/path/to/file.h264
34 
35 #### Replay RAW file
36 
37  ./sample_camera_replay --video=/path/to/file.raw
38 
39 #### Replay LRAW file:
40 
41  For playback of LRAW recorded files the option for using PinnedMemory
42  to save cycles during CudaMemCopy has been added to this utility.
43 
44  ./sample_camera_replay --video=/path/to/file.lraw
45 
46 @section dwx_video_replay_sample_output Output
47 
48 ![Single H.264 stream](sample_camera_replay.png)
49 
50 The sample creates a window and displays a video.
51 
52 @section dwx_video_replay_sample_more Additional Information
53 
54 For more details see @ref camera_mainsection.
55 
56 Press Enter to toggle between Software ISP and Xavier ISP output when replaying RAW/LRAW.