Hi,
I changed the DM365 demo captrue default value of onTheFly in order to bypass the previewer and the resizer.
const Capture_Attrs Capture_Attrs_DM365_DEFAULT = {
3,
Capture_Input_COMPONENT,
-1,
-1,
-1,
-1,
"/dev/video0",
FALSE,
VideoStd_AUTO,
-1,
ColorSpace_YUV420PSEMI,
NULL,
FALSE};
App encodedecode was re-made. And I passed dm365_imp.oper_mode=1 in bootargs.
Then I run "encodedecode -y 3 -v h264" with DEBUG on but it failed in _Dmai_v4l2UserAlloc() with the following errors.
ti.sdo.dmai – [Dmai] VIODIC_QBUF failed (Invalid argument)
ti.sdo.dmai – [Capture] Failed to intialize capture driver buffers on /dev/video0
Can somebody tell me why?
Tuff Li:
你是要关掉on-the-fly mode还是要打开on-the-fly mode?