<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Camera error: Can't cnnect to the camera in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Camera-error-Can-t-cnnect-to-the-camera/m-p/669724#M103131</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Sun&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Thanks for reply. I have tried changed&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;media_profiles.xml to support only 1080P, the error is the same.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&lt;BR /&gt;&amp;lt;MediaSettings&amp;gt;&lt;BR /&gt; &amp;lt;!-- Each camcorder profile defines a set of predefined configuration parameters --&amp;gt;&lt;BR /&gt; &amp;lt;CamcorderProfiles cameraId="0"&amp;gt;&lt;BR /&gt; &amp;lt;EncoderProfile quality="1080p" fileFormat="mp4" duration="30"&amp;gt;&lt;BR /&gt; &amp;lt;Video codec="h264"&lt;BR /&gt; bitRate="8000000"&lt;BR /&gt; width="1920"&lt;BR /&gt; height="1080"&lt;BR /&gt; frameRate="30" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Audio codec="aac"&lt;BR /&gt; bitRate="96000"&lt;BR /&gt; sampleRate="44100"&lt;BR /&gt; channels="1" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Camera previewFrameRate="30" /&amp;gt;&lt;BR /&gt; &amp;lt;EncoderOutputFileFormat name="mp4" /&amp;gt;&lt;BR /&gt; &amp;lt;/EncoderProfile&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &amp;lt;ImageEncoding quality="70" /&amp;gt;&lt;BR /&gt; &amp;lt;ImageEncoding quality="80" /&amp;gt;&lt;BR /&gt; &amp;lt;ImageEncoding quality="90" /&amp;gt;&lt;BR /&gt; &amp;lt;ImageDecoding memCap="20000000" /&amp;gt;&lt;BR /&gt; &amp;lt;/CamcorderProfiles&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &amp;lt;!--&lt;BR /&gt; If a codec is not enabled, it is invisible to the applications&lt;BR /&gt; In other words, the applications won't be able to use the codec&lt;BR /&gt; or query the capabilities of the codec at all if it is disabled&lt;BR /&gt; --&amp;gt;&lt;BR /&gt; &amp;lt;VideoEncoderCap name="h263" enabled="true"&lt;BR /&gt; minBitRate="48000" maxBitRate="8000000"&lt;BR /&gt; minFrameWidth="176" maxFrameWidth="1920"&lt;BR /&gt; minFrameHeight="144" maxFrameHeight="1080"&lt;BR /&gt; minFrameRate="1" maxFrameRate="30" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;VideoEncoderCap name="m4v" enabled="true"&lt;BR /&gt; minBitRate="64000" maxBitRate="8000000"&lt;BR /&gt; minFrameWidth="176" maxFrameWidth="1920"&lt;BR /&gt; minFrameHeight="144" maxFrameHeight="1080"&lt;BR /&gt; minFrameRate="1" maxFrameRate="30" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;VideoEncoderCap name="h264" enabled="true"&lt;BR /&gt; minBitRate="64000" maxBitRate="8000000"&lt;BR /&gt; minFrameWidth="176" maxFrameWidth="1920"&lt;BR /&gt; minFrameHeight="144" maxFrameHeight="1080"&lt;BR /&gt; minFrameRate="1" maxFrameRate="30" /&amp;gt;&lt;/P&gt;&lt;P&gt;.....................&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Jun 2017 08:41:31 GMT</pubDate>
    <dc:creator>jiejia</dc:creator>
    <dc:date>2017-06-01T08:41:31Z</dc:date>
    <item>
      <title>Camera error: Can't cnnect to the camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Camera-error-Can-t-cnnect-to-the-camera/m-p/669722#M103129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN&gt;Dear all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp; board: refer to mx6q-sabresd&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp; BSP:android_M6.0.1_2.0.0&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp; I have a camera(1920*1080 30fps yuv422) conneted to my board of csi0. &amp;nbsp;I had finish the camera driver, and I had wrote my hal according to Ov5640Csi.cpp in libcamera3. When I used the camera app released by system, it can be preview and taken picture. When I used the camera app to record, a dialog box was pop up:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;STRONG&gt;Camera error &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Can't cnnect to the camera&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp; &amp;nbsp;I think the problem my be the hal file. &amp;nbsp;Here is my hal file. Any advises are appreciated.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Gv7601Csi.cpp:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;#include "Gv7601Csi.h"&lt;/P&gt;&lt;P&gt;Gv7601Csi::Gv7601Csi(int32_t id, int32_t facing, int32_t orientation, char* path)&amp;nbsp;: Camera(id, facing, orientation, path)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; mVideoStream = new OvStream(this);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Gv7601Csi::~Gv7601Csi()&lt;BR /&gt;{&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;status_t Gv7601Csi::initSensorStaticData()&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; int32_t fd = open(mDevPath, O_RDWR);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; // first read sensor format.&lt;BR /&gt;&amp;nbsp; int ret = 0, index = 0;&lt;BR /&gt;&amp;nbsp; int sensorFormats[MAX_SENSOR_FORMAT];&lt;BR /&gt;&amp;nbsp; int availFormats[MAX_SENSOR_FORMAT];&lt;BR /&gt;&amp;nbsp; memset(sensorFormats, 0, sizeof(sensorFormats));&lt;BR /&gt;&amp;nbsp; memset(availFormats, 0, sizeof(availFormats));&lt;/P&gt;&lt;P&gt;&amp;nbsp; // v4l2 does not support enum format, now hard code here.&lt;BR /&gt;&amp;nbsp; sensorFormats[index] = v4l2_fourcc('N', 'V', '1', '2');&lt;BR /&gt;&amp;nbsp; availFormats[index++] = v4l2_fourcc('N', 'V', '1', '2');&lt;BR /&gt;&amp;nbsp; sensorFormats[index] = v4l2_fourcc('Y', 'V', '1', '2');&lt;BR /&gt;&amp;nbsp; availFormats[index++] = v4l2_fourcc('Y', 'V', '1', '2');&lt;BR /&gt;&amp;nbsp; mSensorFormatCount = changeSensorFormats(sensorFormats, mSensorFormats, index);&lt;BR /&gt;&amp;nbsp; if (mSensorFormatCount == 0) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ALOGE("%s no sensor format enum", __func__);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; close(fd);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; return BAD_VALUE;&lt;BR /&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; availFormats[index++] = v4l2_fourcc('B', 'L', 'O', 'B');&lt;BR /&gt;&amp;nbsp; availFormats[index++] = v4l2_fourcc('R', 'A', 'W', 'S');&lt;BR /&gt;&amp;nbsp; //availFormats[2] = v4l2_fourcc('Y', 'U', 'Y', 'V');&lt;BR /&gt;&amp;nbsp; mAvailableFormatCount = changeSensorFormats(availFormats, mAvailableFormats, index);&lt;/P&gt;&lt;P&gt;&amp;nbsp; index = 0;&lt;BR /&gt;&amp;nbsp; char TmpStr[20];&lt;BR /&gt;&amp;nbsp; int previewCnt = 0, pictureCnt = 0;&lt;BR /&gt;&amp;nbsp; struct v4l2_frmsizeenum vid_frmsize;&lt;BR /&gt;&amp;nbsp; struct v4l2_frmivalenum vid_frmval;&lt;BR /&gt;&amp;nbsp; while (ret == 0) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; memset(TmpStr, 0, 20);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; memset(&amp;amp;vid_frmsize, 0, sizeof(struct v4l2_frmsizeenum));&lt;BR /&gt;&amp;nbsp; &amp;nbsp; vid_frmsize.index = index++;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; vid_frmsize.pixel_format = convertPixelFormatToV4L2Format(mSensorFormats[0]);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ret = ioctl(fd, VIDIOC_ENUM_FRAMESIZES, &amp;amp;vid_frmsize);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; if (ret != 0) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; continue;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; vid_frmval.discrete.denominator = 30;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; vid_frmval.discrete.numerator = 1;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; mPictureResolutions[pictureCnt++] = vid_frmsize.discrete.width;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; mPictureResolutions[pictureCnt++] = vid_frmsize.discrete.height;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; mPreviewResolutions[previewCnt++] = vid_frmsize.discrete.width;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; mPreviewResolutions[previewCnt++] = vid_frmsize.discrete.height;&lt;/P&gt;&lt;P&gt;&amp;nbsp; } // end while&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; mPreviewResolutionCount = previewCnt;&lt;BR /&gt;&amp;nbsp; mPictureResolutionCount = pictureCnt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; mMinFrameDuration = 33331760L;&lt;BR /&gt;&amp;nbsp; mMaxFrameDuration = 30000000000L;&lt;BR /&gt;&amp;nbsp; int i;&lt;BR /&gt;&amp;nbsp; for (i=0; i&amp;lt;MAX_RESOLUTION_SIZE &amp;amp;&amp;amp; i&amp;lt;pictureCnt; i+=2) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ALOGI("SupportedPictureSizes: %d x %d", mPictureResolutions[i], mPictureResolutions[i+1]);&lt;BR /&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; adjustPreviewResolutions();&lt;/P&gt;&lt;P&gt;&amp;nbsp; i = 0;&lt;BR /&gt;&amp;nbsp; mTargetFpsRange[i++] = 30;&lt;BR /&gt;&amp;nbsp; mTargetFpsRange[i++] = 30;&lt;BR /&gt;&amp;nbsp; mTargetFpsRange[i++] = 30;&lt;BR /&gt;&amp;nbsp; mTargetFpsRange[i++] = 30;&lt;/P&gt;&lt;P&gt;&amp;nbsp; setMaxPictureResolutions();&lt;BR /&gt;&amp;nbsp; ALOGI("mMaxWidth:%d, mMaxHeight:%d", mMaxWidth, mMaxHeight);&lt;/P&gt;&lt;P&gt;&amp;nbsp; mFocalLength = 3.37f;&lt;BR /&gt;&amp;nbsp; mPhysicalWidth = 3.6288f; //2592 x 1.4u&lt;BR /&gt;&amp;nbsp; mPhysicalHeight = 2.7216f; //1944 x 1.4u&lt;/P&gt;&lt;P&gt;&amp;nbsp; close(fd);&lt;BR /&gt;&amp;nbsp; return NO_ERROR;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// configure device.&lt;/P&gt;&lt;P&gt;int32_t Gv7601Csi::OvStream::onDeviceConfigureLocked()&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; ALOGI("%s", __func__);&lt;BR /&gt;&amp;nbsp; int32_t ret = 0;&lt;BR /&gt;&amp;nbsp; if (mDev &amp;lt;= 0) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ALOGE("%s invalid fd handle", __func__);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; return BAD_VALUE;&lt;BR /&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; int32_t input = 1;&lt;BR /&gt;&amp;nbsp; ret = ioctl(mDev, VIDIOC_S_INPUT, &amp;amp;input);&lt;BR /&gt;&amp;nbsp; if (ret &amp;lt; 0) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ALOGE("%s VIDIOC_S_INPUT Failed: %s", __func__, strerror(errno));&lt;BR /&gt;&amp;nbsp; &amp;nbsp; return ret;&lt;BR /&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; return USPStream::onDeviceConfigureLocked();&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 07:03:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Camera-error-Can-t-cnnect-to-the-camera/m-p/669722#M103129</guid>
      <dc:creator>jiejia</dc:creator>
      <dc:date>2017-05-31T07:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Camera error: Can't cnnect to the camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Camera-error-Can-t-cnnect-to-the-camera/m-p/669723#M103130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jie,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; You should modify parameters to be your camera's in media_profiles.xml.&lt;/P&gt;&lt;P&gt;try it, please!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 06:09:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Camera-error-Can-t-cnnect-to-the-camera/m-p/669723#M103130</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2017-06-01T06:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Camera error: Can't cnnect to the camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Camera-error-Can-t-cnnect-to-the-camera/m-p/669724#M103131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Sun&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Thanks for reply. I have tried changed&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;media_profiles.xml to support only 1080P, the error is the same.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&lt;BR /&gt;&amp;lt;MediaSettings&amp;gt;&lt;BR /&gt; &amp;lt;!-- Each camcorder profile defines a set of predefined configuration parameters --&amp;gt;&lt;BR /&gt; &amp;lt;CamcorderProfiles cameraId="0"&amp;gt;&lt;BR /&gt; &amp;lt;EncoderProfile quality="1080p" fileFormat="mp4" duration="30"&amp;gt;&lt;BR /&gt; &amp;lt;Video codec="h264"&lt;BR /&gt; bitRate="8000000"&lt;BR /&gt; width="1920"&lt;BR /&gt; height="1080"&lt;BR /&gt; frameRate="30" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Audio codec="aac"&lt;BR /&gt; bitRate="96000"&lt;BR /&gt; sampleRate="44100"&lt;BR /&gt; channels="1" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Camera previewFrameRate="30" /&amp;gt;&lt;BR /&gt; &amp;lt;EncoderOutputFileFormat name="mp4" /&amp;gt;&lt;BR /&gt; &amp;lt;/EncoderProfile&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &amp;lt;ImageEncoding quality="70" /&amp;gt;&lt;BR /&gt; &amp;lt;ImageEncoding quality="80" /&amp;gt;&lt;BR /&gt; &amp;lt;ImageEncoding quality="90" /&amp;gt;&lt;BR /&gt; &amp;lt;ImageDecoding memCap="20000000" /&amp;gt;&lt;BR /&gt; &amp;lt;/CamcorderProfiles&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &amp;lt;!--&lt;BR /&gt; If a codec is not enabled, it is invisible to the applications&lt;BR /&gt; In other words, the applications won't be able to use the codec&lt;BR /&gt; or query the capabilities of the codec at all if it is disabled&lt;BR /&gt; --&amp;gt;&lt;BR /&gt; &amp;lt;VideoEncoderCap name="h263" enabled="true"&lt;BR /&gt; minBitRate="48000" maxBitRate="8000000"&lt;BR /&gt; minFrameWidth="176" maxFrameWidth="1920"&lt;BR /&gt; minFrameHeight="144" maxFrameHeight="1080"&lt;BR /&gt; minFrameRate="1" maxFrameRate="30" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;VideoEncoderCap name="m4v" enabled="true"&lt;BR /&gt; minBitRate="64000" maxBitRate="8000000"&lt;BR /&gt; minFrameWidth="176" maxFrameWidth="1920"&lt;BR /&gt; minFrameHeight="144" maxFrameHeight="1080"&lt;BR /&gt; minFrameRate="1" maxFrameRate="30" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;VideoEncoderCap name="h264" enabled="true"&lt;BR /&gt; minBitRate="64000" maxBitRate="8000000"&lt;BR /&gt; minFrameWidth="176" maxFrameWidth="1920"&lt;BR /&gt; minFrameHeight="144" maxFrameHeight="1080"&lt;BR /&gt; minFrameRate="1" maxFrameRate="30" /&amp;gt;&lt;/P&gt;&lt;P&gt;.....................&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 08:41:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Camera-error-Can-t-cnnect-to-the-camera/m-p/669724#M103131</guid>
      <dc:creator>jiejia</dc:creator>
      <dc:date>2017-06-01T08:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Camera error: Can't cnnect to the camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Camera-error-Can-t-cnnect-to-the-camera/m-p/669725#M103132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is on sound card in my board. We only nedd to record the image. &amp;nbsp; Would my problem be caused by the audio record? &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the log:&lt;/P&gt;&lt;P&gt;01-01 00:11:46.698 214 3291 E ACodec : [OMX.Freescale.std.video_encoder.avc.hw-based] storeMetaDataInBuffers (output) failed w/ err -1010&lt;BR /&gt;01-01 00:11:46.698 214 3291 E OMXNodeInstance: setConfig(36:Freescale.std._encoder.avc.hw-based, ConfigPriority(0x6f800002)) ERROR: UnsupportedIndex(0x8000101a)&lt;BR /&gt;01-01 00:11:46.747 214 682 E AudioSystem: AudioSystem::getInputBufferSize failed sampleRate 44100 format 0x1 channelMask 10&lt;BR /&gt;01-01 00:11:46.747 214 682 E AudioRecord: AudioSystem could not query the input buffer size for sampleRate 44100, format 0x1, channelMask 0x10; status -22&lt;BR /&gt;01-01 00:11:46.747 214 682 E StagefrightRecorder: audio source is not initialized&lt;BR /&gt;01-01 00:11:46.747 214 682 E MPEG4Writer: Stop() called but track is not started&lt;BR /&gt;01-01 00:11:46.777 3147 3147 E MediaRecorder: start failed: -2147483648&lt;BR /&gt;01-01 00:11:46.781 3147 3147 E CAM_VideoModule: Could not start media recorder. &lt;BR /&gt;01-01 00:11:46.781 3147 3147 E CAM_VideoModule: java.lang.RuntimeException: start failed.&lt;BR /&gt;01-01 00:11:46.781 3147 3147 E CAM_VideoModule: at android.media.MediaRecorder.start(Native Method)&lt;BR /&gt;01-01 00:11:46.781 3147 3147 E CAM_VideoModule: at com.android.camera.VideoModule$11.onStorageUpdateDone(VideoModule.java:1399)&lt;BR /&gt;01-01 00:11:46.781 3147 3147 E CAM_VideoModule: at com.android.camera.CameraActivity$20.onPostExecute(CameraActivity.java:2351)&lt;BR /&gt;01-01 00:11:46.781 3147 3147 E CAM_VideoModule: at com.android.camera.CameraActivity$20.onPostExecute(CameraActivity.java:2346)&lt;BR /&gt;01-01 00:11:46.781 3147 3147 E CAM_VideoModule: at android.os.AsyncTask.finish(AsyncTask.java:651)&lt;BR /&gt;01-01 00:11:46.781 3147 3147 E CAM_VideoModule: at android.os.AsyncTask.-wrap1(AsyncTask.java)&lt;BR /&gt;01-01 00:11:46.781 3147 3147 E CAM_VideoModule: at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:668)&lt;BR /&gt;01-01 00:11:46.781 3147 3147 E CAM_VideoModule: at android.os.Handler.dispatchMessage(Handler.java:102)&lt;BR /&gt;01-01 00:11:46.781 3147 3147 E CAM_VideoModule: at android.os.Looper.loop(Looper.java:148)&lt;BR /&gt;01-01 00:11:46.781 3147 3147 E CAM_VideoModule: at android.app.ActivityThread.main(ActivityThread.java:5422)&lt;BR /&gt;01-01 00:11:46.781 3147 3147 E CAM_VideoModule: at java.lang.reflect.Method.invoke(Native Method)&lt;BR /&gt;01-01 00:11:46.781 3147 3147 E CAM_VideoModule: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)&lt;BR /&gt;01-01 00:11:46.781 3147 3147 E CAM_VideoModule: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)&lt;BR /&gt;01-01 00:11:46.783 3147 3147 E CAM_FatalErrorHandler: Handling Camera Access Failure:&lt;BR /&gt;01-01 00:11:46.783 3147 3147 E CAM_FatalErrorHandler: java.lang.Exception&lt;BR /&gt;01-01 00:11:46.783 3147 3147 E CAM_FatalErrorHandler: at com.android.camera.FatalErrorHandlerImpl.onGenericCameraAccessFailure(FatalErrorHandlerImpl.java:84)&lt;BR /&gt;01-01 00:11:46.783 3147 3147 E CAM_FatalErrorHandler: at com.android.camera.VideoModule$11.onStorageUpdateDone(VideoModule.java:1402)&lt;BR /&gt;01-01 00:11:46.783 3147 3147 E CAM_FatalErrorHandler: at com.android.camera.CameraActivity$20.onPostExecute(CameraActivity.java:2351)&lt;BR /&gt;01-01 00:11:46.783 3147 3147 E CAM_FatalErrorHandler: at com.android.camera.CameraActivity$20.onPostExecute(CameraActivity.java:2346)&lt;BR /&gt;01-01 00:11:46.783 3147 3147 E CAM_FatalErrorHandler: at android.os.AsyncTask.finish(AsyncTask.java:651)&lt;BR /&gt;01-01 00:11:46.783 3147 3147 E CAM_FatalErrorHandler: at android.os.AsyncTask.-wrap1(AsyncTask.java)&lt;BR /&gt;01-01 00:11:46.783 3147 3147 E CAM_FatalErrorHandler: at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:668)&lt;BR /&gt;01-01 00:11:46.783 3147 3147 E CAM_FatalErrorHandler: at android.os.Handler.dispatchMessage(Handler.java:102)&lt;BR /&gt;01-01 00:11:46.783 3147 3147 E CAM_FatalErrorHandler: at android.os.Looper.loop(Looper.java:148)&lt;BR /&gt;01-01 00:11:46.783 3147 3147 E CAM_FatalErrorHandler: at android.app.ActivityThread.main(ActivityThread.java:5422)&lt;BR /&gt;01-01 00:11:46.783 3147 3147 E CAM_FatalErrorHandler: at java.lang.reflect.Method.invoke(Native Method)&lt;BR /&gt;01-01 00:11:46.783 3147 3147 E CAM_FatalErrorHandler: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)&lt;BR /&gt;01-01 00:11:46.783 3147 3147 E CAM_FatalErrorHandler: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)&lt;BR /&gt;01-01 00:11:46.785 3147 3147 E CAM_CameraUtil: Show fatal error dialog&lt;BR /&gt;01-01 00:11:47.305 207 231 E BufferQueueProducer: [com.android.camera2/com.android.camera.CameraLauncher] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 11:22:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Camera-error-Can-t-cnnect-to-the-camera/m-p/669725#M103132</guid>
      <dc:creator>jiejia</dc:creator>
      <dc:date>2017-06-01T11:22:11Z</dc:date>
    </item>
  </channel>
</rss>

