DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

Camera Replay Sample
Note
SW Release Applicability: This sample is available in both NVIDIA DriveWorks and NVIDIA DRIVE Software releases.

Description

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.

Running the Sample

The Camera Replay sample, sample_camera_replay, accepts the following parameters

./sample_camera_replay --video=[path/to/video]

Where:

--video=[path/to/video]
    Path to the video file.
    Default value: path/to/data/samples/sfm/triangulation/video_0.h264

Examples

Replay .h264 file

./sample_camera_replay --video=/path/to/file.h264

Replay RAW file

./sample_camera_replay --video=/path/to/file.raw

Replay LRAW file:

For playback of LRAW recorded files the option for using PinnedMemory to save cycles during CudaMemCopy has been added to this utility.

./sample_camera_replay –video=/path/to/file.lraw

Output

sample_camera_replay.png
Single H.264 stream

The sample creates a window and displays a video.

Additional Information

For more details see Camera.