找不到库,错误,压缩视频文件时

问题描述

logcat消息:

“ E / WVMExtractor:无法打开libwvm.so:dlopen失败:库“ libwvm.so”未找到”

出现上面的错误,当我尝试使用这些代码转换器Transcoder和Sillicompressor压缩视频文件时,我检查了许多博客,但无法找出根本原因。

任何帮助将不胜感激,谢谢。

请找到下面的代码转换器库代码,我准备好视频后会立即调用下面的方法。

private void transcodeVideo() throws IOException {
        String root = Environment.getExternalStorageDirectory().toString();
        File myDir = new File(root,"/.hiddenfolder");
        if (!myDir.exists()) {
            myDir.mkdirs();
        }
        String fname = "video.mp4";
        File vfile = new File(myDir,fname);
        if (vfile.exists()) {
            vfile.delete();
        }
        vfile.createNewFile();
        Log.i("RAVIRAJ","file location is  " + vfile.getAbsolutePath());

        Transcoder.into(String.valueOf(vfile))
                .addDataSource(Atom.context(),uri)
                .setListener(new TranscoderListener() {
                    @Override
                    public void onTranscodeProgress(double progress) {

                    }

                    @Override
                    public void onTranscodeCompleted(int successCode) {

                        Log.d(TAG,"onTranscodeCompleted: " +successCode);
                    }

                    @Override
                    public void onTranscodeCanceled() {
                        Log.d(TAG,"onTranscodeCanceled: ");
                    }

                    @Override
                    public void onTranscodeFailed(@NonNull Throwable exception) {
                        Log.d(TAG,"onTranscodeFailed: "+exception);
                    }
                }).transcode();



    }

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...