DOC-USR-0010-09 1.0 GENERAL DESCRIPTION The Z3-DM8169-VI-RPS is a development system that allows encode and decode of up to two channels of 1080p60 H.264 or MPEG-2 from a variety of sources and to a variety of different outputs. The Z3-DM8169- VI-RPS consists of a hardware package and software bundle designed to enable rapid development of multimedia applications.
CONFIDENTIAL DOC-USR-0010-09 An application board, the Z3-DM8169-APP-3x, is included with the Z3-DM8169-VI-RPS. This application board uses the I/O expansion capability of the Z3-DM8169-MOD-2x to implement additional functions not present in the base module. The Z3-DM8169-APP-3x application board has an HDMI input, a 3G-SDI input and output, an ASI input and output, a YPbPr input, and one set of analog stereo audio inputs.
Details on how to set up your system to access the code you have built can be found in Section 10.0: “RUNNING THE CODE YOU BUILT ON THE BOARD”, on page 27. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
# 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-DM8169-VI-RPS starting from the included source code. On a PC running Linux, create a directory where the released materials are going to be located:...
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 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
├── Readme.Overlay.txt ├── DM816x_EZ_Software_Developers_Guide.pdf ├── software_bom.htm └── software_manifest.htm Additional documentation can be found in the “board-support”, “component-sources”, and “example_applications” subdirectories in ezsdk. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
CONFIDENTIAL DOC-USR-0010-09 7.0 RUNNING THE ENCODER This section gives step-by-step instructions on using the Z3-DM8169-VI-RPS to stream 1080p or 1080i video to VLC running on your PC. 7.1 Set up the HD Source (1) Select an HD source with HDMI non-HDCP output (in Z3’s testing, the Brite-View BV-5005HD is used).
-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” ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Note the local IP address and netmask (in this example, it is 192.168.81.68 and 255.255.0.0). This is the IP address of the board. You will need this later to access the web interface. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
IP address of the board noted in step (7) (for example, if the default value is used, it would be http://192.168.81.68). After about 3 seconds, the Encoder Settings menu should come Figure 7 Encoder Settings Screen (Top Half) ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Figure 8 Setting Encode Parameters for TS Streaming (12) Click “Start”. After about 6 seconds, the status should change from “idle” to “Running.” ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
(15) Press “Enter.” (16) You should now see video streaming to VLC: Figure 10 Example of Z3 Video Streaming on VLC (UDP) ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
(23) Open VLC. Select “Media – Open File” and select the “z3-netra-multicast.sdp” file you just copied. (24) You should then see RTP video streaming on VLC: Figure 11 Example of Z3 Video Streaming to VLC (RTP) ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
7.9 Showing Encode Passthrough on a Screen (Optional) To see what is being encoded on a monitor, connect that monitor to HDMI Out of the Z3-DM8169-VI-RPS (see Figure 12). Once you do this, you should see the video going into the encoder on the monitor.
By default, this is set to 1000ms. You can lower this to as low as 200ms. To do this, go to the following: VLC → Tools → Preferences → Show Settings (ALL) → Input / Codecs → Network caching (ms) ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
A second Z3-DM8169-VI-RPS is required in these instructions. If the user has only one Z3-DM8169-VI-RPS, they can also try using an alternate source for the video stream. In that case, the decoder settings may have to be adjusted.
You will change this later to operate as a Decoder. But first, let’s go back to the Encoder and set up the stream. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Here a multicast address is used. You can also try streaming unicast to 192.168.81.67 (multicast allows you to also open VLC and view the stream from there): Figure 16 Encoder Settings for Sample Decode ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
(16) You can also view the content using VLC. Open VLC as you did in the Encode instructions and use the address “udp://@225.1.2.3:8888” for the URL. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Details on the different parameters that can be set can be found in Section 11.0, “SUMMARY OF OPTIONS” later in this manual. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
If you click “Stop” at the bottom of the screen, then “update device firmware” will become active and you can then click it. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
(6) Click “Upload and Update.” You should see a “FLASH Update now in progress” message. Once finished it will go back to the main menu. (7) You should be able to now run using the updated image. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
(b) Create /export/users and set it up: # mkdir –p /export/users # mount –bind /export/users /home/users (c) Add the following line to /etc/fstab: /home/users /export/users none bind 0 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 30
“u-boot-env-netra.txt” (here emacs is used – any text editor can be used) # cd /home/z3/z3-netra # cd z3-netra-DM8169_VI_RPS-20140405 # cd u-boot # emacs u-boot-env-netra.txt ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
(l) Check the value of serverip, nfsserver, and netmask to make sure it conforms to your network. You can use setenv to change anything that needs to be modified. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
(5) From the u-boot prompt, type “boot”. Z3-DM8168-MOD# boot You should see the Z3-DM8169-VI-RPS boot the kernel obtained via TFTP, mount a file system using NFS, and then go straight to the serial menu. Appendix A shows an example of a successful boot. If you are running into issues, see the “Troubleshooting”...
The target frame rate. “30” can be used for 30 or 29.997. If the frame rate is set to 30 and the input signal is actually 29.997, the Z3-DM8169-VI-RPS will automatically detect this and use the frame rate of 29.997. A similar autodetect occurs for 60 and 59.994.
Page 35
Where the output stream goes to. The user can select between Ethernet, DVB-ASI, or both. Note DVB-ASI that for RTP, Ethernet must be selected. DVB-ASI+Ethernet ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
11.3 The System Setup Tab Parameter Options (default in bold) Notes Local IP Address 192.168.x.y (192.168.81.68) Sets the IP address of the Z3-DM8169-VI-RPS. Local Netmask 255.255.z.w (255.255.0.0) Sets the netmask of the Z3-DM8169-VI-RPS. Default Gateway 192.168.a.b (192.168.0.1) Can generally leave this as “192.168.0.1”.
The current state of the encoder/decoder. (Status Message) Idle – starting … Running – active Running – stopping … Idle – stopped ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 42
RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. NetWinder Floating Point Emulator V0.97 (double precision) ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 43
UBI: number of good PEBs: 1600 UBI: number of bad PEBs: 1 UBI: number of corrupted PEBs: 0 UBI: max. allowed volumes: 128 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 44
PHY: 0:01 - Link is Up - 100/Full ata2: SATA link down (SStatus 0 SControl 300) ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 45
===Optional arguments=== -mmap input memory map bin file name -i2c 0: i2c init not done by M3, 1(default): i2c init done by ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 47
FPGA version: 0x8118 Starting telnet daemon. Starting web configurator NET: Registered protocol family 10 ** Point your browser to http://192.168.81.68 Starting Z3 demo +============================================================== ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 48
| U -- Load User Settings | W -- Save User Settings X -- Exit | Y -- Load Factory Default Settings +============================================================== ---- enter option: ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
-Is the Ethernet cable plugged in to the Z3-DM8169-MOD-2x board solidly (do you see the link light)? -Does the Z3-DM8169-VI-RPS IP address and the PC IP address have the same first two values (or, if netmask is set to 255.255.255.0, the same first three values)? -Do the Z3-DM8169-VI-RPS and the PC running VLC have the same netmask? (Default value is 255.255.0.0)
Page 50
When contacting Z3 Support for additional support, please capture and include a log file with the diagnostic level set to analysis. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Need help?
Do you have a question about the Z3-DM8169-VI-RPS and is the answer not in the manual?
Questions and answers