Z3 Technology Z3-DM368-SDI-RPS User Instructions

Z3 Technology Z3-DM368-SDI-RPS User Instructions

Video infrastructure 1080p30 system
Table of Contents

Advertisement

Quick Links

User Instructions
Video Infrastructure 1080p30 System
High Definition Video Processor Module
DM368 Rapid Prototyping System
Z3-DM368-SDI-RPS
Model Name:
DOC-USR-0064-02
Manual Version 1.06.19a
Software Version 1.06.19
December 16, 2014
Before attempting to connect or operate this product, please read these
instructions carefully and save the manual for future use.
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.

Advertisement

Table of Contents
loading

Summary of Contents for Z3 Technology Z3-DM368-SDI-RPS

  • Page 1 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...
  • Page 2 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 3: Table Of Contents

    APPENDIX B: Configuring the Wowza Server for RTMP .............. 46 APPENDIX C: Updating using an SD Card ................48 APPENDIX D: Troubleshooting ................... 49 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 4 LIST OF FIGURES Figure 1 Z3-DM368-MOD ....................5 Figure 2 Z3-DM368-APP-11 ....................6 Figure 3 Z3-DM368-SDI-RPS Block Diagram ................7 Figure 4 Sample Content of Images Directory After a Successful Build ........... 12 Figure 5 Connections for Encoding from SDI ................14 Figure 6 Serial UI Main Menu ....................
  • Page 5: General Description

    DOC-USR-0064-02 1.0 GENERAL DESCRIPTION The Z3-DM368-SDI-RPS development system consists of both hardware and software. The hardware provided includes one Z3-DM368-MOD system on module card and a carrier or application board, the Z3- DM368-APP-11, which provides advanced video input and output capabilities. The bundled software includes all necessary components for the user to develop their own advanced multimedia, graphics and DSP applications.
  • Page 6: Figure 2 Z3-Dm368-App-11

    CONFIDENTIAL DOC-USR-0064-02 An application board, the Z3-DM368-APP-11, is included with the Z3-DM368-SDI-RPS. It measures 100mm x 190mm. This application board uses the I/O expansion capability of the Z3-DM368-MOD to implement additional functions not present in the base module. The Z3-DM368-APP-11 application board has HD-SDI, and composite (CVBS) inputs, Ethernet and ASI outputs, and one L/R pair of analog stereo audio inputs.
  • Page 7: Figure 3 Z3-Dm368-Sdi-Rps Block Diagram

    CONFIDENTIAL DOC-USR-0064-02 The figure below shows a block diagram of the Z3-DM368-SDI-RPS system. Figure 3 Z3-DM368-SDI-RPS Block Diagram ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 8: Quick Start Guide

    2.1 If you have Received a System from Z3 with the Software Preloaded RUNNING THE To start working with the Z3-DM368-SDI-RPS, you can go straight to Section 7.0, “ ENCODER ,” on page 14, or Section 8.0, “RUNNING THE DECODER,” on page 28.
  • Page 9: Included Parts List

    1 x DB-9 Serial Cable   1 x BNC to BNC Cable 1 x RCA to RCA Cable   1 x Z3-368-SDI-RPS Documentation ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 10: Features

    1080p30, 1080i30, 1080i29.97, 1080i25, 1080720p60, 720p59.94, 720p50, 576i25, 480i30, and 480i29.97. Also supports 23.98Psf input for all resolutions. Composite: 576i25, 480i30, and 480i29.97 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 11: Untarring And Building The Sample Code

    # 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-DM368-SDI-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-dm368 Copy the released tar archive to that directory (note: could also be RPS-SRC, name may slightly vary).
  • Page 12: Figure 4 Sample Content Of Images Directory After A Successful Build

    The result should be something like the following. Actual filenames, dates, and times will differ. Figure 4 Sample Content of Images Directory After a Successful Build ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 13: 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 dvsdk The DM368 DVSDK from TI with changes for Z3 Technology hardware filesys The root file system for the DM368 target flash_utils The UBL and a tool to write it into the board’s NAND flash...
  • Page 14: Running The Encoder

    Connect an SDI source to “SDI In” on the Z3-DM368-SDI-RPS with a BNC-BNC cable. Connect the Ethernet of the Z3-DM368-SDI-RPS to either a PC or a hub the PC is connected to. The next step is to set up a terminal to view the activity of the board.
  • Page 15: Set Up The Terminal Window

    -Select “Serial Port Setup” -Ensure the right serial device is specified (typically “/dev/ttyS0”) -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...
  • Page 16: Power On The Board

    7.5 Ensure your PC has a proper IP address To be able to communicate with the Z3-DM368-SDI-RPS, the PC that you are communicating from needs to have at least the same first 2 parts of the IP address. For example, if the RPS has an IP address of 192.168.0.65, your PC would need to have an address of 192.168.x.y, where x.y is...
  • Page 17: Run The Web Interface

    IP address of the board noted in step (7) (for example, if the default value is used, it would be http://192.168.0.65). After about 3 seconds, the main screen should come up: Figure 7 Web Interface Main Screen ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 18: Figure 8 Modifications For Encoding

    30 seconds if a valid input is detected. If that occurs, just click “Stop Encoder” first). The status should change to “Started.” ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 19: Run Vlc To View Stream

    Figure 9 VLC Open Network Screen Press “Enter.” You should now see video streaming to VLC: Figure 10 Example of Z3 Video Streaming to VLC (UDP) ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 20: Streaming Rtp

    Open VLC. Select “Media – Open File” and select the “z3-dm368_5004.sdp” file you just copied. 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...
  • Page 21: Using Dhcp

    DOC-USR-0064-02 7.9 Using DHCP The Z3-DM368-SDI-RPS also supports using DHCP to acquire an IP address at boot-up. To use it, follow the steps below: Click the “Use DHCP” check box in the Web GUI. Once it is checked, you will see that the values of Local IP Address, Local Netmask, and Default Gateway will gray out: (1) Check “Use...
  • Page 22: Dynamically Changing Bit Rate / Frame Rate

    The web page will respond with the following message: Status: Changed rate The video stream will then continue uninterrupted with the new parameter. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 23: Tuning For Latency

    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...
  • Page 24: Streaming Rtmp

    The Z3-DM368-SDI-RPS also supports streaming RTMP to servers such as Wowza and ustream. The steps for doing so are as follows: Follow steps (1)-(9) earlier in this section to connect the Z3-DM368-SDI-RPS for encode and bring up the Web GUI.
  • Page 25: Figure 17 Getting To The Wowza Test Player

    (1) Use IP address of Wowza server + “:8088” (2) Select “Applications” (3) Select “live” (4) Select “Test Players” Figure 17 Getting to the Wowza Test Player ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 26: Figure 18 Viewing Content In Wowza

    You should see the “Test Players” popup screen. Select the “Adobe RTMP” tab, change the Stream name to “1080” (should match the directory you are streaming to in the Z3-DM368-SDI-RPS), and click “Start”. You should then see the content streamed from the Z3-DM368-SDI-RPS: (1) Select “Adobe RTMP”...
  • Page 27: Encoding Using Mp1L2 Audio

    (22) when you open the SDP file with VLC. Note that the port # needs to be set to “5004” for this SDP file to work. To decode with MP1L2 with UDP or RTP, simply send the stream to the Z3-DM368-SDI-RPS. The MP1L2 will be auto-detected and will decode without the user having to specify a specific audio codec.
  • Page 28: Running The Decoder

    HDMI monitor). 8.2 Set up the Decoder Board to work with the Encoder Board If you are using another Z3-DM368-SDI-RPS as the encoding source, you need to make sure that the encoding Z3-DM368-SDI-RPS and decoding Z3-DM368-SDI-RPS have different IP addresses and different MAC addresses.
  • Page 29: Configure The Encoder

    DOC-USR-0064-02 8.3 Configure the Encoder Go to the Encoder Z3-DM368-SDI-RPS. Change the settings to match those in the figure below. Here a multicast address is used. You can also stream unicast to the Decoder by specifying the IP address of the decoding Z3-DM368-SDI-RPS. Using multicast allows you to also open VLC and view the stream...
  • Page 30: Configure The Decoder

    Power on the Decoder Z3-DM368-SDI-RPS. Follow steps (5) to (9) in Section 7.0 to bring up the GUI for the Decoder Z3-DM368-SDI-RPS. You should be at the System Setup Tab. From here, click on “Operating Mode” in the lower right corner and change to “Decoder”...
  • Page 31: Start The Encoder And Decoder

    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:5004” for the URL. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 32: Exercising Other Features

    (such as generating debug logs) can also be gained from the options in the serial interface. Details on the other parameters available can be found in Section 11.0. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 33: Running The Code You Built On The Board

    Run the Web Interface (Steps (1)-(9) in Section 7.0). Select “UPDATE” from the top of the GUI: Click here Figure 24 Updating the Device Firmware from the Web Interface ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 34: Figure 25 Browsing For The Image File In The Updater

    CONFIDENTIAL DOC-USR-0064-02 This brings you to the Software Updater screen. Click “Browse” and browse to the directory z3- dm368/z3-dm368-SDI-RPS-(date)/images and select the image file “z3-mve01-upd.img”: Figure 25 Browsing for the Image File in the Updater Click “Open.” Click “Upload and Update.” You should see a “FLASH Update now in progress” message. Once finished it will go back to the main menu.
  • Page 35: Method 2: Running Your Code Through Tftp/Nfs

    # cd /home/z3/z3-dm368 # ln –s z3-dm368-SDI-RPS-{date}/images images # ln –s z3-dm368-SDI-RPS-{date}/filesys filesys (d) Start the NFS server # sudo service nfs-kernel-server restart ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 36: Figure 26 Editing Uboot_Envdm368.Txt

    Modify to match the IP address of your Linux PC Modify to match your TFTP configuration (see notes) Modify to match your NFS configuration (see notes) Figure 26 Editing uboot_envDM368.txt ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 37: Figure 27 Minicom Terminal Settings

    (2) Press Space to tag (3) Use <left> and <right> to select Okay (4) Press Return Figure 28 Minicom Paste File Selection ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 38: Other Available U-Boot Commands

    From the u-boot prompt, type “boot” DM365 EVM:> boot You should see the Z3-DM368-SDI-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, please see the “Troubleshooting”...
  • Page 39: Summary Of Options

    Assign a password to the Z3-DM368-SDI-RPS. UPDATE [Button] ----- Update firmware (see page 33). Local IP Address 192.168.X.XX (192.168.0.65) Sets the IP address of the Z3-DM368-SDI-RPS. Local Netmask 255.255.X.X (255.255.0.0) Sets the netmask of the Z3-DM368-SDI-RPS. Default Gateway 192.168.X.XX (192.168.0.1) Can generally leave as “192.168.0.1”...
  • Page 40 (Ethernet, ASI, or both). Note: RTP can only be streamed over “Ethernet (VBR).” ASI+Ethernet (CBR) For UDP streaming, specifying “CBR” will cause insertion of null packets where necessary. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 41 1080i (1920x1080), 3/4 1080i (1440x1080), XGA (1280x1024), 720p (1280x720), 4/5 720p (1024x720), D1 NTSC (720x480), D1 PAL (720x576), 4-CIF (704x576), VGA (640x480) 2-CIF (352x576), CIF (352x288), SIF (352x240), QVGA (320x240), WQVGA (320x180) ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 42: Decoder Options

    Stop the current decode session. [Button] Start Decoder ----- Start a decode session. [Button] Status Idle, Stopped, Running Current status of the decoder. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 43: Appendix A: Example Of Successful Boot Log

    Mounting local filesystems: mount mount: mounting /dev/root on / failed: No such y failed (1: ). Setting up networking ...ln: /etc/network/run: Read-only file system Starting hotplug subsystem: ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 44 Number of bbt blocks: 0 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00040000 and ending at 0x00060000... ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 45 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...
  • Page 46: Appendix B: Configuring The Wowza Server For Rtmp

    APPENDIX B: Configuring the Wowza Server for RTMP In this section, configuring Wowza version 4.0.1 is described. To configure Wowza to work with the Z3-DM368-SDI-RPS RTMP streaming, the following steps are needed: (1) Log in to the Wowza Streaming Engine Manager Home page by typing http://localhost:8088, where “localhost”...
  • Page 47: Figure 31 Wowza Security Settings

    “Open” and “Client Restrictions” are set to “No client restrictions.” Then click “Save”: Figure 31 Wowza Security Settings The Wowza server is now configured to work with the Z3-DM368-SDI-RPS. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8...
  • Page 48: Appendix C: Updating Using An Sd Card

    APPENDIX C: Updating using an SD Card Besides using the Web interface, it is also possible to update the firmware of the Z3-DM368-SDI-RPS using an SD card. The process requires a Windows PC, an SD card, and the ZWriter tool (included with the RPS).
  • Page 49: Appendix D: Troubleshooting

    -Is the Ethernet cable plugged in to the Z3-DM368-APP board solidly (do you see the link light)? -Do the Z3-DM368-SDI-RPS IP address and the PC IP address have the same first 2 values (or, if netmask is set to 255.255.255.0, the same first 3 values)? -Do the Z3-DM368-SDI-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...

Table of Contents