Using FFmpeg with Android-NDK
From your question it is hard to tell what exactly you want/need... so here some general information:
- Using FFmpeg with Android
- Good starting point for FFmpeg on Android based on ndkr5
- Another good starting point for building FFmpeg for Android
- Helpful information to build FFmpeg for android see here, here and here
- Make sure that you use Windows paths instead of
/cydrive...
when doing ffmpeg/android/cygwin/windows dev
If you need further help please explain exactly what you want to achieve and what is not working...
UPDATE - as per comments:
To use ffmpeg via command line on Android you need to copy ffmpeg into your application's files
directory and chmod 755
it using getRuntime.exec()
then you can run ffmpeg with the following line for example:
Process p = Runtime.getRuntime().exec("/data/data/yourpackagename/files/ffmpeg -i infile.mp4 outfile.mp4")
How to use latest FFMPEG in Android Studio project?
There's a very easy solution for this, There's a precompiled library for android, as below https://github.com/WritingMinds/ffmpeg-android-java
Simply include this as a gradle project in your code and add few methods as per their documentation and you are done with FFMPEG commands in android.
This library is not very updated and have some missing features but still its good to use for many simple tasks.
Related Topics
Missing Styles. Is the Correct Theme Chosen for This Layout
How to Create Converter for My Class in Android Retrofit Library
Adjust Layout When Soft Keyboard Is On
Android Webview, Scaling Image to Fit the Screen
How to Add Action Bar Options Menu in Android Fragments
Multiple Dex Files Define Lorg/Apache/Cordova/Buildhelper
How to Disable Future Dates in Android Date Picker
Android Upload Video to Remote Server Using Http Multipart Form Data
Viewpager Intercepts All X-Axis Ontouch Events. How to Disable
Cache.Properties (The System Cannot Find the File Specified)
Filter Output in Logcat by Tagname
How to Remove Shared Preference While Application Uninstall in Android
Insertion of Thousands of Contact Entries Using Applybatch Is Slow
Android Broadcastreceiver Within Activity
Understanding Android's <Layer-List>
Admob Shows Test Ads But Not Real Ads
How to Set the Output Image Use Com.Android.Camera.Action.Crop