ffmpegandroidlibrary
ffmpegandroidlibrary copied to clipboard
One line integration for FFMPEG Library in Android
I am experiencing a crash when calling Run. I have the same problem when integrating with my own application and with the example project in github. With the example project...
Hi Madhavan, I am trying build from source using the steps that you have given. I am building on a Windows pc so, 1. Downloaded the android-ndk-r18b-windows-x86_64 ndk 2. Cloned...
Hi again, I am trying to stream a .mp4 to a remote public server without any luck. The server is not receiving anything on the 8888 port while I try...
String[] cmd = new String[]{"-i",videoFile.getAbsolutePath(),"-i",audioFile.getAbsolutePath(),"-strict","experimental","-c","copy","-map","0:v","-map","1:a",file.getAbsolutePath()}; Controller.getInstance().run(cmd); Then app terminated. Help me please.
String filein = "input.mp4"; String img ="kapil.jpg"; String fileout = Environment.getExternalStorageDirectory().getAbsolutePath() +"/output.mp4"; Controller.getInstance().run(new String[]{ "-i", filein, "-i", img, "-filter_complex", "overlay=0:main_h-overlay_h", fileout }); i am using this code to run my...
ffmpegandroidlibrary-master/bintray.properties (No such file or directory)
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.mysoft.audio-1/base.apk"],nativeLibraryDirectories=[/data/app/com.mysoft.audio-1/lib/arm64, /data/app/com.mysoft.audio-1/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]] couldn't find "libffmpeg.so" at java.lang.Runtime.loadLibrary0(Runtime.java:972)
String intermediate1 = getExternalFilesDir(null).getAbsoluteFile()+"/intermediate1.ts"; String intermediate2 = getExternalFilesDir(null).getAbsoluteFile()+"/intermediate2.ts"; String filein = getExternalFilesDir(null).getAbsoluteFile()+"/in.mp4"; String fileout = getExternalFilesDir(null).getAbsoluteFile()+"/out.mp4"; String fileouts = getExternalFilesDir(null).getAbsoluteFile()+"/outs.mp4"; /************************************************/ Controller.getInstance().run(new String[]{ "-i", filein, "-c", "copy", "-bsf:v h264_mp4toannexb", "-f",...
`public void mergeAudioVideo(String audioFile, String videoFile, String mergedFile) { Controller.getInstance().run(new String[]{ "-i", videoFile, "-i", audioFile, "-c", "copy", "-map", "0:0", "-map", "1:0", mergedFile }); }` here is the code i m...
Hi, I'm trying to add watermark over a video. Below is the command i'm using String[] temp = new String[]{ "-y", "-i", "/storage/emulated/0/Download/input.mp4", "-i", "/storage/emulated/0/Download/watermark.png", "-filter_complex", "\\"overlay=10:10\\"", "/storage/emulated/0/Download/output.mp4" }; Controller.getInstance().run(temp);...