For Video, Audio and Image/GIF operations.
App is pre loaded with audio, video, images, font resources which are useful for experimenting with FFmpeg library. You can add your resources as well, but keep extensions and make sure naming convions are same as used in this project to avoid any I/OExceptions.
Each example will preview result in a dialog. Files are saved in local storage directory and can be directly accessed from there.
FFMpeg Examples (Video):
- Split a video in equal segments
- Trim a video with specified timestamps
- Make a MP4 movie with provided images & audio in mp3
- Resize a video in specified dimensions
- Add Text overlay on video with specified text attributes
- Merge an audio over video file
FFMpeg Examples (Audio):
- Trim a audio with specified timestamps
- Extract audio file from video file
FFMpeg Examples (Image):
- Convert video to GIF
- Convert video to images every ‘n’ time
Following permissions must be added to avoid IO exceptions:
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
- Add preview for ‘Extarct Images from Video’
Copyright (c) 2018 Muhammad Umair Adil
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.