I am sorry, but I don't understand your question. I can only guess that your video encoder is gradually falling behind. It probably fails silently when the camera input runs out of buffers. You could easily test this by dropping 9 out of 10 frames in the camera MIO.
On Feb 25, 1:25 am, forest <[email protected]> wrote: > i know, if change function > > OSCL_EXPORT_REF > void AndroidCameraInput::statusUpdate(uint32 status_flags) > { > LOGI("statusUpdate"); > OSCL_UNUSED_ARG(status_flags); > // Ideally this routine should update the status of media input > component. > // It should check then for the status. If media input buffer is > consumed, > // media input object should be resheduled. > // Since the Media fileinput component is designed with single > buffer, two > // asynchronous reads are not possible. So this function will not > be > // requiredand hence not been implemented. > OSCL_LEAVE(OsclErrNone); //OsclErrNotSupported); > > } > > return value ----> OsclErrNone,audioflinger does't died,it is not > pvlogger.txt > > but about before 17s has audio&video data,after 17s has not video > data,only audio data. > > On 2月25日, 下午4时18分, Dave Sparks <[email protected]> wrote: > > > I have never seen the problem you are describing. > > > The video recorder application tries to record to the directory > > returned by the getExternalStorageDirectory() call (which is the SD > > card). It's possible there is a bug related to attempting to record to > > a non-existent file system. > > > You might try modifying the abort code in OpenCore to give you a stack > > trace in case it is detecting some fatal internal error. We usually > > just modify it to write to a NULL pointer *(char*) 0 = 0; > > > On Feb 23, 11:27 pm, forest <[email protected]> wrote: > > > > xscale platform > > > if /sdcard/pvlogger.txt is not exist,when switch to video record > > > mode,audioflinger died and camera power down > > > after carete file /sdcard/pvlogger.txt,video recorder only can record > > > about 9s, audioflinger died ,but sometimes > > > can record normaly. > > > why?thanks~ > > > > ps,how to open opencore's log? The following methods has no effect > > > > rktb > > > 查看个人资料 > > > 更多选项 2月4日, 上午10时54分 > > > I would prefer not mixing the SDK build and the opensource build. The > > > following should work: > > > <android-root>$ source build/envsetup.sh > > > <android-root>$ lunch 1 > > > <android-root>$ make clean > > > <android-root>$ make -j ENABLE_PV_LOGGING=1 > > > <android-root>$ emulator & adb logcat --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~----------~----~----~----~------~----~------~--~---
