Skip to content

Instantly share code, notes, and snippets.

@lhjnano
Created December 21, 2016 09:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lhjnano/8293657c37a4deedb556e0edeb6549d9 to your computer and use it in GitHub Desktop.
Save lhjnano/8293657c37a4deedb556e0edeb6549d9 to your computer and use it in GitHub Desktop.
String a0 = "ffmpeg";
String a1 = "-i";
String a2 = "/storage/emulated/0/Download/demo.mp4";
String a3 = "-filter:v";
String a4 = "crop=300:400:10:20";
String a5 = "/storage/emulated/0/Download/output.mp4";
String[] argv = new String[]{a0,a1,a2,a3,a4,a5};
// 동작
new NDKAdapter().run_ffmpeg(argv);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment