Comments (4)
Hey @leonardorpaixao, I've seen this Issue that looks to be very similar.
I also tested some apps from camera-samples & Camerax-demo and causes the same crash.
So knowing that the crash is caused by cameraX and not by Camposer, I'll release a new version with minSdk
21 ASAP.
ps: I'm looking forward to using the cameraX new version 1.3.0 as soon as releasing stable, which updates the internal video capture features... it may be the possible fix for it.
Happy new year! π
from camposer.
What a good news! Thank you so much!
Happy new year @ujizin !! β¨
from camposer.
I got an error when I start recording video with SDK 21/22
FATAL EXCEPTION: CameraX-video encoding thread
Process: com.ujizin.sample, PID: 13274
java.lang.IllegalStateException
at android.media.MediaCodec.native_dequeueOutputBuffer(Native Method)
at android.media.MediaCodec.dequeueOutputBuffer(MediaCodec.java:1033)
at androidx.camera.core.VideoCapture.videoEncode(VideoCapture.java:881)
at androidx.camera.core.VideoCapture.lambda$startRecording$4$androidx-camera-core-VideoCapture(VideoCapture.java:511)
at androidx.camera.core.VideoCapture$$ExternalSyntheticLambda4.run(D8$$SyntheticClass)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61)
Devices:
- Pixel 6 Pro API 22 (AVD)
- Pixel 6 API 21 (AVD)
I haven't seen this on the Google issue tracker π€, I'm working on figuring out that.
The other features look good to me. If you want to reproduce the bug, just start recording a video in the sample project.
from camposer.
Hey @leonardorpaixao, first, thank you for the contribution π
We've talked about changing the minSdk
to 21 in this discussion.
Please feel free to change for minSdk
21 if you want in this PR, however, I won't launch a new release for now because I want to enforce that everything is ok with these news SDKs.
For now, if you want to use the library with sdk 22 I'd recommend to override the sdk in your android manifest.
<uses-sdk tools:overrideLibrary="com.ujizin.camposer"/>
from camposer.
Related Issues (20)
- ByteArray as return on ImageCaptureResult HOT 4
- Add support for Audio config HOT 1
- Documentation example raise type mismatch HOT 1
- Aspect Ratio support. HOT 2
- Image rotation issue HOT 5
- Update CameraX to 1.2.2 HOT 5
- Add support for UVC Camera HOT 4
- Provide way to access underlying CameraController HOT 1
- add control the exposureοΌ HOT 2
- Add focus mode adjustment and exposure support HOT 1
- Aspect Ratio support. HOT 1
- Add takePicture with ImageCapture and update camera to 1.3 HOT 2
- Can't change alpha on `CameraPreview` HOT 3
- Make `CameraState` public HOT 4
- Allow VideoCapture to be used with Image Analysis.
- Still can't figure out how to change aspect ratio! HOT 1
- Help how to add a semi-transparent layer used to crop image? HOT 2
- Enabled use case problem HOT 7
- CameraPreview extends over parent size on API level 24 HOT 1
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 camposer.