I am trying to overlay several videos on a split screen with different offset (audio, video and offset), initially I tried to compensate and overlay, as shown below.
avconv -i 1.webm -itsoffset 2 -s 640x480 -vf "movie=1.webm, scale=320:480 [vid2]; [vid2] overlay=0:0 [basis1]; [basis1][1] overlay=320:0" splitScreenOut.mp4
& offset video is offset:
movie=overlay.avi:seek_point=1.4
But this approach did not work at my end, -itsoffset offsets all video output and seek_point not recognized by my avconv construct.
Then I tried to compensate each video separately.
avconv -itsoffset 4 -i 1.webm -c copy tmp1.webm
& just overlay
avconv -i tmp1.webm -s 640x480 -vf "[in] scale=640/3:480, pad=3.01*iw:ih [video0]; movie=tmp2.webm, scale=640/3:480 [video1];[video0][video1] overlay=(640)/3:0 [VidO1]; movie=tmp3.webm, scale=640/3:480 [video2];[VidO1][video2] overlay=(640/3)*2:0 [out]" -b:v 768k Output.webm<
The problem is that all the videos are launched in split screen mode, from the offset of the first video, as if the individual correction did not work.
avconv
user1064504
source share