Multi-channel h.264 hd multimedia system (12 pages)
Summary of Contents for Z3 Technology Z3-DM368-ZDVR
Page 1
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...
Page 2
OSD overlay details, added details on setting up TFTP/NFS, added example of boot log, added to Troubleshooting. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
SD card jack and 2 bi-color LEDs. Figure 2 on the next page shows the Z3-DM365- APP application board. A Linux-based SDK, additional design services, and support are available from Z3 Technology. Please contact Z3 at http://www.z3technology.com...
Component Out Composite In SD Card Composite Out Headphone Out Ethernet Serial HDMI Out 5V Power MicroSD GPIOs Figure 2 Z3-DM368-ZDVR App Board ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Then go into the directory just created and run the build script (directory name may slightly vary): # cd z3-dm368-ZDVR-20131211 # ./makeall ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
The result should be something like the following. Note that actual filenames, dates, and times will differ. Figure 3 Sample Content of Images Directory after Successful Build ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Once you have untarred the code, you will see the following top-level directories: build-tools Config files and scripts for building the codebase dvsdk The DM368 DVSDK from TI with changes for Z3 Technology hardware filesys The root file system for the DM368 target flash_utils The UBL and a tool to write it into the board’s NAND flash...
The player and recorder applications provide an abstraction layer for the operation of a larger multimedia system. Figure __ shows the overall architecture used of the Z3 Technology recorder. The player application has a similar architecture. Figure 4 ZDVR Software Architecture The recorder application sits on top of gstreamer, which provides the basic building blocks needed to implement the recording functions offered.
5. Encoding and Playing Back a File This section gives step-by-step instructions on taking the Z3-DM368-ZDVR and using it to write a 1 minute .mp4 file encoding from composite in and playing back on composite out (or with Windows Media Player on a PC).
“Preloading gstreamer components” – once you see that, the ZDVR app is ready to go. Figure 6 ZDVR Startup Message ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
= storage release = sync (16) Put the SD card in a PC with Windows Media Player. Drag “ntsc1.mp4” to Windows Media Player. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
(21) You should see the content being encoded overlapped with the original picture: Figure 8 Graphics with encoded video overlayed The source code for “interface” can be found at: $PRJROOT/dvsdk/dvsdk_2_10_00_17/dvsdk_demos_2_10_00_17/dm365/interface ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
6.1 Method 1: Updating the Image File using an SD card It is possible to update the firmware of the Z3-DM368-ZDVR using an SD card. The process requires a Windows PC, an SD card, and the ZWriter tool (included with ZDVR). The process for updating via SD card...
There is no recovery once you hit “Write Device.” (6) When ZWriter is finished, eject the SD card from your computer. (7) Place the SD card in the socket on the Z3-DM368-ZDVR. (8) Power on the system, viewing the terminal output via your PC.
(a) Get nfs if it is not already installed: # sudo apt-get install nfs-kernel-server (b) Create /export/users and set it up: # mkdir –p /export/users ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 19
(d) In the editor, you want to modify the values for nfsserver, serverip, gatewayip, netmask, ipaddr, tftp_root, and nfs_root – as shown in the figure below: ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
(e) Save your changes and then copy this file to your home directory (this will make it easy to transfer from minicom later). # cp uboot_envDM368.txt /home/z3 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
(j) You should then see a series of commands being pasted within u-boot. The very last line should say “Writing to NAND … Done” ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Get kernel from NAND update-kernel Write a new kernel image in NAND from TFTP update-ram0 Write a new root file system in NAND from TFTP ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Capture and encode video to a file play Decode and display video from a file These are described in detail in the pages that follow. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
A mass storage media device connected to the USB bus. <device> The name of a valid partition on a block device, such as “sda1” or “mmcblk0p1”. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
“!Device not found” Error. Could not find the specified device. Is it plugged in? “!No device mounted” No device mounted with “storage”. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
The system will issue a status message “+Paused” when the recording is successfully paused. ‘R’ Resume a paused recording The system will issue a status message “+Recording” when the recording resumes. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 27
Error. There is no mounted device to receive the file. “!Bad parameter” Error. Invalid input name or input not available. “!Error” Recording stopped due to an error condition. Details may follow. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
‘A’ Seek to the beginning of the file The player will issue a “+BOF” to notify that the playback position is now at the beginning of the ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Linux shell commands, or the operation will fail. Also, keep in mind that responses from the Linux shell or third party commands will not include the “+” or “!” prefix character. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
/etc/rc.d/rcS.d/S07mountvirtfs: line 151: readlink: not found Mounting local filesystems: mount mount: mounting /dev/root on / failed: No such file or directory failed (1: ). Starting hotplug subsystem: ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 31
+Recording = record vpassthru=true ntsc2.mp4 /opt/gstreamer/apps/zrecorder --audio=aac --video=h264 --gopsize=10 --std=${ZDVR _DEF_STD} --vpassthru=true /mnt/ntsc2.mp4 Z3 Technology A/V recorder Ver-2.1.0 +Recording = play ntsc2.mp4 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 32
CONFIDENTIAL Z3-DM368-ZDVR V1.03.01 Zplayer Ver 3.0.0 Z3 Technology, LLC - 2011 http:www/z3technology.com +Playing +End play = storage release +Released = sync ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
-Is the Ethernet cable plugged in to the Z3-DM368-ZDVR board solidly (do you see the link light)? -Does the Z3-DM368-ZDVR IP address and the PC IP address have the same first 2 values (or, if netmask is set to 255.255.255.0, the same first 3 values)? -Do the Z3-DM368-ZDVR and the PC with the TFTP server have the same netmask? (Default value is 255.255.0.0)
Need help?
Do you have a question about the Z3-DM368-ZDVR and is the answer not in the manual?
Questions and answers