background image

 

                 

   

DOC-USR-0151-01 

 

 

___________________________________________________________________________________________ 

Z3 Technology, LLC 

 100 N 8

th

 ST, STE 250 

 Lincoln, NE 68508-1369 USA 

 +1.402.323.0702 

31 

6.13

 

 Tuning for Latency 

 

6.13.1

 

Maximum Delay and B-frames 

 

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

settings can only be accessed when the advanced settings mode has been enabled. (See Section 

Advanced Settings Mode” for more information on accessing these settings.) 
 
Maximum Delay defines the number of milliseconds of buffering the encoder has to work with. The 

higher this value, the more buffer 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.  Note that lowering this value will also cause quality to degrade for challenging 

content (because the encoder has fewer bits “over time” to work with). The tradeoff between 

latency and quality through this parameter is left up to the user. 
 
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 “None”). 
 
In general, streaming using RTP will result in lower latency than streaming using TS.  
 
Figure 27 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 

2000 

Case 2:  Good Quality, Standard Latency 

500 

Case 3:  Normal Quality, Lowest Latency 

100 

None 

Figure 27  Tuning for Latency

 

 

 

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

Страница 1: ...y 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 prod...

Страница 2: ...______________________________________________________________________ Z3 Technology LLC 100 N 8th ST STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 2 Revision History Version Date Change Note Autho...

Страница 3: ...nd Power up the DME 05 12 6 3 Find the Encoder Using ZFinder 13 6 4 Configure Encoder for UDP Streaming 14 6 5 View a UDP Stream in VLC 16 6 6 Configure Encoder for RTP RTSP Streaming 17 6 7 View an R...

Страница 4: ...Settings 47 8 2 Using a Static IP Address 48 8 3 Advanced Settings Mode 51 8 4 Making a Firmware Update 53 8 5 Using the Password Feature 55 9 0 SUMMARY OF OPTIONS 56 9 1 The System Setup Tab 56 9 2 T...

Страница 5: ...Engine 20 Figure 13 Getting to the Wowza Test Player 21 Figure 14 Viewing Content on Wowza 22 Figure 15 YouTube Live Dashboard Encoder Setup 23 Figure 16 Channel 1 Tab RTMP Streaming to YouTube Live 2...

Страница 6: ...udio for HDMI Output 44 Figure 47 DME 05 SDI Output Connection for Decode 44 Figure 48 Set Display for SDI Output 45 Figure 49 Set Audio for SDI Output 45 Figure 50 Enabling Pro MPEG FEC Decode for TS...

Страница 7: ...deo up to 1080p at 60 frames per second The DME 05 is a cost effective system suitable for broadcast encoders and IP streaming The DME 05 provides immediate access to multi format HD video integrated...

Страница 8: ...e an ASI stream Information is also provided on how to change bitrate dynamically how to adjust the UDP TS rate tuning for latency streaming in multiple resolutions recording to USB and utilizing vari...

Страница 9: ...100 N 8th ST STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 9 3 0 PACKAGE CONTENTS DME 05 12V2 5A Power Adapter BNC to BNC Cable HDMI Cable Serial Cable Gender Changer Note The serial cable is inclu...

Страница 10: ...to 1Gb Ethernet USB 2 0 x2 RS 232 Outputs MPEG 2 Transport Stream RTP RTMP TSRTP or TS File HTTP based configuration software for user friendly configuration and control RS 232 serial port for techni...

Страница 11: ...____________________________ Z3 Technology LLC 100 N 8th ST STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 11 RS 232 Serial 3G SDI ASI Output1 3G SDI ASI Input 12V Power HDMI Input2 HDMI Output 2x U...

Страница 12: ...se pictured in this document 6 1 Set up the SDI Video Source 1 Select an HD source with SDI output a Power on the HD source b Connect the HD source via SDI to a monitor c Set the HD Source to 1080p60...

Страница 13: ...you will be unable to proceed further 2 Run the ZFinder PC Utility on your Windows PC The ZFinder window appears ZFinder then completes a scan of the network and lists the location of all Z3 systems...

Страница 14: ...tion supports HD SDI resolutions and 3G SDI resolutions 3 Set the Video Resolution to 1920x1080 or Follow Input 4 Set Output Format to UDP 5 You can set the Dest Address to a the IP address of your PC...

Страница 15: ...creen If the encoder is already running click on stop and then start to confirm the specified values are in effect Note By default a limited selection of video encoding settings are available in the u...

Страница 16: ...ia player on your PC version used by Z3 2 1 5 2 Select Media Open Network Stream In the box type udp 192 168 0 6 5004 where 192 168 0 6 matches the values of the computer IP address or multicast addre...

Страница 17: ...hange Output Format from UDP to RTP RTSP When RTP RTSP is selected the encoder will send an RTP stream using the Dest Address and Dest Port listed in the user interface If RTSP will be used exclusivel...

Страница 18: ...your encoder to a static IP address this should match the Local IP Address field in the System Setup tab In the example pictured the encoder was assigned 192 168 1 102 at start up b ch corresponds to...

