I'm looking for a command line video tool running on linux, which is scriptable, and it can give an output video with mosaic videos inside. The problem is, that the mosaic videos have to change inside the output. Imagine a 4*4 mosaic video, but there are more input videos than 16, so for example every 10 seconds I have to change a tile in the mosaic to another video.
I've found the command line VLC tool and avisynth which can generate mosaic output, but as I see they don't support the changing videos described above.
Does someone know other options?
Thanks in advance!