I was trying the DMAI based application in the DVSDK package on the DM6467
TI EVM.

The application is not able to detect the camera input and prints the
following message on the console.



[EMAIL PROTECTED]:/work/vrb_6467# ./encode -v vrb.264

Encode demo started.

Error: Failed to detect input video standard, 720P component input
connected?


I have tried connecting the NTSC as well as PAL camera, and also a DVD
player output to the VIDEO IN port of the DM6467 EVM.

I am not sure as to what is going wrong in the DMAI application.

The version numbers for the packages which I have are

  - dvsdk_1_40_00_21

  - dmai_1_00_00_15

  - codec_engine_2_10_00_15

  - dvsdk_demos_1_40_00_14      – This is where the DMAI application
resides.

  - dm6467_dvsdk_combos_1_11 – This is where the codec packages and server
executable resides.

  - framework_components_2_10_00_15

  - xdais_6_10_00_03

I also ran the DVTB application provided in the same package. The DVTB
application detects the capture, however the output is black & white (see
the chrominance conversion fail messages). This atleast means that DVTB
accepts the camera input. However, even though I configrue the DVTB to
accept a NTSC input the output of the DVTB is in the PAL (720x576) format,
with lines 481 - 576 being junk.


./dvtb-r -s 1.dvs

[DVTB-LOG]: dvevmStEngine.c: Codec Engine Runtime initialized



setp vpfe width 720

 PASS: setp



setp vpfe height 480

 PASS: setp



setp engine name encode

 PASS: setp



setp videnc1 codec h264enc

 PASS: setp



setp videnc1 numframes 300

 FAIL: setp



func videnc1 -t capture.264

 [DVTB-LOG]: dvevmStFuncDispatcher.c: Starting Thread for command
<videnc1>PNDG: func



[DVTB-LOG]: dvevmStEngine.c: Engine <encode> opened. Handle 954d0

[DVTB-LOG]: dvevmStVidCapture1.c: Video Encoder <h264enc> initialized

[DVTB-LOG]: dvevmStVidCapture1.c: VPFE device </dev/video0> initialized for
capture

[DVTB-LOG]: dvevmStVidCapture1.c: VDCE device  </dev/DavinciHD_vdce>
initialized



[DVTB-ERROR]: Unable to get Default parameters

Error :: Invalid argument

[DVTB-ERROR]: dvevmStVidCapture1.c: Chrominance Conversion (420 to 422)
Failed

[DVTB-LOG]: dvevmStVidCapture1.c: Frame 1: Bytes Generated <11462>

[DVTB-ERROR]: Unable to get Default parameters

.

.

.

Error :: Invalid argument

 [DVTB-ERROR]: dvevmStVidCapture1.c: Chrominance Conversion (420 to 422)
Failed

[DVTB-LOG]: dvevmStVidCapture1.c: Frame 30: Bytes Generated <6204>

[DVTB-LOG]: dvevmStVidCapture1.c: Video [capture][encode] completed for <30>
frames

[DVTB-LOG]: dvevmStVidCapture1.c: Video Encoder <h264enc> closed

[DVTB-LOG]: dvevmStVidCapture1.c: Engine <encode> close



 Would appreciate any help in resolving these issues.

Thanks and Regards
Arvind Raman
_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to