CONFIDENTIAL
DOC-USR-0012-08
___________________________________________________________________________________________
Z3 Technology, LLC
♦
100 N 8
th
ST, STE 250
♦
Lincoln, NE 68508-1369 USA
♦
+1.402.323.0702
14
The command line interface for the encoder is set up by running:
# source /opt/mcsenc/mcsenc.sh
This will present you with an "=" prompt. You can then enter commands to encode. For example:
= encode instance=1 source=HDMI1 dst=rtp://
audio=off
will start an encode from HDMI1 streaming to 192.168.0.6 at port 5004 scaled to 1280x720. You
can find an example of using this in a script at:
$PRJROOT/dvr-rdk/runz3demo.sh
The command line interface for the decoder is set up by running:
# source /opt/mcsdec/mcsdec.sh
This will present you with an "=" prompt. You can then enter commands to decode. For example:
= decode instance=1 source=rtp://192.168.0.6:5004 audio=on aport=hdmi
will start a decode from RTP from port 192.168.0.6 at port 5004 sending audio to HDMI.
4.2.3 Application Source Code
Application source code is available under a separate license agreement. For customers that
have licensed it, the application source code can be found mainly in:
z3apps/rdk/rdk_demo
The top-level file for the menu-driven application is
demo.c
. The top-level files for the
command line interfaces are
demo_mcsenc.c
and
demo_mcsdec.c
.