background image

1

 

 

CONFIDENTIAL 

DOC-USR-0097-05 

 

____________________________________________________________________________________

 

Z3 Technology, LLC 

 100 N. 8th St. STE 250 

 Lincoln, NE 68508-1369 USA 

 +1.402.323.0702 

 

 

 

User Instructions 

HD HEVC/H.265 Encoding System 

Rapid Production Starter Kit 

Model Name:

 

Z3-HE1080-RPS

 

 

 

 

 

DOC-USR-0097-05 

Manual Version 2.1 

May 23, 2018 

 

 

 

Before attempting to connect or operate this product, please read these instructions carefully and save this manual for future use. 

 

This document contains proprietary 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 reserves the right to change this product at 

any time and without notice. All product names, trademarks, trade names, service marks, or service names mentioned in this document are the 

property of their respective owners. 

 

 

 

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. 

Summary of Contents for Z3-HE1080-RPS

Page 1: ...se This document contains proprietary 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 reserves the right to change this product at any time and without notice All product names trademarks trade names service marks or service names mentioned in this document a...

Page 2: ...cument TA RL 1 04 06 23 2016 Version number matches software release Corrected minor spelling and grammar errors Updated Section 6 14 instructions TA RL 1 04a 07 07 2016 Corrected Figures 8 and 9 TA 2 00 11 22 2016 Added sections on RTMP streaming recording to USB simultaneous streaming in multiple resolutions simultaneously streaming and recording and the advanced settings mode Updated screenshot...

Page 3: ...and Running the Make Script 11 CODE OVERVIEW 13 6 1 The z3apps rdk Directory 13 6 2 Z3 Application Overview 13 RUNNING THE ENCODER 15 7 1 Set up the Video Source 15 7 2 Connect the Encoder 15 7 2 1 Encoding HEVC Interlaced Streams 16 7 3 Set up the Terminal Window 16 7 4 Power on the Board 16 7 5 Verify your PC has the Proper IP Address 17 7 6 Access the User Interface 17 7 7 Configure Channel 1 f...

Page 4: ...Accessing the User Interface using ZFinder 37 8 2 Saving Current Settings 38 8 3 Advanced Settings Mode 39 8 4 Changing the IP Address via Serial 41 8 5 Changing the IP Address via the HTTP based User Interface 42 RUNNING THE CODE YOU BUILT ON THE BOARD 44 9 1 Via SD Card 44 9 2 Via User Interface 46 SUMMARY OF OPTIONS 48 10 1 The System Setup Tab 48 10 2 The User Presets Tab 49 10 3 The Status Ta...

Page 5: ...8 Channel 1 Tab SDI Encode 28 Figure 19 Composite Adapter Cable 29 Figure 20 Channel 1 Tab Composite Encode 30 Figure 21 Viewing Bitrate in VLC 30 Figure 22 Changing the Bitrate Dynamically 31 Figure 23 Drop in Bitrate after Dynamic Bitrate Change 31 Figure 24 Create Additional Output Channels 32 Figure 25 Channel 1 Tab ts File Encode 33 Figure 26 Enabling Zixi FeederTM Encode 34 Figure 27 Enablin...

Page 6: ...it supporting HEVC H 265 encode in resolutions up to 1080p at 60 fps The hardware consists of one Z3 HE1080 MOD xx System on Module card with one Z3 HE1080 APP 0x application board The software consists of Linux kernel and application packages to allow users to develop their own advanced multimedia applications The Z3 HE1080 MOD xx is a compact OEM module which supports HEVC H 265 and H 264 High P...

Page 7: ...sources such as the Linux kernel u boot tool chain and starter file system pre integrated and configured The software bundle also contains tools to allow the development of high level applications using hardware accelerated video processing Those customers that license the optional source code package can also receive source code for Z3 s demonstration applications providing an ideal starting poin...

Page 8: ...________________________________________________________________ Z3 Technology LLC 100 N 8th St STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 The following figure shows a block diagram of the Z3 HE1080 RPS system Figure 3 Z3 HE1080 RPS Block Diagram ...

Page 9: ...ata are also described 2 2 If You Already Have a System from Z3 and Need to Update the Firmware There are several options for updating the firmware on your RPS by following the instructions in Section 9 0 RUNNING THE CODE YOU BUILT ON THE BOARD on page 44 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 SAMP...

