Comments (14)
when I removed the fps
prop the issue went away.
from react-native-vision-camera.
Thanks for the bug report, but the reproduceable code is way too much. Can you please try to reproduce it in the example app instead?
from react-native-vision-camera.
Technically not, null
means it won't set AE_EXPOSURE_DURATION
, whereas 30
means it will set it to 30
.
from react-native-vision-camera.
Yea okay, then it definitely is the same issue that I am already aware of. It's so lame that Samsung simply lies in CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES
- it contains 60 FPS, but doesn't actually support 60 FPS.
from react-native-vision-camera.
hi, it's happening on example too, I've tested it against Samsung S22 Android 14.
edit: tested it on beta 3
from react-native-vision-camera.
Okay yea I just read your comment about fps
- I know about this issue, and I honestly don't know what to do here. Samsung is saying their phones can do 60 FPS in the API, but when you try to use 60 FPS it crashes.
They are messing it up here, there's nothing I can do except explicitly disabling 60 FPS on Samsung devices.
Just to clarify; does it also crash if just set fps={30}
, or only something higher than 30?
from react-native-vision-camera.
thanks for the heads up, will check with 30 in a while but it should be the default if the prop isn't provided, right?
from react-native-vision-camera.
fps={30}
won't crash it.
from react-native-vision-camera.
I wished they were lame only on that part lol!
I think the issue title should be ...in front camera
from react-native-vision-camera.
Just to double check if I am understanding this correctly - all values listed here are supported, right? Or only values here, that are also in CamcorderProfile.videoFrameRate
?
from react-native-vision-camera.
Can you try with a really low res format and see if that works at 60 FPS?
const format = useCameraFormat(device, [
{ videoResolution: { width: 100, height: 100 }
])
from react-native-vision-camera.
on back camera it throwed this:
fps={60}
ERROR [format/invalid-fps: [format/invalid-fps] The given format cannot run at 60 FPS! Make sure your FPS is lower than `format.maxFps` but higher than `format.minFps`.]
when switching to front no error but the screen is black, tried setting format to 400x400, same thing.
from react-native-vision-camera.
Hey - I just released VisionCamera 3.9.0-beta.4 which probably fixes this issue - can you try that latest beta and let me know? :)
from react-native-vision-camera.
it wont crash after setting fps to 60. Thanks Marc, keep it up!
from react-native-vision-camera.
Related Issues (20)
- π [ANDROID] I suddenly get app crash when I install it in the library HOT 1
- π iPhone 12 Front Camera returning that device does not support focus, when it works fine on the native iOS camera HOT 8
- π App Crashed While camRef.current.takePhoto() in React Native New Architechture HOT 1
- Camera.onError(code-scanner/not-compatible-with-outputs): [code-scanner/not-compatible-with-outputs] CodeScanner can only be enabled when both video and frameProcessor are disabled! Use a Frame Processor Plugin for code scanning instead.π HOT 2
- πEncountered stretching problems on some Android devices. HOT 1
- β¨ Support depth data streaming HOT 5
- Android 11 camera stretched π HOT 9
- π CameraRuntimeError: Unknown / Unknown: Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" HOT 5
- β¨ Exposing available video codes on device HOT 5
- πOn Android using videoCodec: 'h265' produce Recording failed! .. "java.io.IOException: prepare failed HOT 3
- π Frame Processor Error: runAtTargetFps is not a function (it is undefined), js engine: VisionCamera HOT 3
- π Video recording does not record audio on some phones HOT 3
- π Pinch to Zoom is not stable (ios). HOT 1
- Camera image stretched but fixed when height value updates.π HOT 10
- App crash when I close the component that contains cameraπ HOT 2
- π using { iso: 'max' } formatFilter crashes the iPhone 15 pro HOT 7
- π Capturing iPhone photos in max resolution HOT 3
- π ISO and taking sharp photos HOT 10
- π Error while switching the camera from front to back and vice versa, when video recording is in-progress HOT 1
- π SIGSEGV - libmedia_jni.so (Image_getFormat(_JNIEnv*, _jobject*, int)+100) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-vision-camera.