Capture video not working
Is this a bug report?
YES.
Have you read the Contributing Guidelines?
(Write your answer here.)
Environment
implementation 'com.wonderkiln:camerakit:0.13.1'
Steps to Reproduce
(Write your steps here:)
- capture video with
camera.captureVideo(file, callback) - Log printed as
D/ViewRootImpl@b026d7c[CustomCamera]: ViewPostIme pointer 0
D/ViewRootImpl@b026d7c[CustomCamera]: ViewPostIme pointer 1
I/MediaRecorderJNI: setup
I/MediaRecorderJNI: setAudioSource(5)
I/MediaRecorderJNI: setVideoSource(1)
I/MediaRecorderJNI: setVideoFrameRate(30)
I/MediaRecorderJNI: setVideoSize(720, 480)
I/MediaRecorderJNI: setParameter()
setVideoEncoder(2)
I/MediaRecorderJNI: setParameter()
I/chatty: uid=10359(u0_a359) com.bluestreamdigital.gap identical 1 line
I/MediaRecorderJNI: setParameter()
setAudioEncoder(3)
I/MediaRecorderJNI: setParameter()
I/MediaRecorderJNI: setOutputFile
I/MediaRecorderJNI: prepare
get_surface
prepare: surface=0x77c34fe000
I/MediaRecorderJNI: start
D/ViewRootImpl@b026d7c[CustomCamera]: ViewPostIme pointer 0
D/ViewRootImpl@b026d7c[CustomCamera]: ViewPostIme pointer 1
I/MediaRecorderJNI: native_reset
I/MediaRecorderJNI: release
I/Choreographer: Skipped 47 frames! The application may be doing too much work on its main thread.
Expected Behavior
Should capture video and store it on sd card.
(Write what you thought would happen.)
Actual Behavior
May be recording but not writing output to file and not even firing callback
(Write what happened. Add screenshots!)
Reproducible Demo
(Paste the link to an example project and exact instructions to reproduce the issue.)
Hey @ManojMM026 which version of Android are you using? Could you create a GitHub project or link your code here? That will help a lot in diagnosing the issue!
Samsung s8 with oreo 8.0.0
@ManojMM026 have you gave your app the write external storage permission?
Yes
Hey everyone, we are no longer supporting 0.13.x with active development and instead focused on our v1.00 via #318 - video functionality doesn't exist currently but it's coming soon.
Hey @austinkettner, is the video functionality added since then? If not, when can we expect that?