cordova-plugin-video-editor icon indicating copy to clipboard operation
cordova-plugin-video-editor copied to clipboard

net.ypresto.android transcoder.engine.Invalid Output FormatException: Non-baseline AVC video profile is not supported by Android OS, actual profile_idc: 100

Open hmondal210 opened this issue 6 years ago • 6 comments

Phone: Android mi Note 5 Pro OS: Android 9

Problem: net.ypresto.android transcoder.engine.Invalid Output FormatException: Non-baseline AVC video profile is not supported by Android OS, actual profile_idc: 100

I think the problem, not on the phone, the problem in the Android 9 version because it's working fine in Android 8.

hmondal210 avatar Jun 23 '19 16:06 hmondal210

I also had this problem. I found that xiaomi's Android 9 had problems with huawei's Android 9 had no problems.

cqjft avatar Aug 19 '19 03:08 cqjft

Uninstall your plugin and try with below one. It will fix your issue.

ionic cordova plugin add https://github.com/ffMathy/cordova-plugin-video-editor.git

swanand6300 avatar Nov 22 '19 04:11 swanand6300

i have got the same problem, have you resolve it?

ctrlands avatar Apr 01 '20 03:04 ctrlands

Uninstall your plugin and try with below one. It will fix your issue.

ionic cordova plugin add https://github.com/ffMathy/cordova-plugin-video-editor.git

still not work, still same tips

ctrlands avatar Apr 01 '20 03:04 ctrlands

I downloaded the lib-release.zip that you can find here: https://github.com/ypresto/android-transcoder/issues/72 and renamed the lib-release.aar in that zip to android-transcoder-0.3.0.aar and then copied that one over the one android studio is using.

It is just one line of code that you need to change, but I'm not an expert on Android and replacing the file does the job for me. On my pc the file that you need to replace is located in: C:\Users\Marc.gradle\caches\modules-2\files-2.1\net.ypresto.androidtranscoder\android-transcoder\0.3.0\63874a5425bd798cf24ec5b0be4596b9174d12cf\

Marccnl avatar Jul 18 '20 22:07 Marccnl

Try to use the fork - https://github.com/AlexMiniApps/cordova-plugin-video-editor Maybe it will help you.

AlexMiniApps avatar Sep 18 '20 08:09 AlexMiniApps