Z3 Technology Z3-DM8168-RPS User manual

User Instructions
H.264 HD Multimedia System
High Definition Video Processor Module
DM8168 Rapid Prototyping System
Model Name: Z3-DM8168-RPS (RDK)
DOC-USR-0008-08
Manual Version 2.19.01
Software Version 2.19.01
July 1, 2015
Before attempting to connect or operate this product, please read these instructions carefully and save the manual for future use.
© Copyright Z3 Technology, LLC. This document contains proprietary and confidential information of Z3 Technology, LLC ("Z3"). This document may
not be used, reproduced, disclosed, or disseminated to anyone without the prior written approval of an authorized representative of Z3.
Z3 Technology, LLC incorporates HDMI® technology. The terms of HDMI and HDMI High-Definition Multimedia Interface, and
the HDMI Logo are trademarks or registered trademarks of HDMI Licensing LLC in the United States and other countries.

CONFIDENTIAL DOC-USR-0008-06p
Revision History
Version
Date
Change Note
Author
0.1
02/02/11
Original DM8168 System
CH
0.2
02/09/11
Minor updates on page 4 and 5
AC
0.3
02/10/11
Fixed title. Major content update and re-arranging, formatting fixes and
other general improvements. Added some “to-do” tags for CH.
BM
0.4
02/17/11
Formatting fixes, revisions, added tables
CH
0.5
02/20/11
Paragraph & TOC indentation, Figure references
CH
0.6
05/17/11
Updated Encode Demo Instructions
CH
0.7
07/07/11
Updated the Encode Demo
NC
1.0
07/26/11
Updated Section 5
CH
1.1
08/09/11
Updated Section 5
AC
1.2
09/30/11
Updated Image and Section 5
CH
1.3
10/20/11
Updated for EZSDK 5.02 release
JTW
1.4
10/20/11
Updated Pictures
NS
1.5
10/24/11
Updated Section 5 & 10
CH
1.6
10/28/11
Updated Section 5
NS
1.7
10/28/11
Updated Pictures
NS
1.8
12/08/11
Updated Section 1
CH
1.9
01/19/12
Updated Sections 1 & 8. Added Section 11
CH
2.0.1
07/16/12
Address Update
NS
2.0.2
09/06/12
Correction revision number and typo in Section 5
NC
2.0.3
09/17/12
Updated Section 5, added Section 6 - Decode Demo
PS
2.0.4
09/17/12
Updated Footer
NS
2.0.5
12/27/12
Updated Section 7 Build Procedure
NB
2.0.6
01/02/13
Minor updates to all sections
PS
2.0.7
01/29/13
Format, Table of Contents
MC
2.0.8
04/18/13
Software update
PS
2.0.9
06/03/13
Corrections made on pgs. 20, 21
MC
2.0.10
11/22/13
Updated images, Added confidential information disclaimer
MC
2.0.11
11/25/13
Made formatting changes to fit new format of User’s Guides, added more
information.
RC
2.0.11a
06/01/15
Added Quick Start Guide, Included Parts List, Updated Formatting
KA
2.19.01
07/01/15
Updated to reflect new platform.
RC

