User Guide
DDOC0099-000-AH
DTS1 CSfC
12 - 40
Command Line Interface
© 2020 Curtiss-Wright Defense Solutions
Revision 5.0
12.3.25
rtp
Description
The rtp command provides controls for starting, stopping and reporting status of RTP video stream
recordings. Supports recording of RTP video streams with H.264 encoding and MPEGTS
formatting.
Syntax
rtp [-h | --help | --version]
rtp --start [-s <slot>][-p <part>][-m <dir>][-i <ip>][-P <port>]
[-S <sdp>] -f <file> [--ov] [-t <sec>]
rtp --stop [-i <ip>][-P <port>][-c <str>][-f <str>]
rtp --stat
Options
-h, --help
..........................Print help message.
--version
............................Print program version.
-s, --slot <num>
.............Slot number for RMC unit to record to, default 0.
-p, --pnum <partnum>
....Partition number to indicate RMC partition to record to, default 1.
-m, --mntpt <dirname>
..Alternate mount point where the recording file is to be stored.
-f, --filename <str>
....String indicating the filename to record to.
--ov
.......................................Overwrite file if file exists.
-i, --ip <str>
.................IPv4 address of network interface to listen on.
-i6, --ip6 <str>
.............IPv6 address of network interface to listen on.
-P, --port <str>
.............Interface port to listen on.
-S, --sdp <str>
...............String indicating the RTP Session Description Protocol filename.
-t, --segtime <num>
......Time in seconds to record to the filename before creating a new file.
Each file will be appended with an integer indicating the index of
the file.
--start
...............................Start RTP recording into file. Must be accompanied by --ov if file
already exists.
--stop
..................................Stop RTP recording on select interface or filename if specified or all
if not specified.
--stat
..................................Get RTP recording status. Default action when invoked with no
parameters.
Example:
Start video stream capture with IPv4 address and port
Example:
Start video stream capture with IPv6 address and port
Example:
Start video stream capture using sdp file
Example:
Stop specified video using start parameters
cw_dts>
rtp --start -i 192.168.1.1 -P 1234 -f videoFile
[rtp]
RTP: action=start status=OK
[!rtp] OK
cw_dts>
rtp --start -i6 fd01::1 -P 5004 -f videoFile
[rtp]
RTP: action=start status=OK
[!rtp] OK
cw_dts>
rtp --start -S rtpChan1.sdp -f videoFile
[rtp]
RTP: action=start status=OK
[!rtp] OK
cw_dts>
rtp --stop -i6 fd01::1 -P 5004 -f videoFile
[rtp]
RTP: action=stop status=OK
[!rtp] OK