Skip to content Skip to sidebar Skip to footer

Ffmpeg Merging Two Videos (concatenation)

I have been trying to merge (concatenate) two mp4 videos with same height and width but some error occurs . The code is : FFmpeg ffmpeg = FFmpeg.getInstance(EditVideoActivity.this)

Solution 1:

Instead of your current :

ffmpeg.execute("ffmpeg -f concat -i " + list + " -c:v copy " + mergedVideo.getAbsolutePath(), newFFmpegExecuteResponseHandler() {

Try using it like this :

ffmpeg.execute("-f concat -i " + list + " -c:v copy " + mergedVideo.getAbsolutePath(), newFFmpegExecuteResponseHandler() {

Post a Comment for "Ffmpeg Merging Two Videos (concatenation)"