We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in usbCameraTest3, when using: USE_SURFACE_ENCODER = true; the App terminates the moment i start the recording
It fails at UVCPreview::copyToSurface() but i have no idea where the error happens
The SurfaceEncoder would make things much easier for my use case, so any help would be greatly appreciated
2024-08-20 14:50:23.879 17934-17972 MediaAudioEncoder com.serenegiant.usbcameratest3 I prepare finishing 2024-08-20 14:50:23.879 17934-17972 AbsUVCCameraHandler com.serenegiant.usbcameratest3 V onPrepared:encoder=com.serenegiant.encoder.MediaAudioEncoder@5da2b3f 2024-08-20 14:50:23.879 17934-17972 MediaEncoder com.serenegiant.usbcameratest3 V startRecording 2024-08-20 14:50:23.879 17934-17972 MediaEncoder com.serenegiant.usbcameratest3 V startRecording 2024-08-20 14:50:23.883 17934-18021 AudioRecord com.serenegiant.usbcameratest3 D set(): inputSource 0, sampleRate 44100, format 0x1, channelMask 0x10, frameCount 12800, notificationFrames 0, sessionId 0, transferType 0, flags 0, attributionSource AttributionSourceState{pid: -1, uid: 10010, packageName: com.serenegiant.usbcameratest3, attributionTag: (null), token: , renouncedPermissions: [], next: []}uid -1, pid -1,isIsolated:0 2024-08-20 14:50:23.905 17934-18021 MediaAudioEncoder com.serenegiant.usbcameratest3 V AudioThread:start audio recording 2024-08-20 14:50:23.943 17934-18010 libc com.serenegiant.usbcameratest3 A Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7a5ec97000 in tid 18010 (Thread-4), pid 17934 (.usbcameratest3) 2024-08-20 14:50:23.944 17934-18008 libUVCCamera com.serenegiant.usbcameratest3 W [18008*UVCPreview.cpp:119:get_frame]:allocate new frame 2024-08-20 14:50:23.980 17934-18009 libUVCCamera com.serenegiant.usbcameratest3 W [18009*UVCPreview.cpp:119:get_frame]:allocate new frame 2024-08-20 14:50:24.010 17934-18012 MediaEncoder com.serenegiant.usbcameratest3 V INFO_OUTPUT_FORMAT_CHANGED 2024-08-20 14:50:24.013 17934-18012 Utils com.serenegiant.usbcameratest3 E csd0 too small 2024-08-20 14:50:24.013 17934-18012 ExtendedUtils com.serenegiant.usbcameratest3 E csd0 too small 2024-08-20 14:50:24.013 17934-18012 MediaMuxerWrapper com.serenegiant.usbcameratest3 I addTrack:trackNum=2,trackIx=0,format={max-bitrate=64000, sample-rate=44100, level=0, mime=audio/mp4a-latm, profile=2, channel-count=1, bitrate=64000, csd-0=java.nio.HeapByteBuffer[pos=0 lim=2 cap=2]} 2024-08-20 14:50:24.013 17934-18012 MediaMuxerWrapper com.serenegiant.usbcameratest3 V start: 2024-08-20 14:50:24.130 17934-18009 libUVCCamera com.serenegiant.usbcameratest3 W [18009*UVCPreview.cpp:119:get_frame]:allocate new frame 2024-08-20 14:50:24.386 18029-18029 DEBUG pid-18029 A Cmdline: com.serenegiant.usbcameratest3 2024-08-20 14:50:24.386 18029-18029 DEBUG pid-18029 A pid: 17934, tid: 18010, name: Thread-4 >>> com.serenegiant.usbcameratest3 <<< 2024-08-20 14:50:24.386 18029-18029 DEBUG pid-18029 A #01 pc 0000000000019678 /data/app/~~iEN28yvVuLhiw_6QswhEXg==/com.serenegiant.usbcameratest3-dzy9qKh5o0NkVJhG8vBwIw==/base.apk!libUVCCamera.so (copyToSurface(uvc_frame*, ANativeWindow**)+492) (BuildId: b2a3334796213f9d8300fad3bbb5d33c8d767313) 2024-08-20 14:50:24.386 18029-18029 DEBUG pid-18029 A #02 pc 0000000000019a00 /data/app/~~iEN28yvVuLhiw_6QswhEXg==/com.serenegiant.usbcameratest3-dzy9qKh5o0NkVJhG8vBwIw==/base.apk!libUVCCamera.so (UVCPreview::do_capture_surface(_JNIEnv*)+144) (BuildId: b2a3334796213f9d8300fad3bbb5d33c8d767313) 2024-08-20 14:50:24.386 18029-18029 DEBUG pid-18029 A #03 pc 00000000000198f4 /data/app/~~iEN28yvVuLhiw_6QswhEXg==/com.serenegiant.usbcameratest3-dzy9qKh5o0NkVJhG8vBwIw==/base.apk!libUVCCamera.so (UVCPreview::do_capture(_JNIEnv*)+88) (BuildId: b2a3334796213f9d8300fad3bbb5d33c8d767313) 2024-08-20 14:50:24.386 18029-18029 DEBUG pid-18029 A #04 pc 0000000000019220 /data/app/~~iEN28yvVuLhiw_6QswhEXg==/com.serenegiant.usbcameratest3-dzy9qKh5o0NkVJhG8vBwIw==/base.apk!libUVCCamera.so (UVCPreview::capture_thread_func(void*)+60) (BuildId: b2a3334796213f9d8300fad3bbb5d33c8d767313) ---------------------------- PROCESS ENDED (17934) for package com.serenegiant.usbcameratest3 ----------------------------
The text was updated successfully, but these errors were encountered:
No branches or pull requests
in usbCameraTest3, when using: USE_SURFACE_ENCODER = true;
the App terminates the moment i start the recording
It fails at UVCPreview::copyToSurface() but i have no idea where the error happens
The SurfaceEncoder would make things much easier for my use case, so any help would be greatly appreciated
The text was updated successfully, but these errors were encountered: