We are trying to use the DVTB that comes with the dvsdk 1_30_00_40 to do a simple capture from the sensor in the camera.
The setup is
===========================================================================================
<DVTB> $ getp vpfe
device => /dev/video0
standard => 0
format => 1
input => 2
width => 720
height => 480
PASS: getp
<DVTB> $ getp videnc1
codec => mpeg4enc
encodingPreset => 0
rateControlPreset => 1
maxHeight => 480
maxWidth => 720
maxFrameRate => 30000
maxBitRate => 2000000
dataEndianness => 1
maxInterFrameInterval => 0
inputChromaFormat => 4
inputContentType => 0
reconChromaFormat => 4
topFieldFirstFlag => 0
inputHeight => 480
inputWidth => 720
refFrameRate => 30000
targetFrameRate => 30000
targetBitRate => 2000000
intraFrameInterval => 30
generateHeader => 0
captureWidth => 0
forceFrame => 0
interFrameInterval => 0
mbDataFlag => 0
numframes => 1800
PASS: getp
===========================================================================================
when we run the function "func videnc1 -t capture.yuv --no-dsp" we get:
----------------------------------------------------------------------------------------------------
<DVTB> $ func videnc1 -t capture.yuv --no-dsp
[DVTB-LOG]: dvevmStFuncDispatcher.c: Starting Thread for command <videnc1>
PNDG: func
<DVTB> $ [DVTB-DEBUG]: dvevmStVpfe.c: vpfe->input = VID_INPUT_SENSOR
[DVTB-ERROR]: dvevm_st_vpfeCheck failed , please check resolution if support!!
Error :: Success
[DVTB-ERROR]: dvevmStVidCapture1.c: Unable to initialize VPFE device </dev/video0>
[DVTB-LOG]: dvevmStVidCapture1.c: Video [capture][encode] completed for <-1> frames
[DVTB-ERROR]: VIDIOC_STREAMOFF failed
Error :: Bad file descriptor
[DVTB-DEBUG]: dvevmStVpfe.c: Before video device close
[DVTB-ERROR]: Failed to close capture device
Error :: Bad file descriptor
[DVTB-DEBUG]: dvevmStVpfe.c: After video device close
[DVTB-DEBUG]: dvevmStVpfe.c: buffers free done
[DVTB-LOG]: dvevmStVidCapture1.c: Thread Exiting...
------------------------------------------------------------------------------------------------------
what are we missing? I have tried input 0 and 1 as well as 2 and they just say that input not connected.
Thanks -Vicki-