1 # Copyright (c) 2020-2021 NVIDIA CORPORATION. All rights reserved.
3 @page dwx_cameraserver_client_raw_sample Camera Server Client with Raw Data Capture Sample
7 @note SW Release Applicability: This sample is available in both **NVIDIA DriveWorks** and **NVIDIA DRIVE Software** releases.
9 @section dwx_cameraserver_client_raw_sample_description Description
11 The Camera Server Client with Raw Data Capture sample uses the GMSL camera interface available on
12 NVIDIA DRIVE<sup>™</sup> platforms. The sample creates a file for the RAW
13 data from the first camera on the selected camera group, and writes it to a disk.
15 @section dwx_cameraserver_client_raw_sample_running Running the Sample
17 Ensure @ref sensor_distribution_tool is running before launching this sample.
19 The Camera Server Client with Raw Data Capture sample, sample_cameraserver_client_raw, accepts the following parameters:
21 ./sample_cameraserver_client_raw --host=[ip_address]
26 --interpolationDemosaic=[0|positive_integer]
27 --serializer-type=[raw|lraw]
28 --write-file=[path/to/output/file]
33 Specifies the host IP address of the camera server.
34 Default value: 127.0.0.1
37 Specifies the port # to connect to the server, each port number mapsto one camera group.
41 Specifies the sibling index of the camera group to connect to.
45 Specifies the streaming mode. Available options: fifo/mailbox.
46 If "fifo" is selected, the server queues the frames up to fifo-size frames. If the client is still slow, drop frame happens.
47 If "mailbox" is selected, each readFrame call fetches the latest frame from the server, and the server will not queue frames.
51 Specifies the fifo size of the sensor. It has no effect when the client is connected in `mailbox` mode.
52 If it exceeds a certain threshold defined by the camera server, the size is cut off to a safer value.
55 --serializer-type=[raw|lraw]
56 Represents the format of the video with two possible options:
60 --write-file=[path/to/output/file]
61 Specifies the output file.
62 If --write-file is not provided, no file is written out on disk.