CONFIDENTIAL DOC-USR-0008-08
___________________________________________________________________________________________
Z3 Technology, LLC ♦100 N 8th ST, STE 250 ♦Lincoln, NE 68508-1369 USA ♦+1.402.323.0702
3
TABLE OF CONTENTS
1.0 GENERAL DESCRIPTION..............................................................................................7
2.0 QUICK START GUIDE ............................................................................................... 10
2.1 If You Have Received a System from Z3 with the Software Preloaded................................. 10
2.2 If You Already Have a System from Z3 and Need to Update the Firmware............................ 10
2.3 If You are Ready to Start Development ..................................................................... 10
3.0 INCLUDED PARTS LIST ............................................................................................. 10
4.0 FEATURES ........................................................................................................... 11
4.1 Supported Input Resolutions ................................................................................. 11
4.2 Supported Output Resolutions ............................................................................... 11
5.0 UNTARRING AND BUILDING THE SAMPLE CODE................................................................. 12
5.1 Preparing the Linux Environment ........................................................................... 12
5.2 Making the Directories and Running the Make Script..................................................... 12
6.0 CODE OVERVIEW ................................................................................................... 14
6.1 The z3apps/rdk Directory .................................................................................... 14
6.2 Z3 Application Overview...................................................................................... 15
6.3 RDK Documentation ........................................................................................... 16
7.0 RUNNING THE ENCODER .......................................................................................... 19
7.1 Set up the HD Source ......................................................................................... 19
7.2 Connect and Power Up the Z3-DM8168-RPS................................................................ 19
7.3 Set up the Terminal Window ................................................................................. 20
7.4 Power on the Board ........................................................................................... 21
7.5 Ensure your PC has a Proper IP Address .................................................................... 22
7.6 Run the Web Interface to Configure CH1 .................................................................. 22
7.7 Run VLC to View Stream...................................................................................... 24
7.8 Streaming RTP ................................................................................................. 25
7.9 Changing the Bitrate Dynamically........................................................................... 27
7.10 Adjusting the UDP TS Rate ................................................................................... 29
7.11 Tuning for Latency............................................................................................. 31
7.12 Running DHCP .................................................................................................. 32
7.13 Using the “Aux TS File” Option.............................................................................. 36
7.14 Encoding from Component or Composite In ............................................................... 37
8.0 STREAMING RTMP .................................................................................................. 38
8.1 Connect the Encoder.......................................................................................... 38
8.2 Configure CH1 for RTMP Streaming ......................................................................... 38
8.3 Set up the Wowza Server ..................................................................................... 40

CONFIDENTIAL DOC-USR-0008-08
___________________________________________________________________________________________
Z3 Technology, LLC ♦100 N 8th ST, STE 250 ♦Lincoln, NE 68508-1369 USA ♦+1.402.323.0702
4
8.4 Start the Encode............................................................................................... 40
8.5 View the Content on Wowza ................................................................................. 40
9.0 RUNNING THE DECODER .......................................................................................... 42
9.1 Create a .ts File using the Encoder ......................................................................... 42
9.2 Connect the Output ........................................................................................... 42
9.3 Set Decoder Mode ............................................................................................. 43
9.4 Configure Decoder............................................................................................. 44
10.0 RUNNING THE CODE YOU BUILT ON THE BOARD ............................................................... 45
10.1 Method 1: Updating the Image File ........................................................................ 45
10.2 Method 2: Running Your Code through TFTP/NFS ........................................................ 47
10.3 Other Available u-boot Commands .......................................................................... 49
11.0 EXERCISING OTHER FEATURES ................................................................................... 50
11.1 Saving Settings ................................................................................................. 50
11.2 Using the Password Feature.................................................................................. 50
11.3 Running the Command Line Interfaces ..................................................................... 51
12.0 SUMMARY OF OPTIONS ............................................................................................ 52
12.1 The System Setup Tab......................................................................................... 52
12.2 The User Presets Tab .......................................................................................... 53
12.3 The Status Tab ................................................................................................. 54
12.4 The MPTS Tab .................................................................................................. 55
12.5 The CH1/CH2 Tab (Encode) .................................................................................. 55
12.6 The CH1/CH2 Tab (Decode) .................................................................................. 61
12.7 Values Appearing at the Bottom of All Tabs................................................................ 62
APPENDIX A: Example of a Successful Boot Log ...................................................................... 63
APPENDIX B: Configuring the Wowza Server for RTMP .............................................................. 73
APPENDIX C: Troubleshooting ........................................................................................... 75

