![]() String outputVideoPath (ex: "/sdcard/output.mp4") String inputWaterMarkPath (ex: "/sdcard/waterMark.png") After import "WaterMarkHelper.java" in your project, declare the following in your Activity WaterMarkHelper myHelper Īrguments description: String inputVideoPath (ex: "/sdcard/input.mp4").this, false) Īlt Enter if encounter red font, AndroidStudio would help you to modify "adle(Module)"Īdd following code in "gradle.properties" eDeprecatedNdk=trueĪnd then async project How to use WaterMarkHelper(by Johnny Tu) to add watermark on video If the version is higher than Android 6, add the following code in onCreate() of your Activity GeneralUtils.checkForPermissionsMAndAbove(MainActivity. ![]() File => New => import module => go find the folder downloaded at step1: ffmpeg4android_demo_studio\ffmpeg4android_lib.Easy steps to watermark a video(AS FFmpeg) How to import FFmpeg in Android project (Only use Java) ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |