Hello,
I am working on the DM365 DVEVM and the MT9P031 CMOS digital image sensor is connected on the board,but I have a problem with the encode demo software.
I followed the "TMS320DM365 DVEVM v2.10 getting started guide" to setup my DVEVM sofeware.
I boot the board from NFS on my host PC with is installed with FC8.
The bootargs are:
setenv bootargs mem=60M console=ttyS0,115200n8 root=/dev/nfs rw rootfstype=jffs2 nfsroot=192.168.188.46:/root/armfs video=davincifb:vid0=OFF:vid1=OFF:osd0=720x576x16,2025K dm365_imp.oper_mode=0 davinci_capture.device_type=2 video=dm36x:output=pal
After loading modules with "loadmodules.sh", then I run the encode demo from command line. The parameter on command line is :
root@192.168.188.2:/opt/dvevm# ./encode -v keke.264 -y 1 -b 1000000
The result is:
Encode demo started.
MUX: initialized GPIO40
WARNING: i2c readback failed, val = 81, readval = 80, reg = 16
WARNING: i2c readback failed, val = 1, readval = 0, reg = 13
Error: Failed to detect video standard, video input connected?
Error: Failed to create video encoder: h264enc
I have examined some of the parameters in the function:Capture_detectVideoStd(),but they are the same with Capture_Attrs_DM365_DEFAULT.
The DEFAULT_ARGS in main.c are:
{ VideoStd_D1_NTSC, "D1 NTSC", Sound_Input_MIC, Capture_Input_COMPOSITE, NULL, NULL, NULL, NULL, 0, 0, -1, FALSE, FOREVER, FALSE, FALSE }
I've searched for somen related topics, but I couldn`t find the one which fits to my case.
What are the parabable reasons and how can I fix the problem.
Thanks a lot.