Hi everyone,
I want to make use of DVTB on my BeagleBoard, it is SD card filed rather than network, and controled by rs232 console.
I copied the omap3530_dvsdk_combos_3_16 in the FAT32 SD sector: mmcblk0p1:
The following is the console of my board.
root@beagleboard:/media/mmcblk0p1/omap3530_dvsdk_combos_3_16/packages/ti/sdo/dvtb# ls
cmemk.ko fm1_bt_b.264 package.bld
davincieffect_ntsc_1.264 foreman_part_qcif.yuv package.mak
doc foreman_part_qcif1.yuv package.xdc
dsplinkk.ko h264test.264 perf-data.csv
dvtb-d loadmodules.sh unloadmodules.sh
dvtb-r lpm_omap3530.ko
dvtb-scripts package
I successfully installed the lpm_omap3530.ko, dsplinkk.ko, and cmemk.ko.
and type in the command line which I want to run h264encode:
setp engine name encode
setp videnc1 codec h264enc
setp videnc1 encodingPreset 0
setp videnc1 rateControlPreset 1
setp videnc1 maxHeight 576
setp videnc1 maxWidth 720
setp videnc1 maxFrameRate 30000
setp videnc1 maxBitRate 2000000
setp videnc1 dataEndianness 1
setp videnc1 maxInterFrameInterval 1
setp videnc1 inputChromaFormat 4
setp videnc1 inputContentType 0
setp videnc1 reconChromaFormat -1
setp videnc1 inputHeight 480
setp videnc1 inputWidth 720
setp videnc1 refFrameRate 30000
setp videnc1 targetFrameRate 30000
setp videnc1 targetBitRate 2000000
setp videnc1 intraFrameInterval 30
setp videnc1 generateHeader 0
setp videnc1 captureWidth 0
setp videnc1 forceFrame 0
setp videnc1 interFrameInterval 1
setp videnc1 mbDataFlag 0
setp videnc1 framePitch 720
setp videnc1 numFrames 30
func videnc1 -s foreman_part_qcif1.yuv -t h264-encode.264
errors as follows:
setp pass( set parameters pass).....
[DVEVM-ST-LOG]: dvevmStFuncDispatcher.c: Starting Thread for command <videnc1>
PNDG: func
<DVEVM-ST> $ [DVEVM-ST-ERROR]: dvevmStEngine.c: Engine <encode> open failed. Sta
tus => 3
[DVEVM-ST-ERROR]: dvevmStVidCapture1.c: Cannot initialize Engine <encode>
[DVEVM-ST-LOG]: dvevmStVidCapture1.c: Video [capture][encode] completed for <-1>
frames
[DVEVM-ST-LOG]: dvevmStVidCapture1.c: Video Encoder <h264enc> closed
[DVEVM-ST-LOG]: dvevmStVidCapture1.c: Engine <encode> closed
Question:
1. my dvtb-r/-d is not complied by myself(it's pre-built in the omap3530 dvtb combos for TI Omap3530 evm), and I know there are difference between DVMs and embedded Linux systems in compiling and generating the dvtb-r/-d.bin, please tell me what modifications I need to make in order to fit my own beagle board?
2. I think I need to install codec engine, framework component, and some other utilities just like installing the CMEM,DSPLINK,and lpm modules. IS THAT RIGHT? AND what should I do to install enough modules to run dvtb?
3. where could I download : Code Gen Tool 6.0.16.
My current CGtools is as follows and it seems useless(I don't know, seems nothing in there):
davinci@davinci-laptop:/opt/TI/cg6x_6_0_16$ ls -all
总用量 1524
drwxr-xr-x 6 root root 4096 2009-04-16 11:57 .
drwxr-xr-x 9 root root 4096 2009-04-23 13:44 ..
drwxr-xr-x 2 root root 4096 2009-04-16 11:57 bin
drwxr-xr-x 2 root root 4096 2009-04-16 11:57 include
drwxr-xr-x 2 root root 4096 2009-04-16 11:57 lib
-rwxr-xr-x 1 root root 70110 2007-11-10 04:27 license-prod-OS.rtf
-rw-r--r-- 1 root root 12450 2007-11-10 05:43 license-prod-OS.txt
drwxr-xr-x 3 root root 4096 2009-04-16 11:57 man
-rw-r--r-- 1 root root 172311 2007-11-13 21:08 readme.1st
-rwxr-xr-x 1 root root 1256921 2009-04-16 11:57 uninstall
davinci@davinci-laptop:/opt/TI/cg6x_6_0_16$ ls bin/
abs6x ar6x ci6x cmp6x embed6x lnk6x mk6x opt6x xref6x
acp6x asm6x cl6x dem6x hex6x load6x nm6x spkc6x.dll
ap6x cg6x clist6x dis6x ilk6x load6xexe ofd6x strip6x
4. Final,
this project is very very important for me, I hope anyone with any thought could give me some suggests.