-
-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App crashes automatically after selecting video #23
Comments
@kuldeepworkid can you send me a video so I can reproduce it on my side |
@nomi9995 https://drive.google.com/file/d/1jw5XqDf9pMWJrSMwwTWrR-Bbx1tafFxl/view?usp=sharing |
same issue |
@kuldeepworkid @HemendraKhatik
can you try a different video? |
Closing due to inactivity. |
The crash is happening when we select compressionMethod: 'manual'
await Video.compress(
imgData.path,
{
compressionMethod: 'manual',
maxSize: imgData.height,
bitrate: 450000,
},
progress => {
console.log('prog===>', progress);
},
);
java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$4.done(AsyncTask.java:399)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
at java.util.concurrent.FutureTask.run(FutureTask.java:271)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
Caused by: java.lang.IllegalStateException: Failed to stop the muxer
at android.media.MediaMuxer.nativeStop(Native Method)
at android.media.MediaMuxer.stop(MediaMuxer.java:466)
at com.zolad.videoslimmer.VideoSlimEncoder.releaseCoder(VideoSlimEncoder.java:622)
at com.zolad.videoslimmer.VideoSlimEncoder.convertVideo(VideoSlimEncoder.java:391)
at com.zolad.videoslimmer.VideoSlimTask.doInBackground(VideoSlimTask.java:30)
at com.zolad.videoslimmer.VideoSlimTask.doInBackground(VideoSlimTask.java:11)
at android.os.AsyncTask$3.call(AsyncTask.java:378)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
2021-07-27 18:51:03.330 25348-25644/com.dt.thanthiwhistle E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #3
The text was updated successfully, but these errors were encountered: