background image

16

 

 

CONFIDENTIAL 

DOC-USR-0101-01 

 

____________________________________________________________________________________

 

Z3 Technology, LLC 

 100 N. 8th St. STE 250 

 Lincoln, NE 68508-1369 USA 

 +1.402.323.0702 

 

   RUNNING THE ENCODER 

7.0

 

This section gives step-by-step instructions on HEVC/H.265 encoding with the HE4K-DCK-RPS and streaming 
2160p30 video from the Sony FCB-ER8300 to a PC media player. In addition to the HE4K-DCK-10 encoder 
boards and provided accessories, you will need the following: 
 

 

Sony FCB-ER8300 4K Camera Block 

 

Ethernet Cable 

 

A PC with VLC media player 

 

The SDP file provided with your Z3 software release (see your customer support server account) 

 

*Note:

  

The Sony FCB-ER8300 does not support audio. 

 

7.1

 

 Connect the Encoder 

 
The Interface Front End PCB of the HE4K-DCK-10 assembly (see 

Figure 3

) has a 30-pin KEL connector that 

allows a flexible ribbon cable to be used to connect the encoder assembly to an identical connector on the 
Sony FCB-ER8300 4K camera block. 
 

WARNING: ONLY USE THE CORRECT KEL RIBBON CABLE. 
Using an incorrect cable can permanently damage the camera body.  See the HE4K-DCK-10 Hardware 
Specification for more information. 

 

 

 

Connect the Z3 approved KEL ribbon cable from the “Interface Front End PCB” of the HE4K-DCK-10 

(1)