Page 10: ...mats Supports unicast and multicast streaming Supports on the fly bitrate changes HTTP based configuration software for user friendly configuration control and update RS 232 serial port for technical configuration and control 4 1 Supported Input Resolutions Encoder HDMI 1080i60 1080p60 1080p59 94 1080i50 1080p50 1080p30 1080p29 97 1080p25 p1080p24 1080p23 98 720p60 720p59 94 720p50 720p30 720p29 9...

Page 11: ...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 apt get install gcc multilib sudo dpkg add architecture i386 sudo apt get update sudo apt get install libc6 i386 libncurses5 dev i386 libstdc 6 i386 zlib1g i386 For 64 bit Fedora you can type sudo yum install glibc i686 For Ubuntu chang...

Page 12: ...htly vary cd SW BH1 00643 01_HE1080 20160608 makeall Note Building can take around 15 20 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 ti...

Page 13: ... mcsenc binary which initializes and runs the encoder This binary is built from the z3apps hevc_app encode_app directory The code for the binary resides in z3apps hi35xx_app encode_app The z3apps hevc_app directory is described in more detail in the next section 6 1 The z3apps rdk Directory There are three main subdirectories encode_app hevc_audio and scripts 6 1 1 encode_app This directory contai...

Page 14: ...th St STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 6 2 2 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 hevc_app encode_app The top level file for the menu driven application is mcsenc cpp ...

Page 15: ...is document 7 1 Set up the Video Source Select an HD source with non HDCP HDMI output 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 1080p or 1080i output If your source is a media player select content you would like to stream If you see playback on the monitor you ve confirmed the source works 7 2 Connect the Encoder Connect...

Page 16: ... vf tinterlace merge option is what tells ffplay what to do with the interlaced fields 7 3 Set up the Terminal Window If you are running from a Windows PC we recommend running TeraTerm for serial configuration and monitoring Select Setup Serial Port and use the following settings Port Whichever serial port the port is connected to Baud Rate 115200 Data 8 bit Parity None Stop 1 bit Flow Control Non...

Page 17: ...he case If necessary use the P and N options to modify the address network of the board to conform to your network Note The first two parts need to be the same based on the netmask set to 255 255 0 0 If netmask were 255 255 255 0 for example then the first three parts of the IP address would have to be the same After you are done make note of the address your PC is set to This will be important in...

Page 18: ...18 CONFIDENTIAL DOC USR 0097 05 ____________________________________________________________________________________ Z3 Technology LLC 100 N 8th St STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 ...

Page 19: ... 265 HEVC and H 264 AVC are supported In the pictured example verify Video Codec is set to H265 HEVC Set Output Format to UDP You can set Dest Address to a the IP address of your PC that will be running VLC media player in the pictured example 192 168 0 6 b or to a multicast address An example multicast address would be 225 1 2 3 If you are on a shared network check with your Network Administrator...

Page 20: ... VLC media player on your PC Select Media Open Network Stream In the box type udp 192 168 0 6 8600 where 192 168 0 6 matches the values of the computer IP address or multicast address entered for Dest Address previously and 8600 is the value of Dest Port noted previously Press Enter or click Play You will now see your source video streaming to VLC Figure 9 Example of Encoded Video Streaming to VLC...

Page 21: ...t Resolution to 1920x1080 or Follow Input Select the codec you would like to use for your encoding Both H 265 HEVC and H 264 AVC are supported In the pictured example Video Codec is set to H265 HEVC in the dropdown menu Verify the codec under Audio Info is set to the codec you would like to use for your encoding Both AACHE and AACHEv2 are supported In the pictured example Codec is set to ARM AACHE...

Page 22: ...rive provided with your system Open VLC media player Select Media Open File In the file type dropdown menu select All Files Find and select the SDP file corresponding to the video and audio codec you selected previously a H265 HEVC video AACHE audio use the SDP file entitled z3 netra_h265_aache sdp b H265 HEVC video AACHEv2 audio use the SDP file entitled z3 netra_h265_aachev2 sdp c H264 AVC no au...

Page 23: ...of any tab At the CH1 tab verify the Video Source is set to HDMI using the dropdown menu Verify Output Resolution to 1920x1080 or Follow Input Select the codec you would like to use for your encoding Both H 265 HEVC and H 264 AVC are supported In the pictured example Video Codec is set to H265 HEVC in the dropdown menu Set Output Format to RTSP Note By default a limited selection of video encoding...

Page 24: ...is the IP address of the Z3 HE1080 RPS default 192 168 0 120 ch is 1 for CH1 and m is added if a multicast address is being streamed For example if the IP address of the Z3 HE1080 RPS is the default value of 192 168 0 120 encode is being done from CH1 and unicast streaming is being done the user would type in rtsp 192 168 0 120 z3 1 mp4 Note VLC version 2 1 5 or later is needed for RTSP support Pr...

Page 25: ...creen of any tab At the CH1 Tab set Output Format to RTMP The Dest Address textbox should be formatted as IP_address port application stream_name where the IP address is the address of the PC with the Wowza server installed port refers to the port used on this PC application will need to match the application used in Wowza and the stream name is of your choosing For the pictured example enter 192 ...

Page 26: ... the Wowza Streaming Engine to View RTMP Stream Go to a PC that is on the same network as the Wowza server and open a web browser in this example FireFox is used Type in the URL of the Wowza server with the port 1935 in this example 192 168 0 4 1935 This will bring up the Wowza home page Log in with your user name and password At the top you will see four options Home Server Applications and Help ...

Page 27: ...1 402 323 0702 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 MVE 250 and click Start You will then see the content streamed from your Z3 product Figure 17 Viewing Content on Wowza 1 Select Adobe RTMP tab 2 Type stream name 3 Click Start 4 Audio and Video start to appear ...

Page 28: ...ecessary click on the Stop button in the Channel Controls section of the user interface CH1 tab or the Stop All button in the lower right corner of the screen of any tab At the CH1 tab change the Video Source to HD SDI using the dropdown menu Though HD SDI is listed this selection supports up to 3G SDI resolutions Verify your remaining settings are as desired See Section 10 0 for a detailed list o...

Page 29: ...output of your video source Connect the red and white connectors to the analog audio outputs of your video source Connect black connector to A V In on the RPS Return to the user interface If necessary click on the Stop button in the Channel Controls section of the user interface CH1 tab or the Stop All button in the lower right corner of the screen of any tab At the CH1 tab change the Video Source...

Page 30: ...erify the unit is currently encoding and streaming to the VLC media player In VLC click on Tools and select Codec Information Select the Statistics tab In this tab you can see the current video audio bitrate Changing the bitrate is supported through serial control Return to your serial terminal enter D and press enter to display dynamic options Enter 1 and press enter to select the Bitrate option ...

Page 31: ...250 Lincoln NE 68508 1369 USA 1 402 323 0702 Enter B for the Update Bitrate option and press enter to set the new bitrate You will see the quality of the encoded video in VLC change and the video bitrate drop Change bitrate to 2M Figure 22 Changing the Bitrate Dynamically Figure 23 Drop in Bitrate after Dynamic Bitrate Change Lower video audio bitrate ...

Page 32: ...0 Record to USB The Z3 HE1080 RPS supports writing encoded video to a storage device connected to the USB port in ts file format Connect a USB flash drive or other USB storage device to one of the USB inputs on the back of the unit Note The USB drive must be formatted in either FAT32 VFAT EXT3 or EXT4 format If necessary click on the Stop button in the lower right corner of the screen of the user ...

Page 33: ...to your PC and opening the newly created ts file in VLC media player Note The PC should be at least a quadcore or 8 core PC If the PC is too slow frame skips and possibly video artifacts will be observed upon playback VLC should be version 2 1 3 or newer 7 21 Simultaneous Stream and Record When streaming UDP or TSRTP the TS stream can be simultaneously saved to a file on a USB storage device 1 Con...

Page 34: ...ontrols section of the user interface CH1 tab or the Stop All button in the lower right corner of the screen of any tab Set Output Format to ZIXI Set the Dest Address to address port streamid where a address is the IP address of the decoder b port is the port of the decoder c streamid is any stream ID or name you select for example 192 168 0 6 2088 z3 The Zixi percent overhead can be adjusted by e...

Page 35: ... the FEC Enable dropdown will become visible Change the value for FEC Enable to True This will allow for setting the number of FEC columns and rows The default setting is 5x1 This is a medium level of coverage that will work in many situations The number of columns multiplied by the number of rows must be less than or equal to 100 so 10x10 would be an example of the maximum coverage Keep in mind l...

Page 36: ...eveal the KLV Pid KLV Bitrate KLV Mode and KLV source settings Set the desired PID value Most applications will dynamically find any PID with KLV The default KLV bitrate of 1000 bps is usually sufficient If a higher data rate is expected set the bitrate higher Set the KLV Mode to SDI The other option is FILE which will take a binary file of captured KLV data as it s source With SDI selected a gv76...

