AMX MAX-CSD ENCODER Instruction Manual page 78

Max video encoder
Table of Contents

Advertisement

NetLinx Programming
MAX-CSE Streaming Send_Commands (Cont.)
Command
SET URL
Set the URL parameters for
the current audio/video
stream.
SET VIDEO
Set the configuration
parameters for the video
codec.
72
Description
The communication parameters must include: communication protocol,
IP Address, and port used.
Syntax:
SEND_COMMAND <DEV>,"'SET URL <protocol> <addr>
<port> [<audio port>]'"
Variables:
protocol = RTP or UDP.
address = Address of stream in IPv4 dot notation (ex: X.X.X.X).
port = Primary port for audio/video transport.
audio port = Port for audio stream (RTP only).
Example:
SEND_COMMAND ENCODER,"'SET URL UDP 239.168.42.10
5000'"
Sets the URL to a multicast session (UDP) where it will use port 5000 at an
IP Address of 239.168.42.10. Since the protocol is UDP, a second audio port is
not needed.
Example 2:
SEND_COMMAND ENCODER,"'SET URL RTP 239.168.42.10
5000 5002'"
Sets the URL to an IP Address of 239.168.42.10. Since the protocol is RTP,
two ports are needed; port 5000 is used for the video stream and port 5002 is
used for the audio stream.
The configuration parameters include: codec, resolution, and bit rate.
Note: Setting the video configuration during 'play' state has undefined results.
Syntax:
SEND_COMMAND <DEV>,"'SET VIDEO <codec> <res>
<rate> <mode>'"
Variables:
codec = Off, MPEG2, or MPEG4.
res = D1, or SIF, or <width>X<height> (up to a D1 resolution).
rate = Bit rate specified in Kbps (kilobits per second).
- range of 2000 - 6000 used for an MPEG2 stream
- range of 500 - 3000 used for an MPEG4 stream
mode = CBR (constant Bit rate) or VBR (variable Bit rate).
Example:
SEND_COMMAND ENCODER,"'SET VIDEO MPEG2 D1 6000
CBR'"
Sets the video configuration to use a very high quality video stream set at
MPEG2, with a D1 resolution at constant bit rate of 6000 Kbps.
MAX Video Encoder

Advertisement

Table of Contents
loading

This manual is also suitable for:

Max-csd10 decoderMax-cse fg2178-70

Table of Contents