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.
The Camera Replay sample, sample_camera_replay, accepts the following parameters
./sample_camera_replay --video=[path/to/video] --fifo-size=[3..16]
Where:
--video=[path/to/video] Path to the video file. Default value: path/to/data/samples/sfm/triangulation/video_0.h264 --fifo-size=[3..16] Specifies the fifo size of the sensor. Default value: 4
./sample_camera_replay --video=/path/to/file.h264
./sample_camera_replay --video=/path/to/file.raw
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
The sample creates a window and displays a video.
For more details see Camera.
Press Enter to toggle between Software ISP and Xavier ISP output when replaying RAW/LRAW.