fishwjy/VideoCompressor

压缩视频有问题

mingongzi opened this issue · 0 comments

java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$AsyncFutureTask.done(AsyncTask.java:445)
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:308)
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:933)
Caused by: java.lang.IllegalArgumentException: couldn't open /storage/emulated/0/Movies/VID_20230219091018813.mp4
at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:250)
at com.vincent.videocompressor.VideoController.convertVideo(VideoController.java:251)
at com.vincent.videocompressor.VideoCompress$VideoCompressTask.doInBackground(VideoCompress.java:51)
at com.vincent.videocompressor.VideoCompress$VideoCompressTask.doInBackground(VideoCompress.java:32)
at android.os.AsyncTask$3.call(AsyncTask.java:405)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
... 4 more
Back traces ends.