Page 37: ...ems connected to the network In this case the Z3 HE1080 RPS appears Click on the Z3 HE1080 RPS entry in the window to select it This will cause the Edit Device Open Device and Flash LEDs boxes to activate Figure 29 ZFinder with Z3 HE1080 RPS Selected Note Selecting Edit Device allows for manual changes to network settings including the Device Name IP Address Netmask and Gateway address Selecting F...

Page 38: ...the preset dropdown menu at the bottom of the screen As soon as you select a new preset the screen will reload Change your desired settings Once your changes have been set in this configuration click on the Save button A pop up window appears to confirm the saving of these settings is complete Click OK Note The very first time settings are saved may take up to 30 seconds This is due to some flash ...

Page 39: ...n visible To do this see Section 8 2 Saving Current Settings 2 Return to the System Setup tab 3 Select your newly created configuration from the preset dropdown menu at the bottom of the screen 4 As soon as you select your preset the screen will reload 8 3 2 Access Advanced Settings 5 Under Device Setup check the Advanced Settings box 6 Click on the Save button 7 A pop up window appears with a mes...

Page 40: ..._____________ Z3 Technology LLC 100 N 8th St STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 9 You can return to the use of limited settings by un checking the Advanced Settings box in the System Setup tab and saving that to the preset Figure 34 Default UDP Settings Left and Advanced UDP Settings Right ...

Page 41: ... following will be seen U Boot 2010 06 dirty Apr 05 2016 16 08 07 NAND Check nand flash controller v610 found Special NAND id table Version 1 36 Nand ID 0xC8 0xDA 0x90 0x95 0x44 0x7F 0x7F 0x7F Block 128KB Page 2KB Chip 256MB 1 OOB 64B ECC 4bit 512 256 MiB Check spi flash controller v350 Found Spi cs1 ID 0xC2 0x20 0x19 0xC2 0x20 0x19 Spi cs1 Block 64KB Chip 32MB Name MX25L 256 257 35 E F In serial ...

Page 42: ...onfiguration so that the manual networking settings are used the next time the system boots up To do this see Section 8 2 Select your newly created configuration from the preset dropdown menu at the bottom of the screen As soon as you select your configuration the screen will reload Return to the System Setup tab Enter in your desired network settings including Local IP Address Local Netmask Defau...

Page 43: ...dow pops up reminding the user that for changes to IP Address Netmask Gateway to take effect a reboot is required and asking if a reboot is desired Click Ok and then Ok to the Are you sure window after that to start rebooting Note The very first time settings are saved it may take up to 30 seconds This is due to some flash initialization which occurs on the very first configuration save Figure 36 ...

Page 44: ... the SD card Model Brand Size Note SDSDUN 008G G46 Sandisk 8 GB 3FMUSD16GBC10 R Wintec 16 GB Micro SD requires an adapter B000YH5FOK Sandisk 2 GB Format the SD card a Plug the SD card into the SD card reader on your Windows PC b When the device is mounted in the filesystem window right click on the device and select Format c In the format window select the default filesystem from the File system d...

Page 45: ...2 323 0702 Once the formatting is complete you will see a pop up window Click OK Copy your desired img file to the SD card using your file browser Once the copy is complete eject the SD card from your PC Verify the Z3 HE1080 RPS is powered off Insert the SD card and power on the system Figure 38 Format SD Card for Software Update Figure 39 SD Card Connection for Software Update SD Card ...

Page 46: ...ollowing The process will take about three minutes to complete The status LED s will turn green once the update is complete The SD card can be removed at this point and the device can be found on Zfinder 9 2 Via User Interface 1 Run the Web Interface See Section 7 6 or 8 1 2 Click the Update device firmware button from the System Setup tab Figure 40 Serial Output During Software Update Figure 41 U...

Page 47: ...to the update image screen In this screen click on the Choose File button 4 This brings you to the File Selection Screen Navigate to the img file to update with and click Open 5 Click on Upload and Update 6 You will see screens stating that the image is being uploaded and that the flash is being updated After about one minute you should see the main menu again 7 Your encoder is now updated Figure ...

Page 48: ...c d 8 8 8 8 Used to specify the DNS server for hostname lookup when in static IP mode DNS Server IP 2 e f g h 8 8 4 4 Used to specify the secondary DNS server for hostname lookup when in static IP mode Use DHCP Checked Unchecked Sets whether DHCP is used to dynamically obtain an IP address at start up Device Setup Auto Start Checked Unchecked Check this box to set the system to automatically start...

