background image

 

                 

CONFIDENTIAL

 

DOC-USR-0171-01

 

 

___________________________________________________________________________________________

 

Z3 Technology, LLC 

 100 N 8

th

 ST, STE 250 

 Lincoln, NE 68508-1369 USA 

 +1.402.323.0702

 

26 

(16)

 

Click “start”. The status should change from “IDLE” or “STOPPED” to “RUNNING”

 

 

-The encoder automatically starts 20 seconds after booting up. If it has already started, it may 
be necessary to click “stop” before clicking “start.”

 

 

*

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.

 

 

7.7

 

  Run VLC to View Stream

 

 

(17)

 

Run the VLC media player on your PC (version used in testing at Z3: 2.1.5)

 

 

(18)

 

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 address entered for 
“Dest Address”, and 5004 is the value of “Dest Port” noted previously.

 

 
 
 
 
 
 
 
 

(19)

 

Press “Enter.”  

 

 
(20)

 

You will now see video streaming to VLC.

 

 
 
 
 
 

 

 

 

 

 

 

Figure 10  Example of Z3 Video Streaming to VLC (UDP)

 

Figure 9  VLC Open Network Screen for UDP

 

Summary of Contents for SBE264-10-RPS

Page 1: ...ology 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 witho...

Page 2: ...CONFIDENTIAL DOC USR 0171 01 Revision History Version Date Change Note Author 0 01 08 30 18 Original Document NC...

Page 3: ...x Environment 13 5 2 Making the Directories and Running the Make Script 13 6 0 CODE OVERVIEW 15 6 1 The z3apps rdk Directory 15 6 2 Z3 Application Overview 16 6 3 RDK Documentation 17 7 0 RUNNING THE...

Page 4: ...9 4 Configure and run Decoder 52 10 0 RUNNING THE CODE YOU BUILT ON THE BOARD 53 10 1 Method 1 Updating the Image File 53 10 2 Method 2 Running Your Code through TFTP NFS 55 10 3 Other Available u boo...

Page 5: ...treaming to VLC RTP 28 Figure 14 Viewing Bitrate in VLC 29 Figure 15 Changing the Bitrate Dynamically 29 Figure 16 Drop in Bitrate after Dynamic Bitrate Change 30 Figure 17 Status Tab Output Showing L...

Page 6: ...e Channel 1 Settings 45 Figure 42 RTMP Encode Channel 2 Settings 46 Figure 43 RTMP Encode Channel 3 Settings 47 Figure 44 Getting to the Wowza Test Player 48 Figure 45 Viewing Z3 SBE264 10 RPS Content...

Page 7: ...nt of multimedia applications The hardware consists of one Z3 SBE264 10 single board encoder The software bundle consists of the necessary components for developing advanced multimedia graphics and DS...

Page 8: ...10 board has 1x SDI input 1x HDMI output and a port for composite analog audio input Figure 2 below shows an image of a Z3 SBE264 10 board Additional design services and support are available from Z...

Page 9: ...____________________________________________________________________ Z3 Technology LLC 100 N 8th ST STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 9 A block diagram of the Z3 SBE264 10 follows 2 0 Q...

Page 10: ...age 50 describes using the Decoder mode If you have any questions about any GUI parameters you can refer to Section 12 0 SUMMARY OF OPTIONS on page 60 2 2 If You Already Have a System from Z3 and Need...

Page 11: ...________________________________________ Z3 Technology LLC 100 N 8th ST STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 11 3 0 INCLUDED PARTS LIST 1 x Z3 SBE264 10 1 x 5V2A Power Supply 1 x Serial Ca...

Page 12: ...nd USB 2 0 1 GB DDR3 256 MB NAND Flash Control through serial port or HTTP High density connectors to all signals 4 1 Supported Input Resolutions Encoder HDMI 1080p60 1080p50 1080i30 1080i29 97 1080i2...

Page 13: ...the cross compiling toolchain You can determine whether your OS is 64 bit by using the 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...

Page 14: ...tly vary cd z3 centaurus dm810x_sdi2 rps 20150702 makeall Note Building can take around 30 40 minutes You will also need to type in the sudo password a few times The outcome of the build process shoul...

Page 15: ...BE264 10 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 dv...

Page 16: ...sed application this is what comes up in the serial terminal when the board is powered on The second is a command line interface that is more flexible and easier to use from a programming standpoint T...

Page 17: ...tion source code can be found mainly in PRJROOT z3apps rdk rdk_demo The top level file for the menu driven application is demo c The top level files for the command line interfaces are demo_mcsenc c a...