Страница 19: ...configuration tab click on stop to stop the current encoding session 2 Set Output Format to RTMP 3 For Dest Address type IP_Address port app stream_name a IP_Address will be the IP address of the PC w...

Страница 20: ...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 192 168 0 4 8088 This will bring up the Wowza...

Страница 21: ...ou should see the Test Players popup screen Select the Adobe RTMP tab 12 Change the Stream name to 1080 should match the directory you are streaming to in the DME 05 user interface 13 Click Start You...

Страница 22: ...__________________________________________________________________ Z3 Technology LLC 100 N 8th ST STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 22 Figure 14 Viewing Content on Wowza 11 Select Adobe...

Страница 23: ...Set Output Format to RTMP 5 For Dest Address type server_url stream_key a server_url will be the value specified in your YouTube Live dashboard b stream_key will be the value specified in your YouTub...

Страница 24: ...___ Z3 Technology LLC 100 N 8th ST STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 24 9 Click the start button Allow a few seconds for your video to appear in your YouTube live dashboard Figure 16 Ch...

Страница 25: ...connections also support ASI Connect a BNC cable from SDI Out to your desired video decoder or other device to receive the ASI stream The DME 05 can be connected directly to a second DME 05 unit confi...

Страница 26: ...button to stop any current encoding At the CH1 tab change the Video Source to HDMI1 using the dropdown menu Verify your remaining settings are as desired See Section 9 0 for a detailed list of all opt...

Страница 27: ...trate or frame rate without stopping and restarting the encoder To observe this feature complete the following steps 1 In VLC click on Tools and select Codec Information This brings up a window with f...

Страница 28: ...and the quality of the picture in VLC change If you click on the Status tab and click Refresh you will also see the updated bitrate reflected The parameter Frame Rate can also be updated dynamically...

Страница 29: ...wever when it is desirable to make this value higher For example if the encoder bitrate is very low below 1Mbps it is advisable to allow more leeway in the event there are some challenging scenes to e...

Страница 30: ...Media Information Statistics tab see Section 6 8 You will see a lower value for the overall input rate and for the content rate The value of TS Rate must be higher than video bitrate audio bitrate 1...

Страница 31: ...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 Note that lowering this value will also cause qua...

Страница 32: ...expense of increased network burstiness set TS Lowlat Mode to True This is enabled by default To ensure smoothest playback and reduce loading on network set TS Lowlat Mode to False This must be set t...

Страница 33: ...d If one USB device is connected dev sda1 corresponds to either USB port If two USB devices are connected dev sda1 corresponds to USB device that was connected first and dev sdb1 corresponds to the US...

Страница 34: ...encoder is connected to an SDI or an HDMI video source 2 Open the user interface See Section 6 3 3 Connect a USB flash drive or other USB storage device to USB on the back of the encoder Note The USB...

Страница 35: ...e settings 1 Verify the encoder is connected to an SDI and an HDMI video source 2 Open the user interface See Section 6 3 3 The SDI connections also support ASI Connect a BNC cable from SDI Out to you...

Страница 36: ...player 10 Run VLC on your PC version used by Z3 2 1 5 11 Select Media Open Network Stream In the box type udp 225 1 2 3 6000 where 225 1 2 3 matches the values of the computer IP address or multicast...

Страница 37: ...n data included is used To utilize this feature complete the following 1 Connect an SDI signal with closed caption data to the SDI Input see Section 5 0 2 Configure the encoder to output UDP See Secti...

Страница 38: ...or FEC Enable to True This will allow for setting the number of FEC columns and rows The default setting is 5x5 This is a medium level of coverage that will work in many situations The number of colum...

Страница 39: ...our Windows PC You will use this PC to control the DME 05 and to decode the output stream 2 Connect the AC power supply It will take 45 60 seconds to boot 3 Follow the steps in Sections 6 3 to access...

Страница 40: ...ect a BNC cable from your video encoder or other device streaming encoded ASI content to SDI In on the decoder unit 2 Return to the user interface CH1 tab 3 Set the Input Interface to ASI using the dr...

Страница 41: ...onds to the destination address entered in the encoder In the pictured example the decoder is accepting content being streamed to the multicast address 225 1 2 3 4 If the address is a multicast addres...

Страница 42: ...H1 tab and change the Input Interface to TSFILE using the dropdown menu 4 In the Location text box enter media sda1 MOV1 ts where MOV1 ts matches the name of the file to be decoded 5 If desired set Fi...

Страница 43: ...r monitor 2 Return to the user interface System Setup tab In decoder mode settings for Display Setup appear 3 Select hdmi for the Display Mode using the dropdown menu 4 Verify the Resolution and Layou...

Страница 44: ...er 5 10 seconds 7 6 Output SDI 1 Connect a BNC cable from SDI Out on the decoder unit to an HD TV or monitor 2 Return to the user interface System Setup tab In decoder mode settings for Display Setup...

Страница 45: ...E 68508 1369 USA 1 402 323 0702 45 5 Navigate to the CH1 tab and if audio is needed select SDI from the Output Port dropdown menu 6 Click the start button to begin decoding Video will appear on the mo...

Страница 46: ...the CH1 tab select select TSRTP as the Input Interface This will cause the FEC Mode dropdown to appear 3 Select AUTO in the FEC Mode dropdown menu 4 Set the remaining settings to those corresponding...

Страница 47: ...off and back on it automatically uses those settings 1 Click on the User Presets tab 2 Click on the new button 3 This brings up a new text box to enter the preset name For this example type z3_config...

Страница 48: ...ically receive an IP address at startup The IP address that is assigned can be seen through using ZFinder If you prefer you can set your encoder to a static IP address If you would like to have your P...

Страница 49: ...do this a pop up window appears reminding the user that for changes to IP Address Local Netmask Default Gateway to take effect a reboot is required and asking if a reboot is desired Click OK and then...

Страница 50: ...n Device Note You may need to also update the network settings on the PC running ZFinder so that the encoder is discoverable If the unit appears in red your computer s IP address or Network Mask may n...

Страница 51: ...ings will remain visible To do this see Section 8 1 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 yo...

Страница 52: ...______ Z3 Technology LLC 100 N 8th ST STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 52 9 You can return to the use of limited settings by un checking the Advanced Settings box in the System Setup t...

Страница 53: ...A 1 402 323 0702 53 8 4 Making a Firmware Update 1 Open the user interface Section 6 3 2 Select Update device firmware from the System Setup tab under the Device Management section 3 This brings you t...

Страница 54: ...le selection screen From here select the name of the img file to update with and click Open Figure 62 File Selection Screen The image file to be used will typically have the word UPD in the name 5 Cli...

Страница 55: ...e undone 1 In the System Setup tab click on go next to Set Password 2 The change password options appear Enter the new password twice and click the change button 3 Wait for the password options to dis...

Страница 56: ...lue 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 DME 05 Note that a save of these settings and reboot i...

Страница 57: ...et of diagnostic logs that can be provided to Z3 in the event of an issue to be reported The resulting file is saved on the PC with the user interface open View logs Button Can be used to view system...

Страница 58: ..._______________________________ Z3 Technology LLC 100 N 8th ST STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 58 1080i30 1080i29 97 1080i25 1080p60 1080p59 94 1080p50 720p60 720p59 94 720p50 480p60...

Страница 59: ...meter Notes new Define a new configuration file Up to nine configurations can be created rename Rename a configuration file delete Delete a configuration file export Export current settings to a file...

Страница 60: ...encoded picture A small i will appear if interlaced is being encoded Audio Status Channel The channel number 1 or 2 Subchannel Always 1 in this release Codec The codec being used to encode audio for...

Страница 61: ...ple if two 10Mbps channels are being packed into the MPTS stream the recommended Rate is at least 22Mbps Destination 1 NONE ASI UDP Used to define where the multiple channels will be routed to after b...

Страница 62: ...the output otherwise a default value of 4 3 is used This value is ignored for HD resolutions Video Resolution Follow Input 176x144 1920x1080 The encode resolution for channel 1 If this resolution is...

Страница 63: ...ut Progressive Progressive HQ Interlace This allows the user to specially handle interlaced input Follow input is the default option it will leave interlaced input as is Progressive will convert the i...

Страница 64: ...trate range for AACLC is 32Kbps 384Kbps though staying above 64Kbps is recommended for best results The bitrate range for AACHE and AACHE V2 is 32Kbps 64Kbps Bitrate 12 384 Kbps 320 Kbps Sub Channel 1...

Страница 65: ...r to set the number of audio Access Units AU per transport stream Packetized Elementary Stream PES packet Output Setup Output Format RTP RTSP UDP RTMP TSRTP TSFILE FILE MPTS ASI Output format of encod...

Страница 66: ...er port If two USB devices are connected dev sda1 corresponds to USB device that was connected first and dev sdb1 corresponds to the USB device that was connected second Only one of the two USB ports...

Страница 67: ...for ensuring smooth playback at lower bitrates see Section 6 12 Adjusting the UDP TS Rate TS Lowlat Mode UDP TSRTP Only True False Selecting True causes the TS muxer to instead send packets out as soo...

Страница 68: ...stop Stop current encode session start Start encode session update Can be used to change the bit rate without stopping restarting an encode session see Section 6 8 Changing the Bitrate and Frame Rate...

Страница 69: ...s 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 F...

Страница 70: ...a detailed explanation The CH2 tab will be identical to CH1 except for the default values of various parameters as shown below A third channel can only be created in the Encoder 1 to 3 CH operating mo...

Страница 71: ...the user can type the multicast address the decoder should connect to Address Multicast Only x y z w 225 1 2 3 The multicast IP address that the decoder retrieves data from used when RTP or UDP is se...

Страница 72: ...de session 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...

Страница 73: ...factory settings Can also add more profiles by clicking on new in the User Presets tab New Preset Button Click to create a new user preset Save Button Click to save value that was selected Operating...

Страница 74: ...om your encoder 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 Gui...

Страница 75: ...g 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 ZEUS encoder Note You can also...

Страница 76: ...dress of the PC running VLC Does the port number in Dest Port equal the value entered in the URL for VLC Does the video coming out of the source match the resolution in the encoder settings Is the PC...

Отзывы: