- Notifications
You must be signed in to change notification settings - Fork88
This is a library of FFmpeg for android... 📸 🎞 🚑
License
SimformSolutionsPvtLtd/SSffmpegVideoOperation
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
FFmpeg compiled for Android.Execute FFmpeg commands with ease in your Android app.
This project is provide in-build FFmpeg operation queries:
![]() | ![]() | ![]() |
- Cut video using time
- Convert image to video
- Add water mark on video
- Add text on video
- Combine image image and video
- Combine images
- Combine videos
- Compress a video
- Extract frames from video
- Fast/Slow motion video
- Reverse video
- video fade in / fade out
- Compress video to GIF
- Rotate and Flip video (Mirroring)
- Remove audio from video
- Update aspect ratio of video
- Merge GIFs
- Merge Audios
- Update audio volume
- Fast/Slow audio
- Crop audio using time
- Compress Audio
FFmpeg Android runs on the following architectures:
- arm-v7a, arm-v7a-neon, arm64-v8a, x86 and x86_64
- Enabled network capabilities
- Multi-threading
- Supports zlib and Media-codec system libraries
- Camera access on supported devices
- Supports API Level 24+
- 30
Add it in your root build.gradle at the end of repositories:
allprojects { repositories { ... maven { url 'https://jitpack.io' } } }
Add the dependency in your app's build.gradle file
dependencies { implementation 'com.github.SimformSolutionsPvtLtd:SSffmpegVideoOperation:1.0.8' }
This is all you have to do to load the FFmpeg library.
In this sample code we will run the FFmpeg -version command in background call.
valquery:Array<String> ="-i, input,....,...., outout"CallBackOfQuery().callQuery(query,object :FFmpegCallBack {overridefunstatisticsProcess(statistics:Statistics) {Log.i("FFMPEG LOG : ",statistics.videoFrameNumber) }overridefunprocess(logMessage:LogMessage) {Log.i("FFMPEG LOG : ",logMessage.text) }overridefunsuccess() { }overridefuncancel() { }overridefunfailed() { } })
valstartTimeString ="00:01:00" (HH:MM:SS)valendTimeString ="00:02:00" (HH:MM:SS)valquery:Array<String> =FFmpegQueryExtension().cutVideo(inputPath,startTimeString,endTimeString,outputPath)CallBackOfQuery().callQuery(query,object :FFmpegCallBack {overridefunstatisticsProcess(statistics:Statistics) {Log.i("FFMPEG LOG : ",statistics.videoFrameNumber) }overridefunprocess(logMessage:LogMessage) {Log.i("FFMPEG LOG : ",logMessage.text) }overridefunsuccess() {//Output = outputPath }overridefuncancel() { }overridefunfailed() { } })
same for other queries.And you can apply your query also
For more info go toMultimedia Operations for Android using FFmpeg
Support it by joiningstargazers for this repository. ⭐
- Check out our other availableawesome mobile libraries
Copyright 2021 Simform Solutions Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
About
This is a library of FFmpeg for android... 📸 🎞 🚑
Topics
Resources
License
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors9
Uh oh!
There was an error while loading.Please reload this page.