Page 18: ...VR_RDK_PLL_Print_Utility pdf DM81xx_DVR_RDK_Qt_Installation_Guidelines pdf DM81xx_DVR_RDK_SCD_AlgorithmIntegration pdf DM81xx_DVR_RDK_Software_OSD_Notes pdf DM81xx_DVR_RDK_Software_OSD_Text_Render_Not...

Page 19: ...Lincoln NE 68508 1369 USA 1 402 323 0702 19 DM816x_FAPLL xls DM81xx_DVR_RDK_Demo_Guide pdf DM81xx_DVR_RDK_FAQs pdf DM81xx_DVR_RDK_IPC_Bits_Out_Host pdf DM81xx_DVR_RDK_Migration_Guide pdf DM81xx_DVR_RD...

Page 20: ...can also be used See Section 7 13 for details Note Actual version numbers for your Z3 product may differ from those pictured in this document 7 1 Set up the HD Source 1 Select a video source with SDI...

Page 21: ...er to a PC to Ethernet on the Z3 SBE264 10 RPS 4 Connect the supplied serial cable and gender changer to your PC and the Z3 SBE264 10 RPS A USB Serial converter may be needed If so the FTDI UC232R 10...

Page 22: ...hnology LLC 100 N 8th ST STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 22 6 If you are running from Linux type sudo minicom s And then configure by doing the following Select Serial Port Setup Ensu...

Page 23: ...V power supply to the Z3 SBE264 10 RPS 8 Turn on the power switch If all is configured properly you should see the board booting up within the terminal window After about a minute you will see the RPS...

Page 24: ...that this is the case If necessary use the P and N options to modify the address network of the board to conform to your network Note that the first two parts being the same are based on a value of n...

Page 25: ...ddress 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 o...

Page 26: ...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 7 7 Run VLC to View Str...

Page 27: ...streaming it is relatively simple to change to RTP streaming One parameter change is needed To stream using RTP complete the following steps 1 In the CH1 configuration tab click on stop to stop the cu...

Page 28: ...les instead of RTSP to stream RTP 5 In the Open Media box type rtsp IP Address z3 ch m mp4 where IP Address is the IP address of the Z3 SBE264 10 RPS ch is 1 for CH1 and 2 for CH2 and m is added if a...

Page 29: ...ange the bitrate or frame rate without stopping and restarting the encoder To use this feature complete the following steps 1 In VLC click on Tools and select Codec Information This brings up a window...

Page 30: ...icture in VLC change and the video bitrate drop If you click on the Status tab and click Refresh you will also see the updated bitrate reflected The parameter Frame Rate Divider can also be updated dy...

Page 31: ...the video and audio bitrate For example the default value out of the factory is a value of 10Mbps corresponding to 8Mbps for the video There are times however when it is desirable to make this value h...

Page 32: ...tart to start encoding 4 Open VLC to view your UDP stream Section 7 7 and view the Statistics tab Section 7 9 You will see a lower value for the overall input rate and for the content rate The value o...

Page 33: ...lower latency than streaming using TS If low latency with TS is desired there is a special TS lowlat mode that can be activated Setting this causes the TS muxer to send packets out immediately rather...

Page 34: ...is assigned can be seen through the ZFinder tool running on a PC To view how DHCP support works you can complete the following steps 1 The first thing you need to do is set up a custom configuration...

Page 35: ...screen and select as the preset the z3_config1 configuration you just created 4 As soon as you select z3_config1 the screen will reload Check the Use DHCP box 5 Now that DHCP is set in z3_config1 save...

Page 36: ...ow to pop up as values get initialized 7 A new IP address is assigned to the unit through DHCP You have two ways of finding out that IP address The first is to check the serial UI for the new value 8...

Page 37: ...0 RPS DHCP Address 10 Select the Z3 SBE264 10 RPS and then click Open Device 11 A web browser will then open at the IP address of the Z3 SBE264 10 RPS and you will see the HTTP based GUI Figure 30 Web...

Page 38: ...SDI2 RPS is used The steps to do a sample HDMI encode are shown below Similar steps can be used for Composite 1 In the user interface click on the CH2 tab If it is not currently present click on tab t...

Page 39: ...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 port set for HDMI or composite encoding nee...

Page 40: ...e that since a different IP address is used a different value will be needed in the VLC Open network stream window 5 If composite encode is desired a special composite adapter cable shown below is nee...

Page 41: ...ntly extracting closed caption data from composite is shown below 1 Connect a composite input with closed caption data to the Z3 SBE264 10 RPS using the supplied composite adapter cable 2 Configure th...

