Changes between Version 1 and Version 2 of Create a mosaic out of several input videos
- Timestamp:
- Jun 9, 2013, 12:52:28 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Create a mosaic out of several input videos
v1 v2 5 5 One 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: 6 6 7 [[Image( http://s15.postimg.org/jf26vul97/vlcsnap_2013_06_09_13h37m05s228.png)]]7 [[Image(mosaic1.png)]] 8 8 9 9 We 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): … … 35 35 What 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: 36 36 37 [[Image( http://s16.postimg.org/c034hnwqd/mosaic2.png)]]37 [[Image(mosaic2.png)]] 38 38 39 39 The filter graph, for this particular case, looks something like this: 40 40 41 [[Image( http://s2.postimg.org/f110cjus9/mosaic3.png)]]41 [[Image(mosaic3.png)]] 42 42 43 43 Now, let's get back to the command line we've used and lets explain it line by line:
