mp4parser
mp4parser copied to clipboard
Issue In Merging video clips
HI, I am appending video clips using Append Example class but this time the issue I am facing after appending is videos append successfully but when I play that video only first clips runs and stuck the rest of all. Whats the problem please help me in it. Thanks
Hi, Google's ISO parser has some issues regarding merging different videos. I suggest you try this library instead, it's very easy to use: KotlinFFMpeg
Merge/Append Video Example:
val videoList = arrayListOf<File>(videoSmall1, video, video2)
VideoMerger.with(context!!)
.setVideoFiles(videoList) //Video Files list
.setOutputPath("PATH_TO_OUTPUT_VIDEO")
.setOutputFileName("merged_" + System.currentTimeMillis() + ".mp4")
.setCallback(this@MainActivity)
.merge()`