Changes between Version 1 and Version 2 of Create a mosaic out of several input videos


Ignore:
Timestamp:
Jun 9, 2013, 3:52:28 PM (3 years ago)
Author:
burek
Comment:

updated images to be local

Legend:

Unmodified
Added
Removed
Modified
  • Create a mosaic out of several input videos

    v1 v2  
    55One of the great features of ffmpeg filtering library is the ability to create overlays, allowing users to put one video over another. We can also use this feature to implement the mosaic video output, usually used in security surveillance systems. An example of what we are going to achieve in this tutorial is displayed in the following screenshot: 
    66 
    7 [[Image(http://s15.postimg.org/jf26vul97/vlcsnap_2013_06_09_13h37m05s228.png)]] 
     7[[Image(mosaic1.png)]] 
    88 
    99We can see one video, displaying 4 different inputs at the same time. This can be done using the following ffmpeg command line (which we'll explain in detail): 
     
    3535What we need to do, in this tutorial, is to overlay 4 input videos on top of the blank background video. The end result should look like this: 
    3636 
    37 [[Image(http://s16.postimg.org/c034hnwqd/mosaic2.png)]] 
     37[[Image(mosaic2.png)]] 
    3838 
    3939The filter graph, for this particular case, looks something like this: 
    4040 
    41 [[Image(http://s2.postimg.org/f110cjus9/mosaic3.png)]] 
     41[[Image(mosaic3.png)]] 
    4242 
    4343Now, let's get back to the command line we've used and lets explain it line by line: