UVCCamera icon indicating copy to clipboard operation
UVCCamera copied to clipboard

library and sample to access to UVC web camera on non-rooted Android device

Results 109 UVCCamera issues
Sort by recently updated
recently updated
newest added

At the bottom of my preview i end up with 4 green lines of pixels it is a normal behavior (because camera support only this requestHeight). But i need to...

java.lang.IllegalStateException at android.media.MediaCodec.native_dequeueOutputBuffer(Native Method) at android.media.MediaCodec.dequeueOutputBuffer(MediaCodec.java:2570) at com.serenegiant.encoder.MediaEncoder.drain(MediaEncoder.java:354) at com.serenegiant.encoder.MediaEncoder.run(MediaEncoder.java:158) at java.lang.Thread.run(Thread.java:761)

2592X1944 void UVCPreview::addPreviewFrame(uvc_frame_t *frame) { pthread_mutex_lock(&preview_mutex); if (isRunning() && (previewFrames.size() < MAX_FRAME)) { previewFrames.clear();//clear previewFrames previewFrames.put(frame); frame = NULL; pthread_cond_signal(&preview_sync); } pthread_mutex_unlock(&preview_mutex); if (frame) { recycle_frame(frame); } } add previewFrames.clear();...

I'd like to add some filter to camera preview, e.g, negative, saturation, grayscale filter. ``` if(mEffectContext==null) { mEffectContext = EffectContext.createWithCurrentGlContext(); } if(mEffect!=null){ mEffect.release(); } EffectFactory factory = mEffectContext.getFactory(); mEffect =...

I just migrate android support to androidx. but it shows like this. ![image](https://user-images.githubusercontent.com/75288953/183574427-91c584e9-1c7c-4b08-8d8c-cf9240d45076.png) UsbDevice.java has problem that it uses android like this. ![image](https://user-images.githubusercontent.com/75288953/183574664-82b1d9c8-e409-44c9-8585-32c8c91ba334.png) so I have added gradle dependancies about...

> Configure project :libuvccamera executing ndkBuild executing ndkBuild clean > Task :libuvccamera:ndkClean FAILED make: Entering directory `/Users/SkywingWang/NNGWork/GitLab/cockpit_meter/libuvccamera/src/main' obj/local/armeabi-v7a/objs/UVCCamera/Parameters.o.d:1: *** multiple target patterns. Stop. make: Leaving directory `/Users/SkywingWang/NNGWork/GitLab/cockpit_meter/libuvccamera/src/main' FAILURE: Build failed...

I have an issue where I need to disable câmera preview and then it get stuck. Since It's being called from UI thread an ANR pops up on screen. Looking...

Hi, How to resolve this problem. At first, I just used the Camera and there was no problem. But after I used more MTCNN the bandwidth-related error happened. And then...

Hi , I'm working in an app and I need to get two types of images from the camera frame, one is a byte array in NV21 format and the...