

Here’s what my command ended up looking like: I wanted a final resolution of 1920x1080. If we want to do a Brady Bunch grid we’re going to need to pass in nine videos and divide the square into thirds. In this case, we’re starting all videos from the same timestamp, PTS-STARTPTS which refers to the start of the video. The setpts filter sets the Presentation TimeStamp. Now, you can read the linked page if you want every detail, but the gist of it is, you pass in 1.avi, 2.avi, 3.avi, and 4.avi, and it gives them each a 320x240 section of a 640x480 window. Unfortunately, this meant I actually had to read through the documentation and untangle that horrid mess of a command to make it fit my application. However, the example in that link only has a 2x2 grid, and everyone knows that the Brady Bunch grid is 3x3. I did some googling and found out that it’s technically called a “mosaic” and it can be done with FFmpeg’s filter_complex. I’m using Ubuntu Linux 18.04, but FFmpeg runs on pretty much every operating system, so you should be OK with whatever.

I was bored one day and wanted to see if I could get this grid effect from FFmpeg. It’s pretty iconic and even if you haven’t seen the show you’ll probably recognize it as being from the Brady Bunch.

You’re probably familiar with the Brady Bunch grid of 9 faces that appears at the start and end of the show. Check out this stack overflow answer where user llogan provides a better way to accomplish this using hstack, vstack and xstack filters.
