Question

I need to pragmatically merge/append 6 videos into a single one.

mp4Parser seemed to be a good solution but I have found no way of merging/appending more than 2 videos.

I get always this exception:

02-15 14:10:20.113: E/ERRORE(18781): java.io.IOException: 
Cannot merge 
VisualSampleEntry[com.googlecode.mp4parser.boxes.mp4.ESDescriptorBox@0] 
and VisualSampleEntry[com.googlecode.mp4parser.boxes.mp4.ESDescriptorBox@0]
Was it helpful?

Solution

As per Sebastian Annies suggestion, I have encoded the videos in H264 and now everything works fine!

I can append as many videos as I want.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top