UVCCamera
UVCCamera copied to clipboard
library and sample to access to UVC web camera on non-rooted Android device
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();...
Is it possible to record video without preview?
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.  UsbDevice.java has problem that it uses android like this.  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...