background image

 

                

CONFIDENTIAL

                                          DOC-USR-0061-01

 

 
 

___________________________________________________________________________________________ 

Z3 Technology, LLC 

 100 N 8

th

 ST, STE 250 

 Lincoln, NE 68508-1369 USA 

 +1.402.323.0702 

23 

6.9

 

 Tuning for Latency 

 

For latency, the key parameters to work with are Maximum Delay and Number of B-frames. 

 
Maximum Delay defines the number of milliseconds of buffering the encoder has to work with.  The 
higher this value, the more buffers it has to work with and the more time it has to “smooth things out” 
for challenging content.  However, a higher value also causes latency to increase accordingly.  To 
minimize latency, this value should be set to the lowest possible value.  The lowest value Z3 
recommends is 100. 

 
B-frames improve the quality of the picture, but they also increase the latency by 1 frame time.  To 
minimize latency, B-frames should be disabled (done by setting “Number of B-frames” to 1). 

 

The table below shows the suggested values for Maximum Delay and Number of B-frames for three 
common use cases: 
 

 

Maximum Delay 

# of B-frames 

Case 1:  Highest Quality, Highest Latency 

3000 

Case 2:  Good Quality, Standard Latency 

2000 

Case 3:  Normal Quality, Lowest Latency 

100 

 

Figure 23  Tuning for Various Use Cases 

 

 

Содержание DME-03

Страница 1: ...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 Z3 Technology LLC incorporates HDMI technology The terms of HDMI and HDMI High Definition Multimedia Interface and the HDMI Logo are tra...

Страница 2: ...Revision History Version Date Change Note Author 2 01 55 11 18 14 Original Document RC ...

Страница 3: ...e Z3 DME 03 using ZFinder 12 6 4 Configure CH1 and Encode 14 6 5 Run VLC to View Stream 16 6 6 Streaming RTP 17 6 7 Changing the Bit Rate Dynamically 19 6 8 Adjusting the UDP TS Rate 21 6 9 Tuning for Latency 23 6 10 Running DHCP 24 6 11 Encoding from HDMI or Composite In 28 7 0 STREAMING RTMP IN THREE DIFFERENT RESOLUTIONS 31 7 1 Connect the Encoder 31 7 2 Configure the Encoder for Multiple Outpu...

Страница 4: ... the Ethernet and Power on the Z3 DME 03 11 Figure 7 ZFinder with Z3 DME 03 Listed 12 Figure 8 ZFinder with Z3 DME 03 Selected 12 Figure 9 Z3 DME 03 Web GUI System Setup Page 13 Figure 10 Channel 1 Configuration Screen UDP 14 Figure 11 Starting Encode 15 Figure 12 VLC Open Network Screen for UDP 16 Figure 13 Example of Z3 Video Streaming to VLC UDP 16 Figure 14 Channel 1 Configuration Screen RTP 1...

Страница 5: ...ting the CH2 Tab 28 Figure 34 Configuring HDMI Input on CH2 29 Figure 35 VLC Settings for Viewing the Multicast Stream 30 Figure 36 Composite Cable 30 Figure 37 Changing to Encode 1 to 3 Ch Mode 31 Figure 38 Creating CH3 31 Figure 39 3 Channel RTMP Encode Channel 1 Settings 32 Figure 40 3 Channel RTMP Encode Channel 2 Settings 33 Figure 41 3 Channel RTMP Encode Channel 3 Settings 34 Figure 42 Gett...

Страница 6: ...uickly take video from any of those 3 sources and stream them to the web or internal clients PCs via UDP RTP or RTMP This solution is ideal for applications such as low cost broadcast encoders low bandwidth video security satellite uplink remote monitoring and industrial applications The Z3 DME 03 provides immediate access to multi format HD video integrated system peripherals and production quali...

Страница 7: ...SDI is described For encoding from HDMI or composite a special step of creating a CH2 to encode from is needed This is described in detail on page 28 Details on streaming RTMP and also on using the Encode 1 to 3 Ch mode which allows one source to be encoded 3 different ways as long as the total processing involved fits within the constraints of DM8107 performance can be found in Section 7 0 STREAM...

Страница 8: ...0 N 8th ST STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 8 3 0 INCLUDED PARTS LIST Z3 DME 03 5V Power Supply BNC to BNC Cable DB 9 Serial Cable 1 x Composite Adapter Cable Note The serial cable and gender changer are included for debugging purposes and are not needed by the typical Z3 DME 03 user Figure 2 Parts Included with the Z3 DME 03 ...

Страница 9: ... Supports fractional resolutions and frame rates 1 USB 2 0 Interface for local storage Web based configuration software for user friendly configuration and control RS232 serial port for technical configuration and control Operating Temp 0 to 40 degrees C at 20 80 relative humidity non condensing Storage Temp 40 to 70 degrees C at 20 80 relative humidity non condensing Measurements 118mm x 121mm x ...

Страница 10: ..._________________________________________ Z3 Technology LLC 100 N 8th ST STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 10 5 0 OPERATING CONTROLS Figure 4 Z3 DME 03 Rear View Power Switch HDMI In Composite In SDI In Figure 3 Z3 DME 03 Front View Ethernet Serial Port USB 5V Power ...

Страница 11: ... Set up the HD Source 1 Select an HD source with SDI output Power on the HD Source Connect SDI to a monitor Set the HD Source to 1080i output Select content you would like to stream If you see playback on the monitor you ve confirmed the source works 6 2 Connect and Power Up the Z3 DME 03 2 Connect the SDI source to SDI In on the front of the Z3 DME 03 3 Connect an Ethernet cable connected through...

Страница 12: ... to the same network in which the Z3 DME 03 is connected 7 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 DME 03 appears Figure 7 ZFinder with Z3 DME 03 Listed 8 Click on the Z3 DME 03 entry in the window to select it This will cause the Edit Device Ope...

Страница 13: ..._______________ Z3 Technology LLC 100 N 8th ST STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 13 9 Click on Open Device An Internet browser window is opened default browser used is Firefox and the Web GUI appears at the System Setup tab 10 Click on the CH1 tab Figure 9 Z3 DME 03 Web GUI System Setup Page ...

Страница 14: ...nd Dest Address to the IP address of your PC in this example 192 168 0 6 Also make note of the value of Dest Port should be 5004 by default Note If you want to encode 1080p60 you must first change Operating Mode at the bottom right from Encode Interlaced Progressive to Encode Single CH No Scale Note that in Encode Single CH No Scale mode only CH1 can be used Figure 10 Channel 1 Configuration Scree...

Страница 15: ...e already started after 20 seconds the encoder will automatically try to start If it has click on stop near the bottom of the screen The status should then change to STOPPED Then click on start Once you do this the status will change to RUNNING If the encoder hadn t started already simply click on start and observe the status change 2 Status changes to STOPPED 3 Click start 1 If necessary click st...

Страница 16: ...5 Run VLC to View Stream 13 Run VLC on your PC version used in testing at Z3 2 1 5 14 Select Media Open Network Stream In the box type udp 192 168 0 6 5004 where 192 168 0 6 is the IP address of your PC and 5004 is the value of Dest Port noted in step 11 15 Press Enter 16 You should now see video streaming to VLC Figure 13 Example of Z3 Video Streaming to VLC UDP Figure 12 VLC Open Network Screen ...

Страница 17: ...ve UDP streaming it is relatively simple to change to RTP streaming All that is needed is a few parameter changes To stream using RTP do the following steps 17 In the CH1 configuration tab click on stop to stop the current encoding session 18 Change Output Format from UDP to RTP 19 Click on start to start the RTP encoding session At this point your settings should look like the following Figure 14...

Страница 18: ... newer version of VLC it may be necessary to use SDP files instead of RTSP to stream RTP 21 In the Open Media box type rtsp IP Address name mp4 where IP Address is the IP address of the Z3 DME 03 and name is z3 1 for unicast streaming and z3 1m for multicast streaming For example if the IP address of the Z3 DME 03 is the default value of 192 168 81 7 and unicast streaming is being done the user wo...

Страница 19: ...ou to change the bit rate 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 Select the Statistics tab In this tab you can see the current video audio bit rate 24 In the CH1 screen change the bit rate from 8000K to 2000K and click update 1 Change bit rate to 2000K Figure 18 Changi...

Страница 20: ...cture in VLC change and the video bit rate drop If you click on the status page and click Refresh you will also see the updated bitrate reflected The parameter Frame Rate Divider can also be updated dynamically using the update button All other parameters require a stop and then start to change Figure 19 Drop in Bit Rate after Dynamic Bit Rate Change Lower video audio bit rate Figure 20 Status Pag...

Страница 21: ...video and audio bit rate For example the default value out of the factory is a value of 8Mbps corresponding to 6Mbps for the video There are times however when it is desirable to make this value higher For example if the encoder bit rate is very low below 1Mbps it is advisable to allow more leeway in the event there are some challenging scenes to encode An example follows 26 Return to the CH1 tab ...

Страница 22: ...t to start encoding see step 6 above 29 Open VLC to view your UDP stream Section 6 5 and view the Statistics tab Section 6 7 You will see a lower value for the overall input rate and for the content rate 30 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...

Страница 23: ...ngs out for challenging content However a higher value also causes latency to increase accordingly To minimize latency this value should be set to the lowest possible value The lowest value Z3 recommends is 100 B frames improve the quality of the picture but they also increase the latency by 1 frame time To minimize latency B frames should be disabled done by setting Number of B frames to 1 The ta...

Страница 24: ...at is assigned can be seen through the ZFinder tool running on a PC To view 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 To do this click on the User Presets tab and click on new 32 This brings up a new text box to enter the preset name Type z3_test and cli...

Страница 25: ... of the screen and select as the preset the z3_test configuration you just created 34 As soon as you select z3_test the screen will reload Check the Use DHCP box 35 Now that DHCP is set in z3_test save the configuration by clicking on the Save button Select z3_test configuration Figure 26 Selecting z3_test within the System Setup Tab Click Save Check Use DHCP again 1 Click on System Setup Figure 2...

Страница 26: ... is required Click Ok 37 Now that you ve set DHCP saved it to the configuration z3_test and specified that z3_test will be used when the system restarts you can go ahead and reboot the Z3 DME 03 38 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 The Z3 DME 03 appears with t...

Страница 27: ... USA 1 402 323 0702 27 39 Select the Z3 DME 03 and then click Open Device 40 A web browser will then open at the IP address of the Z3 DME 03 and you will see the Web GUI Figure 32 Web GUI Using DHCP Address 41 You can go back to Static IP by unchecking Use DHCP and saving that to the preset New IP address Figure 31 Selecting Z3 DME 03 in ZFinder 1 Select DME 03 2 Click Open Device ...

Страница 28: ...upports encode via HDMI or Composite In The HDMI or Composite In can be used in parallel with the SDI In A special cable provided with the Z3 DME 03 is needed for the Composite In To encode with either HDMI or Composite In perform the following steps 42 In the GUI menu click on the CH2 tab If it is not there click on to make it appear and then click on it Figure 33 Clicking on Creating the CH2 Tab...

Страница 29: ... a multicast address are shown in Figure 34 Note that it is not necessary to use a multicast address for HDMI Composite It is used here as an example value If SDI encode is also being done at the same time the IP address port set for HDMI Composite encode needs to be different from the IP address used for SDI encode 44 Click on start Figure 34 Configuring HDMI Input on CH2 4 Change to UDP 5 Change...

Страница 30: ...since a different IP address is used a different value will be needed in the VLC Open network stream window 46 If composite encode is desired the special composite cable shown below is needed The yellow connector connects to the composite output of the video source while the red and white connectors connect to the analog audio outputs Figure 35 VLC Settings for Viewing the Multicast Stream Figure ...

Страница 31: ...ify RTP UDP or TSFILE instead of RTMP and ignore the sections referring to Wowza in this section Note that if multiple channels off the same input is done the total performance cannot exceed the capability of the Z3 DME 03 for example 3 1080p30 encodes at 30fps would not be allowed 7 1 Connect the Encoder 1 Follow steps 1 to 11 in Section 6 0 to connect the Z3 DME 03 for encode and bring up the En...

Страница 32: ...A 1 402 323 0702 32 7 3 Configure CH1 for RTMP Streaming 4 Click on the CH1 tab 5 Set encode to 720p 4Mbps input HD SDI 6 Set Output Format to RTMP 7 For Dest Address type 10 1 10 251 1935 live 720 where 10 1 10 251 is the IP address of the PC with the Wowza server 8 After you re finished your settings should look like the following Figure 39 3 Channel RTMP Encode Channel 1 Settings ...

Страница 33: ...3 Technology LLC 100 N 8th ST STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 33 7 4 Configure CH2 for RTMP Streaming 9 Click on the CH2 tab 10 Set encode to D1 2Mbps input HD SDI Audio input source HD SDI 11 Use the same RTMP format and Dest Address replacing 720 with d1 Figure 40 3 Channel RTMP Encode Channel 2 Settings ...

Страница 34: ..._______ Z3 Technology LLC 100 N 8th ST STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 34 7 5 Configure CH3 for RTMP Streaming 12 Click on the CH3 tab 13 Set encode to 352x240 1Mbps input HD SDI1 14 Use the same RTMP format and Dest Address replacing d1 with cif Figure 41 3 Channel RTMP Encode Channel 3 Settings ...

Страница 35: ... any tab 7 8 View the Content on Wowza 17 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 8088 in this example 10 1 10 251 8088 This will bring up the Wowza home page Go ahead and log in with your user name and password 18 At the top you will see 4 options Home Server Applications an...

Страница 36: ...ers popup screen Select the Adobe RTMP tab change the Stream name to 720 should match one of the directories you are streaming to in the Z3 DME 03 and click Start You should then see the content streamed from the Z3 DME 03 20 To view the other channels simply change the stream name to d1 or cif Figure 43 Viewing DME 03 Content on Wowza 1 Select Adobe RTMP tab 2 Type 720 for Stream name 3 Click Sta...