Page 49: ...ames per second of encoder Actual FPS Actual frames per second being encoded Key frame FPS of key frames per second for example a value of 0 5 means a key frame is inserted every two seconds Width Width of encoded picture Height Height of encoded picture A small i will appear if interlaced is being encoded Audio Status Channel The channel number 1 3 Subchannel Always 1 in this release Codec The co...

Page 50: ...ution Note 1 Video Codec H265 HEVC H264 AVC MJPEG Selects the codec used for compression of the output video stream MJPEG is only available when RTP or RTSP are selected as the Output format Video Profile H264 AVC Only High Main Baseline The H 264 profile of the bitstream Generally High is used for 1080p or greater Main for D1 and Baseline for less than D1 Video Rate Control VBR CBR Selects the en...

Page 51: ... for audio encode Sample Rate 48000 Hz 44100 Hz 32000 Hz 16000 Hz Sample rate of audio Bit Rate 12 384 Kbps 128 Kbps Target bitrate for audio encode The bitrate range for AACLC is 12 384 Kbps though 64 Kbps or higher is recommended for best results The bitrate range for AACHE and AACHE V2 is 32 64 Kbps Rtp Port RTP Only 0 9999 8700 Destination port for RTP audio Pid UDP TSRTP TSFILE ZIXI Only 0 81...

Page 52: ...nation of the encoded stream Dest Port 0 9999 8600 The destination port that the encoder is streaming to Aux TS File Enable UDP TSRTP Only True False Set to True to allow the same UDP or TSRTP stream to be saved to a ts file Output Device TSFILE Aux TS File Only Click this field to select the detected USB storage device for ts file destination File Prefix TSFILE Aux TS File Only MOV1_ Textbox to e...

Page 53: ...er a valid Wowza user name Password RTMP Only Enter a valid Wowza password Dest Address ZIXI Only Sets desintation of Zixi FeederTM stream Should be formatted as address port streamid Zixi Auth Enable ZIXI Only True False Selecting True allows for entering valid Zixi user credentials User ID ZIXI Only Allows for entering valid Zixi user ID Zixi Overhead ZIXI Only 1 100 Adjust Zixi percent overhead...

Page 54: ...olution detected Note 2 If input is interlaced then Frame Rate will divide the number of fields used This means a conversion to progressive is done This method allows for a reduction in bits needed processing power without introducing extra jerkiness when there is motion in the video For example if the input is 1080i at 60 fields per second 30 frames per second Frame Rate Divider has the following...

Page 55: ...1280x720 Follow Input The encode resolution If this resolution is different from the capture resolution 3840x2160 resizing will occur CH3 Defaults Parameter Options default in bold Description Encoder Setup Output Resolution 320x180 12560x1440 720 480 Follow Input The encode resolution If this resolution is different from the capture resolution 3840x2160 resizing will occur Video Bitrate 2K 40M 2M...

Page 56: ... Parameter Options default in bold Notes preset encoder any user defined profiles new preset The preset configuration file selected for use encoder factory defaults Create more profiles by selecting new preset Save Button Click to save preset value to the selected configuration Stop All Button Stop all current encode sessions Encode must be stopped in order for settings to be altered Start All But...

Page 57: ...ng from your encoder the following steps are needed Log in to the Wowza Streaming Engine Manager Home page by typing http localhost 8088 where localhost is the IP address of the server in this User s Guide 192 168 0 4 Click on Server in the top band of options On the left column click on Performance Tuning and then Java Settings Click Edit and then change Java Heap Size to Production Level and Jav...

Page 58: ...shing and RTSP Publishing are both set to Open and Client Restrictions is set to No client restrictions Then click Save The Wowza server is now configured to work with your Z3 encoder Note You can also specify Require password authentication for RTMP Publishing In this case Authentication on the channel tab needs to be enabled and a valid Wowza user name and password needs to be entered to success...

Page 59: ... for 1080p decode on VLC Does the PC have enough DDR to handle 1080p decode on VLC Is VLC version 1 1x or later Problem Do not see video in VLC RTP One of the provided SDP files is required Is the correct SDP file being used H265 HEVC video AACHE audio use the SDP file entitled z3 netra_h265_aache sdp H265 HEVC video AACHEv2 audio use the SDP file entitled z3 netra_h265_aachev2 sdp H264 AVC no aud...

Reviews: