Multi-channel h.264 hd multimedia system (73 pages)
Summary of Contents for Z3 Technology Z3-DM8107-SDI-RPS
Page 1
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...
Page 2
Added Composite In support on p.7, p.9., and p.40. Updated screenshots, updated APP-10 photo, added section on DHCP, 2.01.05 04/23/14 updated decode section / parameters. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Set up the Decoder board to work with the Encoder board ............ 31 Configure the Encoder ........................32 Configure the Decoder ........................33 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 4
The CH2 Tab ............................48 10.6 Values Appearing at the Bottom of All Tabs ................48 11. Known Limitations ............................ 49 Appendix B: Troubleshooting ........................62 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 5
Figure 31 Editing u-boot-env-dm810x-rdk.txt ....................40 Figure 32 Minicom Terminal Settings ....................... 40 Figure 33 Example of Successful u-boot Configuration ..................41 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Z3-DM8107-SDI-RPS V2.01.05 1. General Description The Z3-DM8107-SDI-RPS is a development system that allows encode and decode of HD video through SDI inputs. It consists of a hardware package and software bundle designed to enable rapid development of multimedia applications. The hardware consists of one Z3-DM8107-MOD System on Module card and one Z3-DM8107-APP-10 board.
Power SDI In 1 / Composite In 206 mm Figure 2 Z3-DM8107-APP-10 I/O Board A Linux-based SDK, additional design services, and support are available from Z3 Technology. Please contact Z3 at http://www.z3technology.com or e-mail at sales@z3technology.com. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8...
1 x DB9 Serial Cable 3 x BNC-BNC Cables 1 x RCA-RCA Cable 1 x HDMI Cable 1 x Z3-DM8107-SDI-RPS Documentation ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
# sudo yum install glibc.i686 4.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-DM8107-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-dm810x Copy the released tar archive to that directory (note: the name may slightly vary).
The result should be something like the following. Note that actual filenames, dates, and times will differ. Figure 3 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...
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: ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Most .ini files are geared towards a specific sample application. 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. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
The top-level file for the menu-driven sample application is demo.c. The top-level files for the command line interfaces are demo_mcsenc.c and demo_mcsdec.c. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
This section gives step-by-step instructions on taking the Z3-DM8107-SDI-RPS and using it to stream 1080p or 1080i video to VLC running on your PC. In addition to the Z3-DM8107-SDI-RPS, an HD source with HDMI output, an HDMI->SDI converter, and a PC are required.
(8) To be able to communicate with the 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 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Important Note: If you want to encode 1080p60, you must first change “Operating Mode” at the bottom right from “Encode Interlaced/Progressive” to “Encode Single HD.” Note that, in “Encode Single HD” mode, only CH1 can be used. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
If that occurs, just click “stop” first). The status should change from “IDLE” or “STOPPED” to “RUNNING”. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Figure 7 VLC Open Network Screen (15) Press “Enter.” (16) You should now see video streaming to VLC: Figure 8 Example of Z3 Video Streaming to VLC ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
(22) Open VLC. Select “Media – Open File” and select the “z3-dm8107.sdp” file you just copied. (23) You should then see RTP video streaming on VLC: Figure 9 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...
Z3-DM8107-SDI-RPS V2.01.05 6.9 Changing the bitrate dynamically This version of the Z3-DM8107-SDI-RPS includes an “Update” button which allows you to change the bitrate without stopping and restarting the encoder. To use it, do the following steps: (24) In VLC, click on “Tools” and select “Codec Information”. This brings up a window with 4 tabs. Select the “Statistics”...
6.10 Adjusting the UDP TS Rate This version of the Z3-DM8107-SDI-RPS includes a parameter to adjust the TS rate independent of the video bitrate. This can be found just below “PCR PID” when “UDP” is selected as the output format.
(30) Open VLC to view your UDP stream (see Section 6.7) and view the “Statistics” tab (see Section 6.9). You will see a lower value for the overall input rate and for the “content” rate: ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Case 1: Highest Quality, Highest Latency 9999 Case 2: Good Quality, Standard Latency 2000 Case 3: Normal Quality, Lowest Latency Figure 15 Tuning for Various Use Cases ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Z3-DM8107-SDI-RPS V2.01.05 6.12 Running DHCP DHCP is also supported. When enabled, the Z3-DM8107-SDI-RPS dynamically receives an IP address to use at startup. The IP address that is assigned can be seen either through the serial interface or through the ZFinder tool running on a PC. To see how DHCP support works, you can do the following steps: (31) The first thing you need to do is set up a custom configuration so that the DHCP setting is used the next time the system boots up.
(35) Now that DHCP is set in z3_test, save the configuration by clicking on the “Save” button: Click “Save” Figure 20 Saving a User Preset ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
(36) Now that you’ve set DHCP and saved it to the configuration “z3_test” and specified that “z3_test” will be used when the system restarts, go ahead and reboot the Z3-DM8107-SDI-RPS. (37) A new IP address is assigned to the unit through DHCP . You have two ways of finding out that IP address.
Z3-DM8107-SDI-RPS V2.01.05 (40) Select the DM8107-SDI-RPS and then click “Open Device.” A web browser will then open at the IP address of the Z3-DM8107-SDI-RPS and you should see the Web GUI: New IP address Figure 23 Web GUI Using DHCP Address (41) You can go back to Static IP by unchecking “Use DHCP”...
Z3-DM8107-SDI-RPS V2.01.05 7. Running the Decoder This section gives step-by-step instructions on taking the Z3-DM8107-SDI-RPS and using it to decode a file from USB. (Note: Sample decode files are available from Z3. Please contact Z3 for details). 7.1 Connect the Output...
(192.168.81.07 in this example). Using multicast allows you to also open VLC and view the stream from there: Figure 25 Encoder Settings for Sample Decode ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
(9) Once you do this, the description at the top right will change from “DM8107-SDI-RPS Encoder” to “DM8107-SDI-RPS Decoder” and settings for Display Mode, Resolution, and Layout will appear: Figure 27 System Setup in Decoder Mode ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
(15) 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...
This can be used to play back raw video, raw audio, or ts files. A separate manual for MCSDEC is available upon request. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
(3) This brings you to the Software Updater screen. Click “Browse” and browse to the directory z3- dm810x/z3-centaurus-dm810x_sdi_rps-(date)/images and select the image file “z3-centaurus- upd.img”: ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
(5) Click “Upload and Update.” You should see a “FLASH Update now in progress” message. Once finished it will go back to the main menu. (6) 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...
(a) Get NFS if it is not already installed: # sudo apt-get install nfs-kernel-server (b) Create /export/users and set it up: # mkdir –p /export/users ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 39
(here emacs is used – any text editor can be used) # cd /home/z3/z3-dm810x # cd z3-centaurus-dm810x_sdi_rps-20140311 # cd u-boot # emacs u-boot-env-dm810x-rdk.txt ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
“Character tx delay (ms)” (option F) to 1: Change to 100 Change to 1 Figure 32 Minicom Terminal Settings (h) Press <return> to save your terminal settings. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
6) From the u-boot prompt, type “boot” Z3-DM385# boot You should see the Z3-DM8107-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, see the “Troubleshooting”...
10.1 The System Setup Tab Parameter Options (default in bold) Notes Local IP Address 192.168.x.y (192.168.81.07) Sets the IP address of the Z3-DM8107-SDI-RPS. Local Netmask 255.255.z.w (255.255.0.0) Sets the netmask of the Z3-DM8107-SDI-RPS. Default Gateway 192.168.a.b (192.168.0.1) Can generally leave this as “192.168.0.1”.
Input Status Input Input type (HD-SDI for the DM8107-SDI-RPS) Resolution Capture resolution for that input Capture frames per second for that input ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
AACLC, ARM AACHE V2 AACLC” and “ARM AACHE V2” are not supported in this release. Sample Rate 48KHz The sample rate of the audio. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 46
TS Rate (UDP Only) 125K – 20000K (8000K) The rate of the transport stream. Normally, this value should be set to 1.25 * (video bit ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 47
“Follow input” = Generate encoder resolution based on capture resolution detected Note 2: GOP Sizes Supported: 10, 12, 15, 25, 30, 50, 60, 100, 120, 200, 240 frames ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
1080i, D1, and CIF stream. “Decoder” is used to select decode mode. Stop All Stop encode on both channels. Start All Start encode on both channels. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
(5) If SATA is being used, it is recommended that SATA3 drives be used. Many SATA2 drives tried were found to have issues. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 51
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache Machine: dm385evm vram size = 20971520 at 0x0 bootconsole [earlycon0] enabled ti81xx_reserve: ### Reserved DDR region @8ff00000 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 52
TI81XX: Map 0x8ff00000 to 0xfe500000 for dram barrier TI81XX: Map 0x40300000 to 0xfe600000 for sram barrier omap_voltage_early_init: voltage driver support not added regulator: core version 0.5 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 53
3 rev4.0 at 100 kHz Advanced Linux Sound Architecture Driver Version 1.0.23. cfg80211: Calling CRDA to update world regulatory domain ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 56
Linux video capture interface: v2.00 usbcore: registered new interface driver uvcvideo USB Video Class driver (v1.0.0) OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 57
UBIFS: reserved for root: 0 bytes (0 KiB) VFS: Mounted root (ubifs filesystem) on device 0:14. devtmpfs: mounted Freeing init memory: 232K init started: BusyBox v1.15.0.svn (2014-03-11 18:02:03 CDT) ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 58
Date 2013/09/18 Time 20:20:44 Bitstream size 464196 Wrote 464196 bytes Check done FPGA DONE: 0x0001 BoardID=274 z3netra-000: v4l2 sub device register fails ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 60
| G - Change default gateway 192.168.0.1 | M - Change mode enc_int_prog | Preset: serial_menu | 1 - Change channel 1 H.264 | RES: 1920x1080 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 61
| T - Stop streaming | | W - Write configuration to flash | | X - eXit to prompt | +==============================================================+ 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-DM8107-APP-10 board solidly (do you see the link light)? -Does the Z3-DM8107-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-DM8107-SDI-RPS and the PC running VLC have the same netmask? (Default value is 255.255.0.0)
Page 63
-If you modified the exports file, did you remember to restart the nfs server after that? 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-DM8107-SDI-RPS and is the answer not in the manual?
Questions and answers