Страница 37: ...Settings If you have a specific configuration you d like to preserve you can save it so that when the Z3 DME 32 is powered off and back on it automatically uses those settings For an example of doing this please see the description in Section 6 10 Running DHCP on page 24 8 2 Making a Firmware Update 1 Run the Web Interface Steps 1 9 in Section 6 0 2 Select update device firmware from the main scre...

Страница 38: ... 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 Figure 46 File Selection Screen 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...

Страница 39: ... 39 8 3 Using the Password Feature 1 In the System Setup tab click on go next to Set Password 2 Once you click on go the change password options appear Enter the new password twice and click change 3 Wait for the password options to disappear This indicates that the password has changed Click here Figure 47 Selecting Set Password Figure 48 Changing the Password Enter new password twice Click chang...

Страница 40: ...gy LLC 100 N 8th ST STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 40 4 Retype the IP address in the web browser You should then see a prompt for a user name and 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 49 Password Entry Screen ...

Страница 41: ...Sets the netmask of the Z3 DME 03 Note that a save of these settings and a reboot is needed for changes to this value to take effect Default Gateway 192 168 a b 192 168 0 1 Sets the network gateway to use for the Z3 DME 03 Note that a save of these settings and a reboot is needed for changes to this value to take effect Use DHCP Checked Unchecked Sets whether DHCP is used See Running DHCP on page ...

Страница 42: ... take a few seconds to load after being clicked Output Value Explanation Video Status CH The channel number 1 or 2 Bitrate Kbps Current target bitrate of encoder Actual Bitrate Actual bitrate being output by encoder FPS Current target frames 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...

Страница 43: ...of frames sent from encoder to channel since the beginning of encoding This can serve as a quick sanity check for example you can click Refresh count to 10 click Refresh again and you should see an increase of around 600 for 60 frames per second content Input Status Input Input type Resolution Capture resolution for that input FPS Capture frames per second for that input 9 4 The MPTS Tab Note Upco...

Страница 44: ...ate Video Profile High Main Baseline The H264 profile of the bitstream Generally High is used for 1080p Main for D1 and Baseline for D1 Frame Rate Divider 1 2 4 Used to encode at less than the input frame rate for example an input frame rate of 30fps with a divider of 2 would cause an output stream of 15fps Number of B frames 0 2 0 The number of B frames A value of 0 means B frames are disabled No...

Страница 45: ...between stereo and mono inputs Source HD SDI HDMI Analog None Where to get audio for that subchannel Pid 0 8191 120 121 122 123 If UDP format is selected the PID to use for that audio channel RTP Port 0 9999 8892 8898 If RTP format is selected the port associated with that audio channel Output Format RTP UDP RTMP TSFILE FILE MPTS Output format of encoded stream RTP requires an SDP file for the rec...

Страница 46: ...coder is streaming to Dest Port 0 9999 5004 The port that the encoder is streaming to Aux TS File Enable UDP Only False True For UDP streaming only If UDP is being streamed this allows the same UDP stream to be saved to a ts file The name of the file is specified in Aux ts file location Aux TS File Location UDP Only tmp aux1 ts Appears if Aux TS File Enable is set to True Specifies where to save t...

Страница 47: ...ally on page 19 clone Duplicate CH tab can be used to quickly copy CH1 values to CH2 for example delete Used to delete excess tabs created by Clone status IDLE STOPPED RUNNING POLLING Current status of the encoder POLLING indicates start was pressed and the encoder is waiting for valid input data to be detected Note 1 Encode Resolutions Supported WQVGA 320x180 QVGA 320x240 SIF 352x240 CIF 352x288 ...

Страница 48: ...re profiles by clicking on new in the User Presets tab Save Click on this to save preset value to what was selected Operating Mode Encoder Interlaced Progressive Encode Single Ch No Scale Encode 1 to 3 Ch Decoder This selects how the Z3 DME 03 is being used Encoder Interlaced Progressive is the default mode of operation it can be used to encode up to two channels Encode Single Ch No Scale is used ...

Страница 49: ...owza to work with the Z3 DME 03 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 is the IP address of the server in this User s Guide 10 1 10 251 2 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 Si...

Страница 50: ...A 1 402 323 0702 50 3 Click on Applications in the top band of options On the left column click on live and then Incoming Security Click Edit and then make sure RTMP Publishing 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 the Z3 DME 03 Figure 51 Wowza Security Settings ...

Страница 51: ... PC directly to the board without any routers etc Can the PC and target board see each other on the network Try pinging the Z3 DME 03 IP address from the PC Try pinging the PC from the Z3 DME 03 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 Is the PC...

Отзывы: