Changes between Version 29 and Version 30 of FilteringGuide
- Timestamp:
- Mar 13, 2013, 6:15:16 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FilteringGuide
v29 v30 42 42 }}} 43 43 44 === multiple input overlay in 4x4grid ===44 === multiple input overlay in 2x2 grid === 45 45 Here four inputs are filtered together using the -filter_complex option. In this case all of the inputs are "-f lavfi -i testsrc" but could be other inputs. Within the filtergraph the first input is padded to the right and bottom by double its height and the other three inputs are individually filtered using hflip, negate, and edgedetect. The overlay filter is then used multiple times to arrange of latter three inputs on top of the first one. The offsets used in the overlay filter arrange the inputs into a grid shape. 46 46 … … 56 56 }}} 57 57 58 However an alternative, which also allows for white space within the filtergraph, and which may assist in clarity of reading complex graphs, is to enclose the whole filtergraph within double quotes " " thus: -58 However an alternative, which also allows for white space within the filtergraph, and which may assist in clarity of reading complex graphs, is to enclose the whole filtergraph within double quotes " " thus: 59 59 {{{ 60 60 ffmpeg -i input -vf "select=eq(pict_type,I)" output #to select only I frames