assembly (see 

Figure 3

to the Sony FCB-ER8300. 

 

Connect the supplied 2.5 mm serial cable and gender changer to the serial console of the “Main 

(2)

Encoder PCB” of the HE4K-DCK-10 assembly (se

Figure 3

) and to your PC.  

(A USB to Serial converter may be needed.  If so, the FTDI UC232R-10 (Digikey part #768-1014-ND) is 
recommended.) 

 

Connect an Ethernet cable to the “I/O Jack and PoE PCB” of the HE4K-DCK-10 assembly (see 

Figure 

(3)

3

) and a switch or router on the same network as your PC or directly to your PC.  

 
 

 

Summary of Contents for HE4K-DCK-RPS

Page 1: ... product please read these instructions carefully and save this manual for future use 2016 Z3 Technology LLC All rights reserved 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 Z3 Technology LLC incorporates HD...

Page 2: ..._________________________________________________________________________ Z3 Technology LLC 100 N 8th St STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 Revision History Version Date Change Note Author 1 0 0 07 21 2016 Original Document TA JW ...

Page 3: ...E OVERVIEW 14 6 0 6 1 The z3apps rdk Directory 14 6 2 Z3 Application Overview 14 RUNNING THE ENCODER 16 7 0 7 1 Connect the Encoder 16 7 2 Set up the Terminal Window 17 7 3 Power on the Board 18 7 4 Verify your PC has the Proper IP Address 18 7 5 Run the HTTP based User Interface to Configure Channel 1 for Streaming UDP 19 7 6 Run VLC to View the UDP Stream 21 7 7 Configure Channel 1 for Streaming...

Page 4: ...____________________________________________________________________ Z3 Technology LLC 100 N 8th St STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 10 2 The CH1 Tab 36 10 3 Values Appearing at the Bottom of All Tabs 37 APPENDIX A Troubleshooting 38 ...

Page 5: ... 21 Figure 10 Example of Encoded Video Streaming to VLC UDP 21 Figure 11 CH1 Tab RTP Configuration 22 Figure 12 Example of Encoded Video Streaming to VLC RTP 23 Figure 13 CH1 Tab RTSP Configuration 24 Figure 14 VLC Open Network Screen for RTSP 25 Figure 15 Example of Encoded Video Streaming to VLC RTSP 25 Figure 16 Viewing Bitrate in VLC 26 Figure 17 Changing the Bitrate Dynamically 26 Figure 18 D...

Page 6: ...sists of Linux kernel and application packages to allow users to develop their own advanced multimedia applications The HE4K DCK 10 boards feature on board interfaces including GigE USB 2 0 RS 485 Microphone Input and Composite Out These features combined with the existing capabilities of the FCB ER8300 4K camera block allow for a complete compact HEVC 4K IP streaming solution Users are also able ...

Page 7: ... 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 point for custom applications Z3 Technology can provide services to customize ...

Page 8: ..._______ Z3 Technology LLC 100 N 8th St STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 The following block diagrams illustrate the I O and physical layout of the HE4K DCK 10 camera dock video encoder system Figure 2 HE4K DCK RPS Block Diagram Figure 3 HE4K DCK RPS Physical Block Diagram Chassis Not Included ...

Page 9: ...P from the RPS 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 33 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 SAMPLE CODE ...

Page 10: ...and H 264 Simultaneously output two different resolutions from a single video source Pass VISCA camera control commands over IP Low bandwidth low latency video encoding Inputs Video from Sony FCB ER8300 via KEL ribbon cable microphone and optional Micro HDMI Outputs Composite Additional Interfaces include Gigabit Ethernet USB 2 0 Micro SD Card and RS 232 Serial Supports streaming in MPEG 2 TS UDP ...

Page 11: ..._______________________________________________________________________ Z3 Technology LLC 100 N 8th St STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 4 1 Supported Resolutions Follow_input 2160p29 97 Resize to 1080p29 97 720p29 97 and 480p29 97 ...

Page 12: ...e 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 change sh...

Page 13: ... vary cd SW CH1 00657 01_HE4K DCK 10 20160721 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 t...

Page 14: ...t 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 conta...

Page 15: ...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 16: ...E4K DCK 10 assembly see Figure 3 has a 30 pin KEL connector that allows a flexible ribbon cable to be used to connect the encoder assembly to an identical connector on the Sony FCB ER8300 4K camera block WARNING ONLY USE THE CORRECT KEL RIBBON CABLE Using an incorrect cable can permanently damage the camera body See the HE4K DCK 10 Hardware Specification for more information Connect the Z3 approve...

Page 17: ...g 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 None If you are running from Linux type 5 sudo minicom s And then configure by doing the following Select Serial Port Setup Ensure the right Serial Device is specified typically dev ttyUSB0 Set option E Bps Par Bits to 115200 ...

Page 18: ...by default This is the IP address of the board You will need this later to access the HTTP based user interface 7 4 Verify your PC has the Proper IP Address To be able to communicate with the encoder assembly the PC that you are communicating from needs to have the same first two parts of the IP address For example if the board has an IP address of 192 168 0 120 your PC would need to have an addre...

Page 19: ...the IP address of the RPS 192 168 0 120 by default into the URL text box The HTTP based graphical user interface GUI appears at the CH1 tab Note Settings in the user interface cannot be changed if the unit is currently encoding Click the red Stop button at the bottom of any screen to stop any current encoding 10 At the CH1 tab verify the Video Source is set to HDMI using the dropdown menu Always s...

Page 20: ..._____________ Z3 Technology LLC 100 N 8th St STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 Figure 8 CH1 Tab UDP Configuration 5 Change to UDP 1 If necessary click Stop 8 Click Start 2 Verify Is HDMI 3 Change to Follow input 4 Verify Is H265 HEVC 6 Set to PC IP Address or Multicast Address 7 Note value ...

Page 21: ... and VLC version used must support H 265 HEVC 18 Select Media Open Network Stream In the box type udp 192 168 0 6 8600 where 19 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 20 You will now see your source video streaming to VLC 21 Figure 10 Example of ...

Page 22: ...ton at the bottom of any screen to stop any current encoding 23 At the CH1 tab verify the Video Source is set to HDMI using the dropdown menu 24 Verify Output Resolution is set to Follow Input 25 Select the codec you would like to use for your encoding Both H 265 HEVC and H 264 AVC are 26 supported In the pictured example Video Codec is set to H265 HEVC in the dropdown menu Set Output Format to RT...

Page 23: ...am from the HE4K DCK RPS in the VLC media player Open VLC media player 29 Select Media Open File 30 In the file type dropdown menu select All Files 31 Find and select the SDP file corresponding to the video codec you selected previously 32 a H265 HEVC video use the SDP file entitled z3 h265 he4k dck sdp b H264 AVC use the SDP file entitled z3 h264 he4k dck sdp Click Open 33 You will now see video ...

Page 24: ...at the bottom of any screen to stop any current encoding 36 At the CH1 tab verify the Video Source is set to HDMI using the dropdown menu 37 Verify Output Resolution to 1920x1080 or Follow Input 38 Select the codec you would like to use for your encoding Both H 265 HEVC and H 264 AVC are 39 supported In the pictured example Video Codec is set to H265 HEVC in the dropdown menu Set Output Format to ...

Page 25: ...the IP 43 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 HE4K DCK 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 Pre...

Page 26: ...coder Verify the unit is currently encoding and streaming to the VLC media player 1 In VLC click on Tools and select Codec Information 2 Select the Statistics tab In this tab you can see the current video audio bitrate 3 Changing the bitrate is supported through serial control Return to your serial terminal 4 Enter 5 and press enter to select the Bitrate option 5 Change the bitrate from 4M to 2M a...

Page 27: ...chnology LLC 100 N 8th St STE 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 7 You will see the quality of the encoded video in VLC change and the video bitrate drop 8 Figure 18 Drop in Bitrate after Dynamic Bitrate Change Lower video audio bitrate ...

Page 28: ... Lincoln NE 68508 1369 USA 1 402 323 0702 7 12 Tuning for Latency If streaming to the VLC media player latency can be reduced on the decode side by adjusting the network caching value 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 ...

Page 29: ...ny screen select new preset 1 A text will appear Enter your desired preset name In the pictured example z3_config1 is used 2 Click ok 3 Select your newly created configuration from the preset dropdown menu at the bottom of the 4 screen As soon as you select a new preset the screen will reload 5 Change your desired settings 6 Once your changes have been set in this configuration click on the Save b...

Page 30: ...set in u boot This can be changed via serial With the serial console connected reboot the board and interrupt the boot in u boot by pressing any 1 key If successful the 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 6...

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

Page 32: ...ow pops up reminding the user that for changes to IP Address Netmask 6 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 23...

Page 33: ...YOU BUILT ON THE BOARD 9 0 1 Access the web based user interface 2 Select update device firmware from the System Setup tab 3 This brings you to the update image screen In this screen click on Browse 4 This brings you to the File Selection Screen From here select the name of the img file to update with and click Open Click here Figure 24 Updating the Device Firmware from the User Interface Figure 2...

Page 34: ...NE 68508 1369 USA 1 402 323 0702 The image file to be used will typically have the word upd in the name 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 HE4K DCK RPS is now updated Figure 26 Example File Selection Screen ...

Page 35: ...value to take effect When in DHCP mode this field is not applicable Default Gateway 192 168 a b 192 168 0 1 Sets the network gateway to use for the unit Note that a save of these settings and a reboot is needed for changes to this value to take effect When in DHCP mode this field is not applicable DNS Server IP 1 a b c d 8 8 8 8 Used to specify the DNS server for hostname lookup when in static IP ...

Page 36: ...r Sixth Used to encode at less than the input frame rate for example an input frame rate of 30fps with Half selected would cause an output stream of 15fps If interlaced input is used then this is used to reduce the number of fields being encoded GOP Size 10 240 Frames 60 Frames I frame frequency Video max delay 300 Textbox for entering maximum delay Output Format UDP RTP RTSP TSRTP Output format o...

Page 37: ...nput Generate encoder resolution based on capture resolution detected 10 3 Values Appearing at the Bottom of All Tabs Parameter Options default in bold Notes preset encoder any user defined profiles new preset The preset configuration file to use encoder factory defaults More profiles by selecting new preset Save Click on this to save selected values to the current preset Stop Stop encode Encode m...

Page 38: ...rom the encoder Problem Do not see video in VLC UDP Does the IP address set in Dest Address equal the IP address of the PC running VLC Does the port number in Dest Port equal the value entered in the URL for VLC Was included in the UDP address for VLC Is the PC fast enough for 1080p decode on VLC Does the PC have enough DDR to handle 2160p decode on VLC Is VLC version 1 1x or later Problem Do not ...

Reviews: