This repository has been archived by the owner on Jan 6, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 820
Android
Taner Sener edited this page Jun 30, 2018
·
26 revisions
-
Add MobileFFmpeg dependency from
jcenter()
dependencies {` implementation 'com.arthenica:mobile-ffmpeg-full:2.0' }
-
Use the following source code to execute commands.
import com.arthenica.mobileffmpeg.FFmpeg; int rc = FFmpeg.execute("-i", "file1.mp4", "-c:v", "libxvid", "file1.avi"); Log.i(Log.TAG, String.format("Command execution %s.", (rc == 0?"completed successfully":"failed with rc=" + rc));
Copyright (c) 2018-2021 MobileFFmpeg