Summary of Contents for Z3 Technology Z3-DM8107-SDI-RPS
Page 1
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.
Page 2
Revision History Version Date Change Note Author 1.00.00 09/25/13 Original Document Added note on “Encode Single HD” mode on p.13, a note to change input 1.00.01 09/26/13 resolution on p.14, and added to “Known Issues” on p.17. 1.00.02 09/26/13 Updated Included Parts List Added sections of Building Code, Code Overview, and Decoding.
Set Up the Decoder Board to Work with the Encoder Board ..........37 Configure the Encoder ....................38 Configure the Decoder ....................39 9.0 EXERCISING OTHER FEATURES .................... 41 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 4
Values Appearing at the Bottom of All Tabs ..............59 APPENDIX A: Example of Successful Boot Log ................60 APPENDIX B: Troubleshooting ....................72 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 5
Figure 27 Address Change after DHCP Set ................34 Figure 28 ZFinder with DM8107-SDI-RPS IP Address ..............35 Figure 29 Selecting Z3-DM8107-SDI-RPS in ZFinder ..............35 Figure 30 Web GUI Using DHCP Address ................. 36 Figure 31 HDMI Out on the Z3-DM8107-APP-10 ................. 37 Figure 32 Encoder Settings for Sample Decode ................
DOC-USR-0030-12 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...
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 42. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
1 x RCA-RCA Cable 1 x HDMI Cable 1 x BNC to RCA Adapter 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...
Go into the directory just created and run the build script (directory name may slightly vary): # cd z3-centaurus-dm810x sdi_rps-20141028 # ./makeall ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
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...
Z3 sample application code and scripts The Z3 sample application code that comes with the Z3-DM8107-SDI-RPS is run from the run.sh script in dvr-rdk/dvr_rdk/bin/ti810x. 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 command line interface binary can be found at: /opt/dvr_rdk/ti816x/bin/mcfw_mcsenc On the decode side, there is a command line interface. The binary for this can be found at: /opt/dvr_rdk/ti816x/bin/mcfw_mcsdec ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 16
The top-level file for the menu-driven application is . The top-level files for the command demo.c line interfaces are demo_mcsenc.c 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 SDI source (or HDMI source with an HDMI->SDI converter) and a PC are required.
-Select “Serial Port Setup” -Ensure the correct 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...
IP address and netmask (in this example, it is 192.168.81.7 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...
After about 3 seconds, the System Setup menu should come up: Figure 7 Web Interface Initial Screen (10) Click on the “CH1” tab ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Figure 9 VLC Open Network Stream Screen for UDP (15) Press “Enter.” (16) You should now see video streaming to VLC: Figure 10 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...
In the “Open Media” box, type “rtsp://192.168.81.7/{name}.mp4”, where “192.168.81.7” is the IP address of the Z3-DM8107-SDI-RPS, and {name} is “z3-1” for unicast streaming, and “z3- 1m” for multicast streaming. For example, if the IP address of the Z3-DM8107-SDI-RPS is the default value of 192.168.81.7 and unicast streaming is being done, the user would type in...
CONFIDENTIAL DOC-USR-0030-12 7.9 Changing the Bitrate for Frame Rate Dynamically 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: (23) In VLC, click on “Tools” and select “Codec Information”. This brings up a window with four tabs.
Figure 17 Status Page Output Showing Lower Bit Rate You can also use the “update” button to modify the Frame Rate Divider. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
DOC-USR-0030-12 7.10 Adjusting the UDP TS Rate 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. Normally, this value is set to 25% to 33% above the sum of the video and audio bitrate. For example, the default value out of the factory is a value of 8Mbps, corresponding to 6Mbps for the video.
The value of TS Rate must be higher than (video bit rate + audio bit rate) * 1.25. If an attempt is made to input a value less than this, the error message “TS rate too small to carry elementary streams” will appear. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
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...
DOC-USR-0030-12 7.12 Running DHCP The Z3-DM8107-SDI-RPS supports DHCP . When DHCP is 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...
Now that DHCP is set in z3_test, save the configuration by clicking on the “Save” button: Click “Save” Figure 25 Saving a User Preset ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
(38) The second is to use the Windows utility ZFinder. To do this, make sure the Windows PC with ZFinder on it is connected to the same network which the Z3-DM8107-SDI-RPS is connected to. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8...
Run the “ZFinder” PC Utility on your Windows PC. The ZFinder window appears. ZFinder does a scan of the network and lists the location of all Z3 systems connected to the network. In this case, the Z3-DM8107-SDI-RPS appears with the IP address obtained through DHCP: Figure 28 ZFinder with DM8107-SDI-RPS IP Address (40) Select the DM8107-SDI-RPS and then click “Open Device”:...
CONFIDENTIAL DOC-USR-0030-12 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 30 Web GUI Using DHCP Address (41) You can return to Static IP by unchecking “Use DHCP” and saving that to the preset.
CONFIDENTIAL DOC-USR-0030-12 RUNNING THE DECODER This section gives step-by-step instructions on taking the Z3-DM8107-SDI-RPS and using it for decode. 8.1 Connect the Output (1) Connect a BNC cable to the SDI Out on the Z3-DM8107-APP-10: SDI Out Figure 31 HDMI Out on the Z3-DM8107-APP-10 (2) Connect the other end of the BNC cable to an HD Monitor with SDI input (or use an SDI->HDMI...
Decoder board (192.168.81.7 in this example). Using multicast allows you to also open VLC and view the stream from there: Figure 32 Encoder Settings for Sample Decode ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
“DM8107-SDI-RPS Decoder” and settings for Display Mode, Resolution, and Layout will appear: New Settings for Display Appear Figure 34 System Setup in Decoder Mode ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
(10) 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...
(1) Run the Web Interface (Steps (1)-(9) in Section 7.0). (2) Select “update device firmware” from the main screen: Click here Figure 36 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...
(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...
(here, 192.168.0.6 is the IP address of the PC, and 255.255.0.0 is the netmask): /home/z3/z3-dm810x/filesys/fs 192.168.0.6/255.255.0.0(no_root_squash,insecure,nohide,rw,async) (c) Start the NFS server (11) # sudo service nfs-kernel-server restart ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Modify to match the IP address you want the target board to be Modify to match your tftp and nfs configuration (see below) Figure 38 Editing u-boot-env-dm810x-rdk.txt ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
(3e). Press the space bar to tag the file. Then, use the left and right arrow keys to select “Okay”. Press <return>. ___________________________________________________________________________________________ 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.
11.0 USING THE PASSWORD FEATURE The Z3-DM8107-SDI-RPS includes an optional password to prevent unauthorized users from accessing the Web GUI. The steps for using it are shown below: (1) In the System Setup tab, click on “go” next to “Set Password”: Click here Figure 41 Selecting “Set Password”...
Use “admin” for the user name and the value you had entered before for the password: (5) You should now be able to access the web GUI. Figure 43 Password Entry Screen ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Clicking this causes the Z3-DM8107-SDI-RPS to extract a set of diagnostic logs that can be sent to Z3 Technology in the event of an issue to be reported. This file is saved on the PC which the GUI is being run from.
“settings.z3” on the host PC. These can be subsequently reloaded with the “import” command. import Load settings from a previously exported file. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
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...
0 – 3000 (2000) # of ms to buffer. The higher the value, the smoother the encode, but also the higher the latency. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 55
If an issue is encountered with a specific decoder, please try setting this value to the same value as video delay. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 56
UDP stream True to be saved to a ts file. The name of the file is specified in “Aux ts file location.” ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 57
Current status of the encoder. “POLLING” POLLING indicates “start” was pressed and the encoder is waiting for valid input data to be detected. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
AUTO, HDMI and SDI Where to output audio. 12.7 The CH2 Tabs (Please see the CH1 Encode/Decode values for a detailed explanation) ___________________________________________________________________________________________ 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...
NAND: setting chip delay to 15us HW ECC BCH8 Selected 256 MiB @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@ @@ @@ @@ @@ @@ @@ @@ ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 61
### Reserved DDR region @8ff00000 reserved size = 20971520 at 0x0 FB: Reserving 20971520 bytes SDRAM for VRAM setting z3_edma_mem_size to 10485760 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 62
TI81XX: Map 0x40300000 to 0xfe600000 for sram barrier omap_voltage_early_init: voltage driver support not added regulator: core version 0.5 regulator: dummy: NET: Registered protocol family 16 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 63
6f6ad77e musb-hdrc musb-hdrc.0: MUSB HDRC host driver musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 64
MMIO 0x48022000 (irq = 73) is a OMAP UART1 omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2 brd: module loaded loop: module loaded ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 65
UBI: number of user volumes: 1 UBI: available PEBs: 0 UBI: total number of reserved PEBs: 1601 UBI: number of PEBs reserved for bad PEB handling: 48 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 66
(rev 20090105) can: broadcast manager protocol (rev 20090105 t) lib80211: common routines for IEEE802.11 drivers Registering the dns_resolver key type ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 67
Use FPGA slave parallel mode Design filename fpga_0003_02.ncd;UserID=0xFFFFFFFF Part num len=13 Part number 6slx16csg324 Date 2014/02/22 Time 13:13:32 Bitstream size 464196 fpga_write: init_b low ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 68
Starting telnet daemon. Starting web configurator NET: Registered protocol family 10 ** Point your browser to http://192.168.81.7 Starting zfinder daemon. Starting Z3 demo ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 69
; type=BOOLEAN,access=rw------,values=1 : values=off numid=88,iface=MIXER,name='Right PGA Mixer Mic3L Switch' ; type=BOOLEAN,access=rw------,values=1 : values=off Setting L3 bandwidth regulator for [HDVICP0 ] to [press=[3,3] BW=2000, ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 70
| M - Change mode enc_int_prog | C - Config Multi-Program TS name : mpts1 | enabled : n | Preset: serial_menu ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 71
| 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 ...
Page 73
When contacting Z3 Support for additional support, please click the “download device logs” button in the GUI at the time the problem occurs and send the resulting .gz file to Z3 Technology. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8...