CONFIDENTIAL DOC-USR-0008-08
___________________________________________________________________________________________
Z3 Technology, LLC ♦100 N 8th ST, STE 250 ♦Lincoln, NE 68508-1369 USA ♦+1.402.323.0702
5
LIST OF FIGURES
Figure 2 Z3-DM8168-MOD-2x ..............................................................................................7
Figure 1 Z3-DM8168-APP-0x ...............................................................................................8
Figure 3 Z3-DM8168-RPS Block Diagram .................................................................................9
Figure 4 Sample Content of Images Directory after Successful Build ............................................. 13
Figure 5 Encode Connections for Z3-DM8168-RPS.................................................................... 19
Figure 6 Encode Connections for Z3-DM8168-RPS (Audio/Video Detail) .......................................... 19
Figure 7 Z3-DM8168-RPS Serial Menu .................................................................................. 21
Figure 8 Z3-DM8168-RPS Web GUI (System Setup Page) ............................................................ 22
Figure 9 Channel 1 Configuration Screen –UDP...................................................................... 23
Figure 10 VLC Open Network Screen for UDP ........................................................................ 24
Figure 11 Example of Z3 Video Streaming to VLC (UDP)............................................................ 24
Figure 12 Channel 1 Configuration Screen –RTP..................................................................... 25
Figure 13 VLC Open Network Stream Screen for RTP ............................................................... 26
Figure 14 Example of Z3 Video Streaming to VLC (RTP) ............................................................ 26
Figure 15 Viewing Bitrate in VLC ....................................................................................... 27
Figure 16 Changing the Bitrate Dynamically.......................................................................... 27
Figure 17 Drop in Bitrate after Dynamic Bitrate Change ........................................................... 28
Figure 18 Status Page Output Showing Lower Bitrate ............................................................... 28
Figure 19 Changing TS Rate ............................................................................................. 29
Figure 20 TS Rate and Lower Bitrate Reflected in VLC ............................................................. 30
Figure 21 Tuning for Various Use Cases................................................................................ 31
Figure 22 The User Presets Tab ......................................................................................... 32
Figure 23 Entering a User Preset Name ............................................................................... 32
Figure 24 Selecting “z3_config1” within the System Setup Tab ................................................... 33
Figure 25 Setting DHCP within z3_config1 ............................................................................ 33
Figure 26 Saving a User Preset.......................................................................................... 33
Figure 27 Reboot Reminder for Changing IP Settings................................................................ 34
Figure 28 Address Change after DHCP Set ............................................................................ 34
Figure 29 ZFinder with Z3-DM8168-RPS DHCP Address .............................................................. 35
Figure 30 Selecting Z3-DM8168-RPS w/ DHCP Address in ZFinder ................................................. 35
Figure 31 Web GUI Using DHCP Address ............................................................................... 35
Figure 32 Using the Aux TS File Enable Option ....................................................................... 36
Figure 33 Allowed Input Combinations on the Z3-DM8168-RPS .................................................... 37
Figure 34 Mapping of A/V Cable to Component Jacks............................................................... 37
Figure 35 RTMP Encode –Channel 1 Settings ......................................................................... 39

CONFIDENTIAL DOC-USR-0008-08
___________________________________________________________________________________________
Z3 Technology, LLC ♦100 N 8th ST, STE 250 ♦Lincoln, NE 68508-1369 USA ♦+1.402.323.0702
6
Figure 36 Getting to the Wowza Test Player.......................................................................... 40
Figure 37 Viewing Z3-DM8168-RPS Content on Wowza .............................................................. 41
Figure 38 Connecting the Z3-DM8168-RPS for Decode .............................................................. 42
Figure 39 Changing to Decoder Mode.................................................................................. 43
Figure 40 System Setup in Decoder Mode............................................................................. 43
Figure 41 Decoder Configuration Settings for Decode Example ................................................... 44
Figure 42 Updating the Device Firmware from the Web Interface ................................................ 45
Figure 43 Updater Screen ............................................................................................... 46
Figure 44 File Selection Screen......................................................................................... 46
Figure 45 Example of Successful u-boot Configuration ............................................................. 48
Figure 46 Selecting “Set Password”.................................................................................... 50
Figure 47 Changing the Password ...................................................................................... 50
Figure 48 Password Entry Screen....................................................................................... 51
Figure 49 Wowza Performance Settings ............................................................................... 73
Figure 50 Wowza Security Settings..................................................................................... 74

CONFIDENTIAL DOC-USR-0008-08
___________________________________________________________________________________________
Z3 Technology, LLC ♦100 N 8th ST, STE 250 ♦Lincoln, NE 68508-1369 USA ♦+1.402.323.0702
7
1.0 GENERAL DESCRIPTION
The Z3-DM8168-RPS is a set of hardware boards, software tools, and applications designed to enable the
rapid development of media-centric applications. It contains one Z3-DM8168-MOD-2x System on Module
card, one Z3-DM8168-APP-0x application board, as well as bundled software with all of the necessary
components for the user to quickly develop their own advanced multimedia, graphics, and DSP
applications.
The Z3-DM816x-MOD-2x is a compact OEM module which supports H.264 High Profile encode/decode at up
to two channels of 1080p at 60 fps (frames per second). The Z3-DM8168-MOD-2x features a unique
expansion interface comprised of five high density connectors providing access to most of the interface
signals available from the DM8168 processor. Figure 1 below shows the Z3-DM8168-MOD-2x System on
Module:
Figure 1 Z3-DM8168-MOD-2x
HDMI
Out
GigE
12V
Power
A/V
Out
Serial
Power
switch and
LED
88 mm
108 mm
SATA2
USB (x2)
Component
Out

