I wanted to make a Video Editor application for Android. But I am not sure whether only FFMPEG is enough or not. In this application I want to add features like Trim, Split, Filter, Speed, Rotation, Transition, Text, Music etc. I think only FFMPEG is not enough, some other Library or Domain I have to know. Can any one help on this ?
Asked
Active
Viewed 114 times
0
-
ffmpeg is not a video editor, but it can do all of those features. – llogan Apr 18 '20 at 17:36
-
@llogan, do u think "Transition" is also possible with FFMPEG in Android App ? – Mahfuz Apr 19 '20 at 14:01
-
Yes, with the xfade filter. – llogan Apr 19 '20 at 18:57
1 Answers
0
ffmpeg
can do all of these:
- Trim:
-ss
and/or-t
/-to
options. trim and atrim filters. - Split: same as trim
- Filter: See FFmpeg Filters.
- Speed: setpts, atempo, rubberband filters
- Rotation: rotate, transpose, hflip, vflip filters.
-metadata rotate
option. Also see How to rotate a video with FFmpeg? - Transition: xfade filter
- Text: drawtext and subtitles filters. Also see Text on video ffmpeg.
- Music: add as input file and mux. amerge and amix filters. Also see How to overlay/downmix two audio files using ffmpeg?, FFMPEG mux video and audio (from another file)

llogan
- 121,796
- 28
- 232
- 243
-
@Ilogan, thank you. After covering all those areas of FFMPEG, do u think I also need to have knowledge on Android's MediaCodec or VideoCodec ? – Mahfuz Apr 23 '20 at 07:46
-
@Mahfuz Probably, if it can do any of the above you should prefer MediaCodec over ffmpeg as it may be faster. But I have no experience with that. ffmpeg can use MediaCodec for decoding, but not yet for encoding. – llogan Apr 23 '20 at 17:24