【Android10】【AIO-3399J】请问RK3399如何使用1080p的USB摄像头录像呢?
【Android10】【AIO-3399J】请问RK3399如何使用1080p的USB摄像头录像呢?摄像头使用:
https://item.jd.com/100004361466.html
罗技(Logitech)C930c高清网络摄像头 1080P视频通话
可以使用1080p拍照,但是不能1080p录像。
720p录像也出错。
(不过可以480p录像)
请问是没有录像的时候没有配置16:9吗?
640x480=480p是4:3分辨率!
Y:\rk3399_Android10.0\hardware\libhardware\modules\usbcamera\UsbCamera.cpp
G:\RK3399\rk3399_Android10.0\device\rockchip\rk3399\media_profiles_default.xml
Z:\fanzong\rk3399_Android10.0\hardware\libhardware\modules\usbcamera\UsbCamera.cpp
Z:\fanzong\rk3399_Android10.0\kernel\drivers\media\usb\uvc\uvc_driver.c
1080p录像出错的LOG:
05-06 07:15:02.82415291529 V CAM_VideoModule: New video filename: /storage/emulated/0/DCIM/Camera/VID_20210506_071502.mp4.tmp
05-06 07:15:02.827 3211751 E CameraSource: Video dimension (1920x1080) is unsupported
05-06 07:15:02.82815291529 E MediaRecorder: start failed: -19
05-06 07:15:02.82915291529 E CAM_VideoModule: Could not start media recorder.
05-06 07:15:02.82915291529 E CAM_VideoModule: java.lang.RuntimeException: start failed.
05-06 07:15:02.82915291529 E CAM_VideoModule: at android.media.MediaRecorder.start(Native Method)
05-06 07:15:02.82915291529 E CAM_VideoModule: at com.android.camera.VideoModule$14.onStorageUpdateDone(VideoModule.java:1614)
05-06 07:15:02.82915291529 E CAM_VideoModule: at com.android.camera.CameraActivity$22.onPostExecute(CameraActivity.java:2750)
05-06 07:15:02.82915291529 E CAM_VideoModule: at com.android.camera.CameraActivity$22.onPostExecute(CameraActivity.java:2734)
05-06 07:15:02.82915291529 E CAM_VideoModule: at android.os.AsyncTask.finish(AsyncTask.java:755)
05-06 07:15:02.82915291529 E CAM_VideoModule: at android.os.AsyncTask.access$900(AsyncTask.java:192)
05-06 07:15:02.82915291529 E CAM_VideoModule: at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:772)
05-06 07:15:02.82915291529 E CAM_VideoModule: at android.os.Handler.dispatchMessage(Handler.java:107)
05-06 07:15:02.82915291529 E CAM_VideoModule: at android.os.Looper.loop(Looper.java:214)
05-06 07:15:02.82915291529 E CAM_VideoModule: at android.app.ActivityThread.main(ActivityThread.java:7356)
05-06 07:15:02.82915291529 E CAM_VideoModule: at java.lang.reflect.Method.invoke(Native Method)
05-06 07:15:02.82915291529 E CAM_VideoModule: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
05-06 07:15:02.82915291529 E CAM_VideoModule: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
05-06 07:15:02.83015291529 E CAM_FatalErrorHandler: Handling Camera Access Failure:
05-06 07:15:02.83015291529 E CAM_FatalErrorHandler: java.lang.Exception
05-06 07:15:02.83015291529 E CAM_FatalErrorHandler: at com.android.camera.FatalErrorHandlerImpl.onGenericCameraAccessFailure(FatalErrorHandlerImpl.java:84)
05-06 07:15:02.83015291529 E CAM_FatalErrorHandler: at com.android.camera.VideoModule$14.onStorageUpdateDone(VideoModule.java:1617)
05-06 07:15:02.83015291529 E CAM_FatalErrorHandler: at com.android.camera.CameraActivity$22.onPostExecute(CameraActivity.java:2750)
05-06 07:15:02.83015291529 E CAM_FatalErrorHandler: at com.android.camera.CameraActivity$22.onPostExecute(CameraActivity.java:2734)
05-06 07:15:02.83015291529 E CAM_FatalErrorHandler: at android.os.AsyncTask.finish(AsyncTask.java:755)
05-06 07:15:02.83015291529 E CAM_FatalErrorHandler: at android.os.AsyncTask.access$900(AsyncTask.java:192)
05-06 07:15:02.83015291529 E CAM_FatalErrorHandler: at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:772)
05-06 07:15:02.83015291529 E CAM_FatalErrorHandler: at android.os.Handler.dispatchMessage(Handler.java:107)
05-06 07:15:02.83015291529 E CAM_FatalErrorHandler: at android.os.Looper.loop(Looper.java:214)
05-06 07:15:02.83015291529 E CAM_FatalErrorHandler: at android.app.ActivityThread.main(ActivityThread.java:7356)
05-06 07:15:02.83015291529 E CAM_FatalErrorHandler: at java.lang.reflect.Method.invoke(Native Method)
05-06 07:15:02.83015291529 E CAM_FatalErrorHandler: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
05-06 07:15:02.83015291529 E CAM_FatalErrorHandler: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
05-06 07:15:02.83115291529 E CAM_CameraUtil: Show fatal error dialog
05-06 07:15:02.855 2641607 V ExtCamDevSsn@3.4: threadLoop processing new request
05-06 07:15:02.86215291529 I CAM_VideoModule: Releasing media recorder.
05-06 07:15:02.86315291529 V CAM_VideoModule: Empty video file deleted: /storage/emulated/0/DCIM/Camera/VID_20210506_071502.mp4.tmp
05-06 07:15:02.864 3211751 W StagefrightRecorder: stop while neither recording nor paused
05-06 07:15:02.864 3211751 I chatty: uid=1013(media) Binder:321_4 identical 1 line
05-06 07:15:02.865 3211751 W StagefrightRecorder: stop while neither recording nor paused
05-06 07:15:02.86615291529 I CAM_VideoModule: Released media recorder.
05-06 07:15:02.869 2641608 D ExtCamDevSsn@3.4: debugShowFPS(985): Camera 2304 Frames, 30.079 FPS
05-06 07:15:02.879 2641607 V ExtCamDevSsn@3.4: threadLoop processing new request
05-06 07:15:02.89415291556 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
05-06 07:15:02.898 272 462 I GRALLOC-ROCKCHIP: : hardware/rockchip/libgralloc/midgard/gralloc_drm_rockchip.cpp; : 2197; : drm_gem_rockchip_alloc;
05-06 07:15:02.898 272 462 I GRALLOC-ROCKCHIP: dmabuf_name : 462_1591040_07:15:02.898
05-06 07:15:02.912 2641607 V ExtCamDevSsn@3.4: threadLoop processing new request
wb4916 发表于 2021-5-6 17:00
1080p录像出错的LOG:
05-06 07:15:02.82415291529 V CAM_VideoModule: New video filename: /storage ...
目前是有这个问题,修改后会回复 jpchen 发表于 2021-5-8 11:29
目前是有这个问题,修改后会回复
添加附件就可以解决
怎么拿patch? 您所在的用户组无法下载或查看附件 再评论一下升级 专业
页:
[1]