CONFIDENTIAL DOC-USR-0008-08
___________________________________________________________________________________________
Z3 Technology, LLC ♦100 N 8th ST, STE 250 ♦Lincoln, NE 68508-1369 USA ♦+1.402.323.0702
8
The Z3-DM8168-APP-0x application board includes two HDMI 1080p60 inputs, two component inputs, and
two composite inputs. Figure 1 below shows the Z3-DM8168-APP-2x and its inputs/outputs.
Figure 2 Z3-DM8168-APP-0x
The Z3-DM8168-RPS software is based on the Linux OS. The kit comes with all of the low-level resources
such as the Linux kernel, u-boot, tool chain and starter file system pre-integrated and configured. There is
no need to port or integrate OS functions, media functions etc. The software bundle also contains tools to
allow the development of high-level applications using hardware-accelerated video processing, DSP, and
graphics. Those customers that license the optional source code package can also receive source code for
Z3’s demonstration applications, providing an ideal starting point for custom applications.
Additional design services and support are available from Z³ Technology. Please contact Z3 at
www.Z3technology.com or e-mail at sales@Z3technology.com.
*Note: Z3 does not warrant modules that are operated outside the specified scope of operation per Texas
Instruments datasheets or errata for the DM816x processors. This includes but is not limited to the SATA2
interface. Per specifications from Texas Instruments, only SATA2 drives are supported.
HDMI1/2
In
88 mm
SD
Card
LEDs
JTAG
Analog
Audio
1/2
In
Component2 In
Component1 In
or
Composite1/2 In
186 mm

CONFIDENTIAL DOC-USR-0008-08
___________________________________________________________________________________________
Z3 Technology, LLC ♦100 N 8th ST, STE 250 ♦Lincoln, NE 68508-1369 USA ♦+1.402.323.0702
9
A block diagram of the Z3-DM8168-RPS follows:
Figure 3 Z3-DM8168-RPS Block Diagram

CONFIDENTIAL DOC-USR-0008-08
___________________________________________________________________________________________
Z3 Technology, LLC ♦100 N 8th ST, STE 250 ♦Lincoln, NE 68508-1369 USA ♦+1.402.323.0702
10
2.0 QUICK START GUIDE
2.1 If You Have Received a System from Z3 with the Software Preloaded
To start working with the encoder, you can skip to Section 7.0, “RUNNING THE ENCODER,”
on page 19. This section describes how to quickly generate a UDP or RTP stream to VLC, how to change
bitrate dynamically, how to adjust the UDP TS rate, how to tune for latency, and how to use DHCP.
Section 8.0, “ STREAMING RTMP” on page 38 describes streaming to Wowza using RTMP. Section 9.0,
“RUNNING THE DECODER” on page 42 describes how to use the decoder. If you have any questions about
any GUI parameters you can refer to Section 12.0, “SUMMARY OF OPTIONS,” on page 52.
2.2 If You Already Have a System from Z3 and Need to Update the Firmware
You can update the firmware via the web GUI interface by following the instructions in Section 10.1
“Method 1: Updating the Image File ”on page 45.
2.3 If You are Ready to Start Development
Details on how to untar and build the code can be found in Section 5.0, “UNTARRING AND BUILDING THE
SAMPLE CODE”, on page 12. A brief overview of the code itself can be found in Section 6.0, “CODE
OVERVIEW”, on page 14. Details on how to set up your system to access the code you have built can be
found in Section 10.2, “Method 2: Running Your Code through TFTP/NFS”, on page 47.
3.0 INCLUDED PARTS LIST
1x Z3-DM8168-MOD-2x + 1x Z3-DM8168-APP-2x
1x 12V 2A Power Supply
1x Serial Cable + 1x Gender Changer
1x HDMI Cable
1x Video Cable
1x Z3-DM8168-DEB-01 (JTAG Connector) + 1 Cable Strip
1x Z3-DM8168-RPS Documentation

CONFIDENTIAL DOC-USR-0008-08
___________________________________________________________________________________________
Z3 Technology, LLC ♦100 N 8th ST, STE 250 ♦Lincoln, NE 68508-1369 USA ♦+1.402.323.0702
11
4.0 FEATURES
HD resolutions up to 1920x1080 including 1080i, 1080p60 and 720p.
Video Inputs: 2x HDMI, 2x Component, 2x Composite
On-board video scaler provides full screen resizing with all resolutions
Outputs RTP, RTMP, TS, TSRTP. Limited RTSP/RTCP support
DHCP and DNS support
Closed caption support
2x USB 2.0, 2x SATA2, and 1 SD Card Interface for local storage
Web-based configuration software for user-friendly configuration and control
RS-232 serial port for technical configuration and control
Operating Temp: 0 to 40 degrees C at 20-80% relative humidity (non-condensing)
Storage Temp: -40 to 70 degrees C at 20-80% relative humidity (non-condensing)
Measurements: 186 x 88 mm (7.32 x 3.46 in)
4.1 Supported Input Resolutions
HDMI: 1080p60, 1080p50, 1080i30, 1080i29.97, 1080i25, 720p60, 720p59.94, 720p50, 576p50,
576i25, 480p60, 480i30, and 480i29.97
Component: 1080p60, 1080p50, 1080i30, 1080i29.97, 1080i25, 720p60, 720p59.94, 720p50, 576p50,
576i25, 480p60, 480i30, and 480i29.97
Composite: 576i25, 480i29.97
4.2 Supported Output Resolutions
HDMI: 1080p60, 1080p59.94, 1080p50, 1080i30, 1080i29.97, 1080i25, 720p60, 720p59.94,
720p50, 576p50, 480p60
Component: 1080p60, 1080p50, 1080i30, 1080i29.97, 1080i25, 720p60, 720p59.94, 720p50, 576p50,
576i25, 480p60, 480i30, and 480i29.97
Composite: 576i25, 480i29.97

CONFIDENTIAL DOC-USR-0008-08
___________________________________________________________________________________________
Z3 Technology, LLC ♦100 N 8th ST, STE 250 ♦Lincoln, NE 68508-1369 USA ♦+1.402.323.0702
12
5.0 UNTARRING AND BUILDING THE SAMPLE CODE
5.1 Preparing the Linux Environment
Prior to building the Z3 code, certain modules are required. In Ubuntu 10.x or later, the following
command can be used to get the required modules:
sudo apt-get install bison flex mtd-utils liblzo2-dev uuid-dev zlib1g-dev
libpcre3-dev autoconf autoconf-archive automake automake1.9 libtool libtool-
doc
In Fedora, the command would be:
sudo yum install bison flex mtd-utils mtd-utils-ubi lzo-devel libuuid-devel
pcre-devel automake automake17 automake14 autoconf libtool
If you are running a 64-bit OS, it may be necessary to install some 32-bit libraries for the cross-
compiling toolchain. You can determine whether your OS is 64-bit by using the “uname –p” command.
A 64-bit OS will return “x86_64,” while a 32-bit OS will return “i386”, “i586”, or “i686”.
For 64-bit Ubuntu, you can get the necessary libraries by typing:
# sudo dpkg –-add-architecture i386
# sudo apt-get update
# sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 zlib1g:i386
For 64-bit Fedora, you can type:
# sudo yum install glibc.i686
5.2 Making the Directories and Running the Make Script
The software provided will allow you to re-create the pre-installed software of the Z3-DM8168-RPS
starting from the included source code.
On a PC running Linux, create a directory where the released materials are going to be located:
# mkdir /home/z3/z3-netra-rdk
Copy the released tar archive to that directory (note: the name may slightly vary).
# cp SW-6R1-00460-01_DM8168-MC-RPS-20150630.tar.bz2 /home/z3/z3-netra-rdk
Untar the archive (name of tar file may slightly vary):
# tar -xvjf SW-6R1-00460-01_DM8168-MC-RPS-20150630.tar.bz2
*Note: Untarring takes 5 to 10 minutes.

CONFIDENTIAL DOC-USR-0008-08
___________________________________________________________________________________________
Z3 Technology, LLC ♦100 N 8th ST, STE 250 ♦Lincoln, NE 68508-1369 USA ♦+1.402.323.0702
13
Go into the directory just created and run the build script (directory name may slightly vary):
# cd z3-netra_MC-RPS-20150630
# ./makeall
*Note: Building can take around 30-40 minutes. You will also need to type in the sudo password a few
times.
The outcome of the build process should be newly created image files in the images directory. You can
confirm this by doing the following:
# cd images
# ls -alt
The result should be something like the following. Note that actual filenames, dates, and times will
differ.
Figure 4 Sample Content of Images Directory after Successful Build

CONFIDENTIAL DOC-USR-0008-08
___________________________________________________________________________________________
Z3 Technology, LLC ♦100 N 8th ST, STE 250 ♦Lincoln, NE 68508-1369 USA ♦+1.402.323.0702
14
6.0 CODE OVERVIEW
Once you have untarred the code, you will see the following top-level directories:
build-tools Config files and scripts for building the codebase
dvr-rdk A modified version of the TI RDK code
factory Factory testing scripts (the user can disregard these)
filesys The base filesystem for release
kernels Kernel code for release
sysapps Various supporting applications
toolchain The ARM toolchain for building the codebase
u-boot u-boot code for release
z3apps Z3 demo application code and scripts
The Z3 application code that comes with the Z3-DM8168-RPS-RDK is run from the run.sh script in dvr-
rdk/dvr_rdk/bin/ti816x . This code calls the z3_dvr_rdk_demo_mcfw_api.out binary, which initializes and
runs the encoder. This binary is built from the dvr-rdk directory. The code for the binary resides in
z3apps/rdk/rdk_demo. The z3apps/rdk directory is described in more detail in the next section.
6.1 The z3apps/rdk Directory
There are 3 main subdirectories: rdk_demo, z3_mcfw_api, and z3
6.1.1 rdk_demo
This directory contains the code for the various modes that Z3’s boards are able to run in. The
encoder setup is done in demo_vcap_vdis.c. The decoder setup is done in demo_vdec_vdis.c. The
passthrough setup is done in demo_vcap_vdis.c.
The file demo_rtptx.c is responsible for setting the output mode of the encoder. Output to file,
rtp, and MPEG2-TS are handled here.
The file demo_mcsenc.c contains the implementation of the command line interface. This can be
run using the following command:
# source /opt/mcsenc/mcsenc.sh

CONFIDENTIAL DOC-USR-0008-08
___________________________________________________________________________________________
Z3 Technology, LLC ♦100 N 8th ST, STE 250 ♦Lincoln, NE 68508-1369 USA ♦+1.402.323.0702
15
6.1.2 z3_mcfw_api
This directory contains a modified version of the TI mcfw API (found in dvr-
rdk/dvr_rdk/mcfw/src_linux/mcfw_api) that is tailored to work with Z3’s hardware and use-cases.
The link setup code for Z3’s applications can be found in the usecases directory. The use-case code
is called from ti_vsys.c in the same directory.
6.1.3 z3
This directory contains the base code for rtp tx and rx, as well as the base code for audio capture
and output.
6.2 Z3 Application Overview
6.2.1 Application Names and Locations
For encode, there are 2 binaries in the sample code. The first is a menu-based application (this is
what comes up in the serial terminal when the board is powered on). The second is a command line
interface that is more flexible and easier to use from a programming standpoint. The web-based
interface uses the command line interface extensively.
The menu-based application binary can be found at:
/opt/dvr_rdk/ti816x/bin/z3_dvr_rdk_demo_mcfw_api.out
The command line interface binary can be found at:
/opt/dvr_rdk/ti816x/bin/mcfw_mcsenc
6.2.2 Application Options and Arguments
The menu-based application uses an .ini file. This .ini file is built in the script run.sh and stored in
/tmp/encode.ini.
Once called with the .ini file, the menu-based application presents to the user a menu of options.
Most .ini files are geared towards a specific use-case. The easiest way to get a valid .ini file is to
run the script with the settings you want and then copy the generated .ini out of /tmp and save it.
The command line interface for the encoder is set up by running:
# source /opt/mcsenc/mcsenc.sh

CONFIDENTIAL DOC-USR-0008-08
___________________________________________________________________________________________
Z3 Technology, LLC ♦100 N 8th ST, STE 250 ♦Lincoln, NE 68508-1369 USA ♦+1.402.323.0702
16
This will present you with an "=" prompt. You can then enter commands to encode. For example:
= encode instance=1 source=HDMI1 dst=rtp://192.168.0.6:5004 audio=off
will start an encode from HDMI1 streaming to 192.168.0.6 at port 5004. You can find an example of
using this in a script at:
$PRJROOT/dvr-rdk/runz3demo.sh
6.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:
$PRJROOT/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.
6.3 RDK Documentation
Documentation on the RDK can be found in $PRJROOT/dvr-rdk/dvr_rdk/docs. Below is a list of some
of the major documentation available:
Docs
├── DM81xx_DVR_RDK_Install_Guide.pdf
├── DM81xx_DVR_RDK_MainPage.pdf
├── DM81xx_DVR_RDK_Release_Notes.pdf
├── DM81xx_DVR_RDK_Release_Summary.pdf
├── AppNotes
│├── DM8107_DVR_RDK_DM8107DVR_SchematicChanges_BCH120.pdf
│├── DM8107_DVR_RDK_PowerSavings.pdf
│├── DM8168_DVR_RDK_AVS_User_Guide.pdf
│├── DM81xx_DVR_RDK_960H_Notes.pdf
│├── DM81xx_DVR_RDK_App_Notes_Summary.pdf
│├── DM81xx_DVR_RDK_Audio_Notes.pdf
│├── DM81xx_DVR_RDK_AVSync_Notes.pdf
│├── DM81xx_DVR_RDK_Boot_Logo_and_External_Device.pdf
│├── DM81xx_DVR_RDK_Customer_Display_Resolution.pdf

CONFIDENTIAL DOC-USR-0008-08
___________________________________________________________________________________________
Z3 Technology, LLC ♦100 N 8th ST, STE 250 ♦Lincoln, NE 68508-1369 USA ♦+1.402.323.0702
17
│├── DM81xx_DVR_RDK_Debug_Statistics.pdf
│├── DM81xx_DVR_RDK_Display_Output_Configuration.pdf
│├── DM81xx_DVR_RDK_Ethernet_Offload_Driver.pdf
│├── DM81xx_DVR_RDK_External_Video_Device_Configuration.pdf
│├── DM81xx_DVR_RDK_Flash_File_FS.pdf
│├── DM81xx_DVR_RDK_Graphics_Using_FBDev.pdf
│├── DM81xx_DVR_RDK_HDMI_Control_Notes.pdf
│├── DM81xx_DVR_RDK_Memory_Map.pdf
│├── DM81xx_DVR_RDK_Minimal_Root_File_System.pdf
│├── DM81xx_DVR_RDK_Network_Stack_Optimization_Techniques_for_Multichannel_NVR.pdf
│├── DM81xx_DVR_RDK_PLL_Print_Utility.pdf
│├── DM81xx_DVR_RDK_Qt_Installation_Guidelines.pdf
│├── DM81xx_DVR_RDK_SCD_AlgorithmIntegration.pdf
│├── DM81xx_DVR_RDK_Software_OSD_Notes.pdf
│└── DM81xx_DVR_RDK_Software_OSD_Text_Render_Notes.pdf
├── software_manifest.htm
├── TestReports
│├── DM810X_DVRRDK_Test_Report_04.00.00.03.xls
│├── DM814X_DVRRDK_Test_Report_04.00.00.03.xls
│├── DM816X_DVRRDK_Test_Report_04.00.00.03.xls
│└── HDMITestReports
├── Trainings
│└── DVR_RDK_McFW_Link_API_Training.pdf
├── Usecases
│├── DM810x_DVR_RDK_UseCaseGuide_4D1_8CIF_16CIF_DVR.pdf
│├── DM810x_DVR_RDK_UseCaseGuide_Decode_Display.pdf
│├── DM814x_DVR_RDK_UseCaseGuide_4D1_8CIF_16CIF_DVR.pdf
│├── DM814x_DVR_RDK_UseCaseGuide_Decode_Display.pdf
│├── DM816x_DVR_RDK_UseCaseGuide_16D1_DVR.pdf
│├── DM816x_DVR_RDK_UseCaseGuide_32D1_Decode_Display.pdf
│├── DM816x_DVR_RDK_UseCaseGuide_SD_HD_Encode_Card.pdf
│└── DM81xx_DVR_RDK_Interlace_UseCaseGuide.pdf
└── UserGuides
├── DM8168_DVR_RDK_GUI_Guide.pdf

CONFIDENTIAL DOC-USR-0008-08
___________________________________________________________________________________________
Z3 Technology, LLC ♦100 N 8th ST, STE 250 ♦Lincoln, NE 68508-1369 USA ♦+1.402.323.0702
18
├── DM816x_FAPLL.xls
├── DM81xx_DVR_RDK_Demo_Guide.pdf
├── DM81xx_DVR_RDK_FAQs.pdf
├── DM81xx_DVR_RDK_IPC_Bits_Out_Host.pdf
├── DM81xx_DVR_RDK_Migration_Guide.pdf
├── DM81xx_DVR_RDK_Overview.pdf
├── DM81xx_DVR_RDK_PSP_Arago.pdf
├── DM81xx_DVR_RDK_SCD_DMVAL_FAQs.pdf
├── DMVAL_API_and_UsersGuide.pdf
├── DVR_RDK_ApiGuide.CHM
└── SCD_TI_API_UsersGuide_v00.50.pdf

CONFIDENTIAL DOC-USR-0008-08
___________________________________________________________________________________________
Z3 Technology, LLC ♦100 N 8th ST, STE 250 ♦Lincoln, NE 68508-1369 USA ♦+1.402.323.0702
19
7.0 RUNNING THE ENCODER
This section gives step-by-step instructions on taking the Z3-DM8168-RPS and using it to stream 1080p or
1080i video to VLC running on your PC. In addition to the Z3-DM8168-RPS, an HD source with HDMI output
and a PC are required.
7.1 Set up the HD Source
(1) Select an HD source with HDMI output (Note: a source with non-HDCP output must be used. In Z3’s
testing, the Brite-View BV-5005HD is used).
-Power on the HD Source
-Connect HDMI to a monitor
-Set the HD Source to 1080i output
-Select content you would like to stream
If you see playback on the monitor, you’ve confirmed the source works.
7.2 Connect and Power Up the Z3-DM8168-RPS
(2) Connect the HDMI source to “HDMI In” of the Z3-DM8168-RPS:
HDMI In 2
HDMI In 1
Stereo 1
Stereo 2
Component 2
Component 1, or Composite 1 (Yellow) + Composite 2 (Red)
Figure 6 Encode Connections for Z3-DM8168-RPS (Audio/Video Detail)
Serial
Power
Switch
12V In
Ethernet
See Figure 6 Detail
Figure 5 Encode Connections for Z3-DM8168-RPS

CONFIDENTIAL DOC-USR-0008-08
___________________________________________________________________________________________
Z3 Technology, LLC ♦100 N 8th ST, STE 250 ♦Lincoln, NE 68508-1369 USA ♦+1.402.323.0702
20
(3) Connect an Ethernet cable connected through a hub or router to a PC to “Ethernet” on the Z3-
DM8168-RPS.
(4) Connect the 12V power supply.
(5) Connect the supplied 2.5mm serial cable and NULL modem adapter to your PC.
7.3 Set up the Terminal Window
(6) If you are running from a Windows PC, run TeraTerm. Select “Setup – Serial Port” and set the
following:
Port: Whichever serial port the port is connected to
Baud Rate: 115200
Data: 8-bit
Parity: None
Stop: 1-bit
Flow Control: None
(7) If you are running from Linux, type:
# sudo minicom –s
And then configure by doing the following:
-Select “Serial Port Setup”
-Ensure the right Serial Device is specified (typically “/dev/ttyUSB0”)
-Set option E (“Bps/Par/Bits”) to 115200 8N1
-Press <return>
-Select “Exit”
Other manuals for Z3-DM8168-RPS
2
Table of contents
Other Z3 Technology Control Unit manuals
Popular Control Unit manuals by other brands

Bandini Industrie
Bandini Industrie GBD F12E-AS04340 Instructions for installation

Beninca
Beninca CP.J3M manual

Lincoln Electric
Lincoln Electric DAMPER BOX DUALFLOW Safety instruction for use and maintenance

CLA-VAL
CLA-VAL 36 Series Installation, operation & maintenance manual

A-T Controls
A-T Controls TRIAC 20 Series Installation & maintenance manual

Emerson
Emerson Crosby HSJ Series Installation, operation and maintenance instructions