Page 42: ...subtitles on the screen Extraction of closed caption through SDI input is also possible In that case SDI In of the Z3 SBE264 10 RPS is used The procedure for seeing the closed caption data through VL...

Page 43: ...TS File Enable to True When this is done they can then specify the file name in the Aux TS File Location box that appears If a user connects a USB drive for example a value of media sda1 enc_dm8107 sd...

Page 44: ...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 SBE264 10 RPS up to the equivalen...

Page 45: ...rs to HD SDI 720p and 4Mbps 4000K 6 Set Output Format to RTMP 7 For Dest Address enter 192 168 0 4 1935 live 720 where 192 168 0 4 is the IP address of the PC with the Wowza server live corresponds to...

Page 46: ...T STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 46 8 4 Configure CH2 for RTMP Streaming 10 Click on the CH2 tab 11 Set encode to HD SDI D1 resolution 720x480 and 2Mbps 2000K 12 Set the Output Forma...

Page 47: ...h ST STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 47 8 5 Configure CH3 for RTMP Streaming 13 Click on the CH3 tab 14 Set encode to CIF resolution 352x240 and 1Mbps 1000K 15 Set the Output Format t...

Page 48: ...tab 8 8 View the Content on Wowza 3 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...

Page 49: ...5 You will see the Test Players popup screen Select the Adobe RTMP tab change the Stream name to 720 This value must match the stream name you assigned in the Dest Address and click Start You will the...

Page 50: ...ow the steps below 9 1 Create a ts File using the Encoder 1 Follow steps 1 through 16 in Section 7 0 to stream a TS stream 2 Follow the instructions in Section 7 13 to save the stream to a TS file Cal...

Page 51: ...ing Mode in the lower right corner of any tab to Decoder 7 Once you do this the description at the top right will change from DM8107 SDI2 RPS Encoder to DM8107 SDI2 RPS Decoder and settings for Displa...

Page 52: ...ncoln NE 68508 1369 USA 1 402 323 0702 52 9 4 Configure and run Decoder 9 Click on the CH1 tab and change the settings to match the following configuration 10 After about 5 10 seconds decode will star...

Page 53: ...YOU BUILT ON THE BOARD There are two ways to take the image files you built in Section 5 0 and run them on the board 1 Updating the image file and 2 Setting up NFS TFTP to link to your development PC...

Page 54: ...wse 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 52 File Selection Screen The image file to be used will typically have...

Page 55: ...art TFTP sudo etc init d xinetd start 2 Enable NFS on the Linux PC The target DM8107 will mount the root file system using NFS This like TFTP will also vary depending on the Linux setup you have As an...

Page 56: ...5 setenv nfs_root home z3 z3 dm810x filesys fs Z3 DM385 setenv tftp_root z3 z3 z3 dm810x images Z3 DM385 setenv bootcmd run boot nfs Z3 DM385 saveenv nfs_root is set to the fs subdirectory within the...

Page 57: ...root file system from NFS setenv bootcmd run nand_boot_jffs2 Get kernel from NAND root file system from NAND JFFS2 setenv bootcmd run nand_boot_ubifs Get kernel from NAND root file system from NAND U...

Page 58: ...those settings For an example of doing this please see the description in Section 7 12 Running DHCP on page 34 11 2 Using the Password Feature The Z3 SBE264 10 RPS supports setting a password to rest...

Page 59: ...aces A command line interface called MCSENC is also available for running encode commands This can be invoked with the command source opt mcsenc mcsenc sh This can be used to start a streaming encode...

Page 60: ...of the Z3 SBE264 10 RPS Note that a save of these settings and a reboot is needed for changes to this value to take effect DNS Server IP 1 a b c d 8 8 8 8 Specifies the primary DNS server to be used...

Page 61: ...different firmware image See Section 10 1 Method 1 Updating the Image File on p 53 download device logs Clicking this causes the RPS to extract a set of diagnostic logs that can be sent to Z Technolog...

Page 62: ...idth 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 or 2 Subchannel Always 1 in this release C...

Page 63: ...all channels going into this stream plus at least a 10 overhead For example if four 8Mbps channels are being packed into the MPTS stream the recommended Rate is at least 36Mbps Destination 1 NONE ASI...

Page 64: ...pect ratio in the bitstream is set to 16 9 For any HD input this value is ignored Video Resolution 176x144 1920x1080 1920x1080 Follow Input The encode resolution If this resolution is different from t...

Page 65: ...to change the value on 1 channel while the others are running a warning message will appear that the other 2 channels need to be stopped so that all 3 channels can have the same configuration Noise F...

Page 66: ...DP TS Only 0 500 250 Allows user to specify a smaller interval than 250ms between PTS and PCR This is for systems that require tighter PTS PCR intervals It is generally recommended to leave this value...

Page 67: ...dress for example media sda1 example ts to write to example ts on a drive connected to USB1 FILE will write raw h264 and raw aac to 2 separate files If this is selected you should type the path name o...

Page 68: ...tes see Section 7 10 Adjusting the UDP TS Rate on page 31 TS Lowlat Mode UDP Only True False Normally the TS muxer gathers data into packets of maximum network size While this leads to maximum network...

Page 69: ...D 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 QCIF 176x144 WQVG...

Page 70: ...___________________________________________________________________________________ Z3 Technology LLC 100 N 8th ST STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 70 Note 3 GOP Sizes Supported 10 12...

Page 71: ...x to appear where the user can type the multicast address the decoder should connect to Address for Multicast only x y z w 225 1 2 3 The multicast IP address that the decoder retrieves data from used...

Page 72: ...ts Can also add more 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...

Page 73: ...CC BCH8 Selected 256 MiB Using default environment The 2nd stage U Boot will now be auto loaded Please do not interrupt the countdown till DM385_EVM prompt if 2nd stage is already flashed got board id...

Page 74: ...NAND read device 0 offset 0x280000 size 0x300000 3145728 bytes read OK Booting kernel from Legacy Image at 81800000 Image Name Linux 2 6 37 Image Type ARM Linux Kernel Image uncompressed Data Size 299...

Page 75: ...owmem 0xc0000000 0xd0000000 256 MB pkmap 0xbfe00000 0xc0000000 2 MB modules 0xbf000000 0xbfe00000 14 MB init 0xc0008000 0xc0042000 232 kB text 0xc0042000 0xc05b2000 5568 kB data 0xc05b2000 0xc0602d40...

Page 76: ...ialized usbcore registered new interface driver usbfs usbcore registered new interface driver hub usbcore registered new device driver usb USBSS revision 4ea2080b registerd cppi dma Intr IRQ 17 Cppi41...

Page 77: ...92 TCP reno registered UDP hash table entries 256 order 0 4096 bytes UDP Lite hash table entries 256 order 0 4096 bytes NET Registered protocol family 1 RPC Registered udp transport module RPC Registe...

Page 78: ...Env 0x000000280000 0x0000006c0000 Kernel 0x0000006c0000 0x00000cee0000 File System 0x00000f9c0000 0x000010000000 Reserved NAND size is 256 UBI attaching mtd6 to ubi0 UBI physical eraseblock size 13107...

Page 79: ...t notify drivercreated for remote proc id 1 at physical Address 0xbfd00000 usbcore registered new interface driver snd usb audio Forcing HW CTS cm Module associated with clock hdmi_i2s_fck didn t enab...

Page 80: ...otfs on failed No such file or directory PHY 0 01 Link is Up 1000 Full Setting up IP spoofing protection rp_filter Configuring network interfaces done Wed Dec 2 18 59 00 UTC 2009 etc rcS d S98z3config...

Page 81: ...ed Playback channels Mono Mono Playback on Simple mixer control Left PGA Mixer Mic3R 0 Capabilities pswitch pswitch joined Playback channels Mono Mono Playback on Simple mixer control Right PGA Mixer...

Page 82: ...ocId 1 Loaded file firmware dvr_rdk_fw_m3vpss_1024M_256M xem3 on slave procId 1 Started slave procId 1 After Ipc_loadcallback status 0x00000000 After Ipc_startcallback status 0x00000000 Attached to sl...

Page 83: ...Change default gateway 192 168 0 1 L Change DNS servers 8 8 8 8 8 8 4 4 Change device name DM8107 SDI2 RPS Change device password BLANK M Change mode enc_int_prog C Config Multi Program TS running n P...

Page 84: ...version 4 1 0 for RTMP streaming is described 1 Log in to the Wowza Streaming EngineTM Manager Home page by typing http localhost 8088 where localhost is the IP address of the server in the pictured...

Page 85: ...P Publishing and RTSP Publishing are both set to Open and Client Restrictions is set to No client restrictions Then click Save The Wowza Streaming EngineTM is now configured to work with your Z3 Techn...

Page 86: ...to the board without any routers etc Can the PC and target board see each other on the network Try pinging the Z3 SBE264 10 RPS IP address from the PC Try pinging the PC from the Z3 SBE264 10 RPS Pro...

Page 87: ...e items in Web interface does not come up Is the link to filesys properly set up see step 2c on page 56 Does the IP address in the line added in etc exports match the IP address set in nfsserver in u...

Reviews: