How would I modify this ffmpeg command to include 4 videos?
- by Michael Shnitzer
Say I had 4 videos with the following names:
Main Video.mov
Top Left.mov
Top Right.mov
Top Mid.mov
and I wanted to have "Main Video" play with a picture in picture effect with boxes of videos playing in the top left, top right and top mid. Each box would have the video that is similarly named.
This command will do picture in picture for 2 videos, with one video in the lower right.
ffmpeg -i 2013-07-31\ 231548.MOV -vf "movie=2013-07-31\ 231722.MOV, scale=iw/5:ih/5 [small]; [in][small] overlay=main_w*0.77:main_h*0.77 [out]" -strict -2 output.mov
Can someone help me update this command to work with the 4 files I mentioned above?
Thanks