DriveWorks SDK Reference
3.0.4260 Release
For Test and Development only

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


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]


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

    Specifies the fifo size of the sensor.
    Default value: 4


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


Single H.264 stream

The sample creates a window and displays a video.

Additional Information

For more details see Camera.

Press Enter to toggle between Software ISP and Xavier ISP output when replaying RAW/LRAW.