Two video play same time with collageView using ffmpeg. I have code but it's not work properly please help me.
-ss " + getStartTime() + durationTime_act_select +getVideoUrl() +
" -ss " + getStartTime() +
" -t " + this.durationTime_act_select +
" -i " + getVideoUrl() +
" -i " + "R.jpg" +
" -filter_complex nullsrc=size=720*720[base1];" +
"[0:v]setpts=PTS-STARTPTS,scale=345*700[upperleft];" +
"[1:v]setpts=PTS-STARTPTS,scale=345*700[upperright];" +
"[2:v]setpts=PTS-STARTPTS,scale=720*720[over];" +
"[base1][over]overlay=shortest=1:x=0:y=0[base];"+
"[base][upperleft]overlay=shortest=1:x=10:y=10[tmp1];" +
"[tmp1][upperright]overlay=shortest=1:x=366:y=10" +
" -c:a copy -strict experimental -ss 0 -t " + this.durationTime_act_select + " -preset ultrafast -an " +videoName_act_select